Import Markdown Files and Folders into Confluence

Docs written in Markdown, from a Git repository, a static site or an AI tool, need a route into Confluence. Confluence Cloud does not import .md files on its own.

The gap

Confluence Cloud imports Word documents and migrates whole spaces from other wikis, but it has no option to import a Markdown file, let alone a folder of them. Teams moving README files, runbooks or a docs-as-code folder into Confluence usually copy pages one at a time, or write a script against the REST API that converts Markdown to Confluence storage format and uploads images separately.

What a folder import needs to handle

  • Folders become parent pages, so the page tree matches the folder tree.
  • An index.md or README.md becomes the folder's own page instead of an extra child.
  • Relative image links are uploaded as attachments and shown on the page.
  • YAML front matter maps to a Page Properties table and labels.
  • Pages whose titles already exist are replaced with a new version, so history is kept, rather than duplicated.

Steps

  1. Zip the docs folder, or select the .md files and their images.
  2. Open the importer in Confluence and choose the target space and parent page.
  3. Upload. The preview shows the page tree, which files become parents and which images attach where.
  4. Fix anything the preview flags, then import and check a few pages in the editor.

Converting a single AI answer instead? See putting ChatGPT or Claude output into Confluence. Moving a GitHub wiki? See migrating a GitHub wiki to Confluence Cloud.

Do it in one step

AI Markdown Importer for Confluence imports a folder or ZIP of Markdown as a page tree, with images as attachments and front matter as page properties. Single files are free; folder and ZIP import is US$20/month for sites with up to 10 users after a 30-day free trial, billed by Atlassian.

See AI Markdown Importer for Confluence