Skip to end of metadata
Go to start of metadata

You can export all or part of a Confluence space to various formats, including Microsoft Word, HTML, PDF and XML.

To use the space export functionality, you need the 'Export Space' permission. See the guide to space permissions.

Export single pages to PDF

If you need to send content to people who don't have access to Confluence, you can export a single page or blog post as a PDF. 

If you've got permission to view the page in Confluence, you'll be able to export it in this way; go to the page and choose  (Tools) > Export to PDF.

Only published content is 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 any PDF layout customizations are not. 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 Export Content to Word, PDF, HTML and XML.

Export single pages to Word

You can also choose to export single pages to a .doc file that can be opened in Microsoft Word.

If you've got permission to view the page in Confluence, you'll be able to export it in this way; go to the page and choose Tools > Export to Word.

Only published content is exported. This means you can create Word exports even while people are still working on the page.  Also, only the first 50 attached images will be included in the export. See the notes below for more information. 

Note that due to the format of this file, it can only be opened in Microsoft Word and is not compatible with other applications such as Open Office, Libre Office or Google Docs. 

Export multiple pages to HTML, XML, or PDF

If you want to export a space – or selected pages in a space – to HTML, XML, or PDF, Confluence can create a zipped archive of the HTML or XML files, or a single, downloadable PDF file.

PDF export is useful you're producing a printable user manual from your documentation space for example. The HTML export can be used to convert your site content to a static website, and finally the XML export can be used to import your space content into another Confluence space (running the same or later version of Confluence). 

To export pages to HTML, XML, or PDF:

  1. Go to the space and choose Space tools > Content Tools from the bottom of the sidebar
  2. Choose Export
  3. Select either HTML, XML, or PDF, then choose Next
  4. Select 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 do not have permission to view.
    • Custom Export – if you want to export selected pages only, or if you want to exclude comments from the export.
  5. Choose Export

When the export process has finished, you can download the zipped archive or PDF.

What's included in the export?

The following content is included in space exports.

Export typePagesBlogsCommentsAttachmentsUnpublished changes
PDFYesNoNoImages onlyNo

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 Export Content to Word, PDF, HTML and XML.

Notes on PDF exporting

  • To export a PDF containing international text, see Export Content to Word, PDF, HTML and XML
  • 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.
  • Tables that exceed the width of a page, particularly those with images in them, might be cut off in the PDF. See Wide tables are cut off in PDF exports for some suggested workarounds. 

  • In Confluence Data Center, PDF exports are handled by the external process pool

Notes on Word exporting

  • Only the first 50 images attached to the page are exported to your Word document. This is to prevent out of memory errors affecting your whole Confluence site. See 

    Error rendering macro 'jira'

    Unable to locate Jira server for this macro. It may be due to Application Link configuration.

     for more information, and to find out how you can temporarily increase this limit using a system property

Notes on HTML exporting

  • In the zip file, page attachments are placed in individual folders with names in the following format:
    where 'xxxxxx' is the page ID of the page containing the attachments.
  • To customize the HTML output, you'll need to modify the file confluence-x.y.z-jar/com/atlassian/confluence/pages/Page.htmlexport.vm. To learn how to repackage this file, see How to Edit Files in Confluence JAR Files

Notes on XML exporting

  • You can only import a space into the same or later Confluence version. You can't import a space into an earlier version.
  • Team Calendars aren't included in XML exports. 
  • If you're doing the export for backup purposes, consider another means of backup. See Export Content to Word, PDF, HTML and XML.
  • 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.
  • See Export Content to Word, PDF, HTML and XML for notes on restrictions when importing a space into Confluence Server.
  • No labels