Confluence 5.6 has reached end of life
Check out the [latest version] of the documentation

Page tree
Skip to end of metadata
Go to start of metadata

You can export part of, or the entire contents of, a Confluence space into a zipped archive of XML files and attachments. This is useful if you want to make a backup of the space, or import the space into another Confluence site, or use the data from the space in another application.

To export a space or pages to XML, you need the 'Export Space' permission. See Space Permissions.


To export pages or an entire space to XML:

  1. Go to the space and choose Space tools > Content Tools on the sidebar. 
  2. Choose Export 
    Note: This option will only be visible if you have the 'Export Space' permission.
  3. Select XML then choose Next.
  4. Decide whether you need to customise the export:
    • Select Full Export to produce an XML file containing all the pages in the space, including those that you do not have permission to view.
    • Select Custom Export if you want to export a subset of pages, or to exclude comments from the export.
  5. Select Include Comments if you want to include comments made on the pages you are exporting.
  6. Select the pages you want to export.
    • You have the option to Select All or Deselect All pages.
    • When you select a page, all its child pages will also be selected. Similarly, when you deselect a page all its child pages will also be deselected.
  7. Choose Export. This will create a zipped archive of XML files and attachments.
  8. When the export process has finished, download and save the zipped archive file as prompted.

If your space uses the Documentation theme:

  1. Choose Browse > Space Operations.
  2. Choose XML Export from the left-hand panel.
  3. Follow the steps above to export the space.

Screenshot: Exporting a space


If you are running Confluence behind Apache HTTP Server and are facing timeout errors, please consider creating the export directly from Tomcat, instead of going through Apache. This will speed up the process and prevent timeouts.

  • No labels