Confluence Markdown Exporter

Export Confluence pages to Markdown for Obsidian, Gollum, Azure DevOps, Foam, Dendron and more.
What it does¶
-
One-command install
A single curl/PowerShell line installs an isolated, self-updating CLI via
uv. No virtualenv juggling. -
Pages, spaces, orgs
Export a single page, a page subtree, an entire space, or every space in your Atlassian organisation.
-
Incremental by default
Skips unchanged pages using a lockfile. Re-runs export only what actually moved since last time.
-
Target presets
Pre-baked configurations for Obsidian (wiki links, Dataview, Meta Bind) and Azure DevOps wikis (sanitized filenames, attachments folder).
-
Macros and add-ons
Status badges, panels, page properties, draw.io, PlantUML, Mermaid, include/excerpt: all converted to portable Markdown.
-
Cloud and Server
Works against Confluence Cloud, the Atlassian API gateway, and on-premise Server / Data Center. API tokens, PATs and scoped tokens are all supported.
Get going in 60 seconds¶
Install, authenticate, export. That is the whole flow.
1. Install¶
2. Authenticate¶
Inside a container there is no interactive menu: generate the config on a workstation, then mount it (or pass CME_AUTH__* env vars). See the Docker page.
3. Export¶
# A page, a subtree, an entire space, or every space of an org:
cme pages https://example.atlassian.net/wiki/spaces/SPACE/pages/123/Title
cme spaces https://example.atlassian.net/wiki/spaces/SPACE
cme orgs https://example.atlassian.net
Detailed setup and per-target presets live in the installation docs.