Skip to end of metadata
Go to start of metadata

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.


  • 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.

(warning) The information on this page does not apply to Confluence OnDemand.

To import text files:

  1. Go to the space and choose Space tools > Content Tools on the sidebar. 
  2. Choose Import. 
  3. Type the your directory path into the Import directory box.
  4. 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.
  5. Select Overwrite existing pages if you want to replace existing Confluence pages that have the same page title as one you are importing.
  6. Choose Import.

If your space uses the Documentation theme:

  1. 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).
  2. Choose Import from the space administration options.
  3. Follow the steps above.

Confluence will place the new pages at the root of the space. 

Screenshot: Importing text files

  • No labels