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.mdorREADME.mdbecomes 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
- Zip the docs folder, or select the .md files and their images.
- Open the importer in Confluence and choose the target space and parent page.
- Upload. The preview shows the page tree, which files become parents and which images attach where.
- 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