confluence atlassian word markdown wiki

Word to Confluence Markdown: Import Docs into Your Team Wiki

How to convert Word documents to Markdown and import them into Confluence. Covers Confluence's Markdown support, formatting differences, and the best import workflows.

W
WordToMD Team
·

Confluence is one of the most widely used team wikis, and many organizations have libraries of Word documents that belong in Confluence. Converting those documents cleanly is trickier than it looks — Confluence’s Markdown support has quirks. This guide shows you the most reliable Word to Confluence workflow.

Does Confluence Support Markdown?

Confluence has partial Markdown support, but it’s implementation-dependent:

  • Confluence Cloud supports the Markdown macro and can render Markdown in certain contexts, but the native editor is its own format
  • Confluence Data Center / Server also has a Markdown macro
  • Atlassian Rovo / New Editor — newer versions have improved Markdown paste support

The most reliable method across all versions is to convert Word to Markdown with WordToMD, then paste the Markdown content using Confluence’s Markdown import feature.

Method 1: Paste Markdown via Confluence Editor

Steps

  1. Convert your Word document at WordToMD and click “Copy Markdown”
  2. In Confluence, open the page editor
  3. From the Insert menu (+ icon), select “Markup” or “Other Macros → Markup”
  4. Choose “Markdown” as the language
  5. Paste the Markdown content
  6. Click Insert

The Markup/Markdown macro renders the content as rich text within the page. It doesn’t convert to native Confluence blocks, but it renders headings, tables, and lists correctly.

Method 2: Word File Import

Confluence Cloud has a Word import feature:

  1. Create a new Confluence page
  2. Click the … menu → Import Word Document
  3. Select your .docx file

This works for simple documents but tends to lose complex formatting. The Markdown route gives more control.

Method 3: Convert to HTML

Some teams prefer HTML as the intermediate format because Confluence’s editor accepts HTML paste:

  1. Convert your Word doc to Markdown with WordToMD
  2. Convert the Markdown to HTML using an online tool or marked library
  3. Switch to the Confluence Source Editor (Ctrl+Shift+D or from the toolbar)
  4. Paste the HTML

This approach preserves more complex formatting but is more steps.

Formatting Compatibility

ElementMarkdownConfluence Rendering
Headings H1-H6✅ Renders correctly
Bold / Italic✅ Renders correctly
Bulleted lists✅ Renders correctly
Numbered lists✅ Renders correctly
Tables✅ Via Markdown macro
Code blocks✅ Via Markdown macro
Hyperlinks✅ Renders correctly
Images⚠️ External URLs only⚠️ Inline attachments need manual upload

Handling Tables

Word tables convert to GFM pipe syntax via WordToMD. Confluence’s Markdown macro renders these correctly:

| Project | Owner | Status |
|---|---|---|
| Website redesign | Alice | In progress |
| API migration | Bob | Complete |

For more complex table operations, see Markdown Tables: A Complete Guide.

Code Blocks in Confluence

Confluence has its own Code Block macro that offers syntax highlighting and line numbers. After importing Markdown content, you may want to replace code blocks from the Markdown macro with native Confluence Code Block macros for better readability:

  1. Edit the page
  2. Find the code section
  3. Insert a Code Block macro
  4. Set the language for syntax highlighting
  5. Paste the code

Reference: Markdown Code Blocks Guide for the standard syntax.

Atlassian Confluence and ADF

Confluence Cloud natively uses Atlassian Document Format (ADF) — a JSON schema for rich content. The Markdown macro sits on top of this. For programmatic imports, the Confluence REST API accepts ADF directly. If you’re building an automated pipeline, convert Word → Markdown → ADF using available libraries.

For most teams, the manual workflow is simpler and faster.

Migrating a Document Library

If you’re migrating dozens of Word documents to Confluence:

  1. Convert all files using WordToMD (or batch with Pandoc for large volumes)
  2. Create a Confluence space and plan the page hierarchy
  3. Import pages in sections, grouping related documents under parent pages
  4. Add Confluence-specific features after import: labels, page restrictions, @mentions

FAQ

Can I use Markdown natively in Confluence without the macro? In some configurations of Confluence Cloud with the New Editor, you can type Markdown shortcuts and they auto-convert (e.g., typing ## creates an H2). But for pasting converted documents, the Markdown macro is more reliable.

My heading formatting is lost after import — everything looks like body text. This usually means the Markdown macro isn’t active. The Markdown must be inside a Markup/Markdown macro block, not pasted as plain text into the standard editor.

Tables are showing as raw pipe characters. Same issue — the content must be inside a Markdown macro, not in the standard text editor.

Is there an automated way to sync Word docs to Confluence pages? Yes — tools like Confluence’s “External Documents” feature, Scroll Versions, or custom scripts using the Confluence REST API can sync Markdown files to pages automatically.

Conclusion

The cleanest Word to Confluence workflow is: convert with WordToMD, then import via the Markdown macro. For complex documents or bulk migrations, the HTML intermediate approach or REST API automation gives more control. Either way, proper use of Word’s heading styles before conversion ensures the page hierarchy comes through intact.