Can you change a Confluence space key?
On Confluence Cloud, yes. You have been able to since late 2024, on every edition including Free. Most of the answers you will find still say you cannot, because they were written before that and never updated.
The short answer
| What you want | Can you? |
|---|---|
| Change the space key on Cloud | Yes. Space settings, as a product admin |
| Change the space name | Yes, always could. Different field, same screen |
| Give a new space a key an old space once used | No, unless that space is deleted and purged |
| Change the key on Server or Data Center | No. This is a Cloud feature |
How to do it
As a product admin for Confluence, open the space, then Space settings → Manage space → Space details. Choose Edit space details, type the new key into the Space key field, and save.
The old key redirects to the new one, so existing links and bookmarks keep working rather than breaking.
Product admin, not space admin. This is the step that stops most people. Being an administrator of the space is not enough: renaming a key needs Confluence product administration rights for the whole site. If the field is missing or read-only for you, that is almost certainly why, and the fix is to ask a site administrator rather than to go looking for a plugin.
Four limits worth knowing before you start
- About ten changes per space. Atlassian's rollout notes describe a cap on how many times a single space's key can be changed. It is high enough that nobody hits it by accident and low enough to rule out using renames as a routine workflow.
- You cannot take a key another space has used unless that space has been deleted and purged from the trash. Renaming the old space does not release its old key. This is the one that disappoints people, and there is more on it below.
- A space can return to a key it used itself. If you rename and regret it, you can go back.
- Underneath, it is an alias. The visible key changes; the internal identifier Confluence generated when the space was created does not. For almost every purpose this is invisible and does not matter. It matters if you are writing against the REST API, which is covered at the bottom.
Why everyone says you cannot do this
Search this question and you will get a decade of confident answers saying it is impossible, including, at the time of writing, an Atlassian knowledge base article that explains the export-edit-reimport workaround people used to need.
They were right when written. Renaming space keys was one of the longest-running requests on Atlassian's public tracker, open since the 2000s, and it was finally delivered to Cloud in late 2024. Server and Data Center never got it, which is a second source of confusion, because roughly half the results for this question are about a product where the answer is still no.
If you are mid-migration, read this twice. Because the rename is an alias over an unchanged internal identifier, a key that looks free on Cloud may not behave as free during an import from Server or Data Center. Test the migration on a sandbox site before assuming a renamed key has released anything.
The case this does not solve
Most people arriving at this question do not actually want a rename. They want something like this:
"DOCS is a four-year-old space full of material nobody has read since
2023. I want a clean DOCS space for the current product, and I want to
keep the old content somewhere."
Renaming does not do that, and the reason is limit 2. Rename the old space to
DOCSARCHIVE and DOCS is not released. It stays spoken
for by a space that has used it, and a new space cannot claim it unless you delete and
purge the old one, which means permanently destroying the content you were trying to
keep.
So the realistic options are:
| Option | Cost |
|---|---|
| Keep the old space on its key, and give the new one a different key | Free. The key you wanted goes to the wrong space |
| Export the old space, delete and purge it, then create the new one on the freed key | Free, and irreversible. A purge cannot be undone |
| Archive the old space instead of deleting it | Free. It stays out of search and navigation, but it still holds the key |
| Copy the old space's content into a new space, then keep working in the original | The key stays where it is and nothing is destroyed |
The last row is usually the right answer and the least obvious one. You keep the key, keep the history and keep the content, and the thing that moves is the material rather than the identifier.
Clone Space for Confluence does that copy: every current page in the same hierarchy, attachments, labels, the space permissions on any plan, and internal links and macro references repointed so the new space stands alone. It shows a free report of what it will and will not copy before writing anything, holds no delete permission at all, and runs entirely on Atlassian. Free for up to ten users.
If you work with the API
Three things follow from the rename being an alias, and they catch out integrations rather than people:
- Use the space ID, not the key. Atlassian's own guidance. The ID is stable; a key is now something a product admin can change on a Tuesday.
- Do not store keys you have read. The one you cached may not be the one a user sees today.
- Do not parse keys out of URLs. Read them from the space API instead. Filtering spaces by key does accept the renamed value, so lookups keep working, but the key a space reports is not necessarily the one displayed.
Frequently asked
Does renaming the key break existing links?
No. The old key redirects to the new one.
Does it change the space name?
No. Name and key are separate fields on the same screen. The name is what people read;
the key is what appears in URLs and in references like ri:space-key.
Can I do this on the Free plan?
It was announced for all editions. You still need product admin rights, which on a small Free site is usually whoever set it up.
Will it move my content?
No. Nothing moves and nothing is copied. Only the identifier changes.
Can I change a space key on Server or Data Center?
No. There is no supported way, and the export-edit-reimport workaround is the only route. On Data Center, note that Copy Space exists natively under space tools, so copying to a new key is the easier path there.