You can export all or part of a Confluence space to various formats, including Microsoft Word, HTML, PDF and XML.
The page orientation of the standard exports to Word and PDF is portrait mode. To change the orientation of the exported document, you'll need to customize the export function.
To use the space export functionality, you need the 'Export Space' permission. See the guide to space permissions.
Export single pages to Word or PDF
To send content to people who don't have access to Confluence, you can export a single page as a Word document or a PDF. You can also export a single blog post to PDF.
To export, go to the page and choose either> Export to Word or > Export to PDF.
Only published content is exported; draft versions with unpublished changes can't be exported. This means you can create PDF exports even while people are still working on the page.
When you export a single page to PDF, the PDF stylesheet customizations are applied but PDF layout customizations aren't. To make your PDF layout customizations apply to a single page exported to PDF, you'll need to use the 'multiple page' method described below to export the single page. See Customize Exports to PDF.
Due to the format of exported Word files, they can only be opened in Microsoft Word and aren't compatible with other applications like Open Office, Libre Office, or Google Docs.
Export to HTML, XML, or PDF
You can export a space, or selected pages in a space, to HTML, XML, or PDF. Confluence will create a zipped archive of the HTML or XML files, or a single, downloadable PDF file.
The HTML export is useful if you want convert your space into a static website, and the XML export option works if you need to import the space into another Confluence site or use the data from the space in another application. You can use the PDF option if you're producing a user manual from your technical documentation in Confluence.
To export pages to HTML, XML, or PDF
- Click on the space name in the navigation, and click , then click the Space SettingsContent tools tab
- Click Export
- Select either HTML, XML, or PDF, then hit Next
- Choose either a normal or custom export for HTML or PDF, or a Full or Custom XML export:
- Normal Export (HTML and PDF) – to produce an HTML file containing all the pages that you have permission to view.
- Full Export (XML) – to produce an XML file containing all the pages in the space, including those that you don't have permission to view.
- Custom Export – if you want to export selected pages only, or if you want to exclude comments from the export.
- Click Export
When the export process has finished, you can download the zipped archive or PDF.
- Blog posts aren't included when exporting to PDF using this method, and comments are never included when exporting to PDF.
- XML exports do not include Team Calendars. See this Community post for tips on exporting and importing Calendars.
Customizing the appearance of PDF exports
You can add a title page, table of contents, and customized headers and footers to the PDF output. For more advanced customizations, you can apply Cascading Style Sheet (CSS) modifications. These customizations are specific to each space, and you need the 'Space Administrator' permission to apply these customizations. For more information, see Customize Exports to PDF.
Notes on PDF exporting
- To export a PDF containing international text, see Create a PDF in Another Language
- Confluence's PDF export feature is designed to handle a wide variety of content, but on rare occasions the PDF Export process may fail due to an unrecognized customization. If that happens, the PDF export screen will indicate the title of the page in which the problem occurred, to help you diagnose the cause of the failure.
Notes on HTML exporting
- In the zip file, page attachments are placed in individual folders with names in the following format:
xxxxxx'is the page ID of the page containing the attachments.
- Blog posts aren't included in the HTML export. See the feature request: - CONFCLOUD-14684Getting issue details... STATUS
Notes on XML exporting
- See Importing a Confluence Space for notes on restrictions when importing a space to Confluence Cloud.
Taking this export to Confluence Server? For best results, we recommend:
- asking a Site Admin to perform the export, so that email addresses are always included, regardless of the user's profile visibility settings.
- importing the space into Confluence 6.15.4 and later, or selected Enterprise Release versions, so that email address matching is available.
This will avoid content being attributed to ‘unknown user’ after the import. Learn more
Migrating content from server to cloud
If you're migrating from Confluence Server to Confluence Cloud, you can use the Confluence Cloud Migration Assistant to migrate your content and spaces.