Confluence allows you to export part of, or the entire contents of, a space into a zipped archive of HTML files. This is useful if you want convert your space into a static website.
To export pages to HTML:
Go to a page in the space, open the 'Browse' menu and select 'Advanced'.
- Click 'HTML Export' in the left-hand panel.
This option will only be visible if you have 'Export Space' permission.
- Select the check box 'Include Comments' if you want to include comments for the pages you are exporting.
- 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 'Select All' or 'Deselect All' pages.
If you select the check box of a page that contains one or more child or descendant pages, all of these child and descendant pages will also be selected. Similarly, if you clear the check box of such a page, all of its child and descendant pages will also be cleared. This provides a convenient method of exporting subtrees, for example, chapters or sections within a document.
- Click 'Export'. This will create a zipped archive of HTML files.
- When the export process has finished, download the zipped archive as prompted and extract the files into a folder.
Screenshot above: Selecting pages to export
- Page attachments are placed in individual folders with names in the following format:
xxxxxxis the page ID of the page containing the attachments.
- By default, the 'Space Details' page is exported as
index.htmland displays the space's details as well as a list of all available pages within it.
- Blog posts are not included in the HTML export. See the feature request: CONF-14684.
Take me back to the Wikis Help Guide.