Article

# How to Migrate Confluence to Markdown and Keep the Structure

Alexander Machulin·March 6, 2025·2 min read

If you need to move documentation from Confluence to Markdown, it's important not only to export the text but also to keep the section structure, images and a clear path to publishing.

Teams usually migrate Confluence to Markdown in two cases: when they want to stop depending on a single platform, and when documentation needs to live in Git so it can be versioned, reviewed and published like regular content. In the second case Markdown is especially convenient, because the files open in any editor and don't depend on Confluence's internal format.

In Gramax, you can migrate pages from Confluence to GitLab or GitHub in just a few clicks:

1.  Open [app.gram.ax](https://app.gram.ax/) and on the main page click _Add catalog_, then select _Import from another system_.
2.  Log in to your Confluence account.
3.  Choose the space you want to migrate and click _Import_.

Gramax will transfer all Confluence pages while preserving their hierarchy. Each page becomes an article — a Markdown file. After that, you can [publish the catalog to your Git repository](https://gram.ax/resources/docs/en/quick-start/publish-repository) — either GitLab or GitHub.

## What migrating Confluence to Markdown gives you

*   **Your content stays with you in ordinary files.** You can read, edit and move it without depending on Confluence.
*   **Documentation gets closer to development processes.** Markdown files are easy to store in Git, discuss in pull requests and publish via CI/CD.
*   **It's easier to build a single source of truth.** The same content can serve both as an internal knowledge base and as the basis for an external documentation portal.

Which elements won't be migrated?

Gramax transfers only standard content: text, notes, tables and images. Confluence-specific elements such as frames, charts and Jira tasks won't be migrated — instead, a note with a link to the original Confluence page will be left in the article.

Read more in the [documentation](https://gram.ax/resources/docs/en/catalog/migration/confluence).

If, after the migration, your team needs a familiar Confluence replacement — with spaces, access rights and search, — see how Gramax works as a [Confluence alternative](https://gram.ax/solutions/confluence-alternative).

## AI knowledge base inside your company network

Confluence import, corporate SSO, access control, AI search on your own model, and employee training. Readers need no extra licenses

[Migrating from Confluence to Gramax](https://gram.ax/solutions/confluence-alternative)

[Pricing](https://gram.ax/pricing) [Explore Gramax](https://gram.ax/)
