This documentation relates to an earlier version of Confluence.
View this page in the current documentation or visit the current documentation home.

Skip to end of metadata
Go to start of metadata

Confluence allows you to export a single page, a part of a space, or an entire space into a single PDF file. This page explains how you can export individual pages or sections of spaces to PDF in Confluence.

On this page:

Exporting Single Pages

You can export a single page in Confluence to PDF:

  • Go to a page in the space, open the 'Tools' menu and select 'Export to PDF'. The process will begin, and you will be prompted by a series of dialog boxes.

Exporting Multiple Pages or the Entire Space

To export to PDF, you will need 'Export Space' permission which is assigned by a space administrator from the Space Administration screens. See Space Permissions or contact a space administrator for more information.

To export to PDF,

  1. Go to the 'Advanced' view for the space. To do this:

    • Go to a page in the space, open the 'Browse' menu and select 'Advanced'. The 'Advanced' view will open.
  2. Click 'PDF Export' in the left-hand panel.
    This option will only be visible if you have the 'Export Space' permission.
  3. Select the pages you want to export by selecting the check boxes in the tree view of pages displayed. By default, all pages are selected. You have the option to 'Check All' or 'Clear All' pages. See screenshot below.
    (info) If you select the check box of a page that contains one or more child or descendent pages, all of these child and descendent pages will also be selected. Similarly, if you clear the check box of such a page, all of its child and descendent pages will also be cleared. This provides a convenient method for exporting subtrees (for example, chapters or sections) of the entire documentation within a space.
  4. Click 'Export'.
  5. Download and save the PDF file as prompted. Click or double-click the PDF file name to open it.

Notes

Icon


Only image attachments which have been inserted into a page are included when exporting to PDF.

To export a PDF containing international text, you need to install a Unicode font in Confluence.

Blog posts are not included within the PDF export. Please cast your vote towards this feature request.

Screenshot: Selecting pages to export

Icon

If you have 'Space Administrator' permissions, the link to customise the PDF Stylesheet is provided at the top of the page tree, as shown in the image above.

Icon

Confluence's PDF Export feature is designed to handle a wide variety of content. However, in the unlikely situation that the PDF Export process fails, perhaps due to a mishandled customisation, 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.

Customising the Appearance of PDF Exports

Icon

Due to the hierarchical manner in which a space is exported, Confluence will modify the <hN> tags to generate a uniform appearance for the entire space export. This means that headings will be demoted and will affect the application of custom PDF Stylesheets. It is possible to calculate the amount by which a heading will be demoted so as to have the correct CSS styling applied; A heading will be demoted by the value of its depth in the export tree, so a page at the first level will be demoted by 1 (all <h1>'s will become <h2>'s etc.), a page at the second level will be demoted by 2 and so on.

Confluence's PDF Export feature provides output customisation via Cascading Style Sheet (CSS) modifications. It also provides the ability to add a Table of Contents listing and customised headers, footers and a title page to exported documents too. These customisations are specific to each space in a Confluence installation and require the 'Space Administrator' permission to implement. For more information about implementing PDF Export customisations, see Editing the PDF Stylesheet.

RELATED TOPICS

Create PDF in another language
Confluence to HTML
Confluence to XML
Editing the PDF Stylesheet

Take me back to the Confluence User's Guide.