Confluence allows you to import text files from a directory on the Confluence server, and convert them into Confluence pages. Each file will be imported as a separate Confluence page with the same name as the file.
Notes:
- The text file may contain plain text, HTML or Confluence Storage Format.
- You need to be logged in as a System Administrator to import text files.
- You can import pages from disk into site spaces, but not into personal spaces. Please see Working with Spaces for information about differences between site spaces and personal spaces.
To import text files:
- Go to the space and choose Space tools > Content Tools on the sidebar.
- Choose Import.
- Type the your directory path into the Import directory box.
- Select Trim file extensions to remove file extensions from the page titles when converting the files to Confluence pages. Note that the Confluence pages will take their titles from the files' names (including their extensions). To avoid having page titles with a suffix like '.txt' check this box.
- Select Overwrite existing pages if you want to replace existing Confluence pages that have the same page title as one you are importing.
- Choose Import.
If your space uses the Documentation theme:
- Choose Browse > Space Admin at the top of the screen.
Note: The 'Space Admin' option appears only if you are a space administrator for the space or you are a super user (a member of the confluence-administrators
group). - Choose Import from the space administration options.
- Follow the steps above.
Confluence will place the new pages at the root of the space.
Screenshot: Importing text files
