The confluence-markdown-exporter exports Confluence pages in Markdown format. This exporter helps in migrating content from Confluence to platforms that support Markdown e.g. Obsidian, Gollum, Azure DevOps (ADO), Foam, Dendron and more.
What it does
Exports individual pages, pages with descendants, folders, or entire Confluence spaces via the Atlassian API into clean Markdown. Skips unchanged pages by default, re-exporting only what has changed since the last run.
Supported targets include Obsidian, Gollum, Azure DevOps (ADO) wikis, Foam, Dendron, and anything else that consumes Markdown.
Full feature list, configuration reference, and target-system presets live in the documentation site.
Quickstart
1. Install
macOS and Linux
curl -LsSf uvx.sh/confluence-markdown-exporter/install.sh | sh
Windows
powershell -ExecutionPolicy ByPass -c "irm https://uvx.sh/confluence-markdown-exporter/install.ps1 | iex"
Installing a specific version:
curl -LsSf uvx.sh/confluence-markdown-exporter/5.5.0/install.sh | sh
Alternative install methods (PyPI via pip / uv, prebuilt Docker image) are covered in the installation docs and the Docker page.
Using the Docker image? Steps 2 and 3 below use the local
cmeCLI. Inside the Docker image there is no interactivecme configmenu; you supply a pre-defined config (mounted JSON file orCME_*environment variables) and run a single export command per container invocation. See the Docker page for the non-interactive flow.
2. Authenticate
Set Confluence credentials interactively (URL, username, API token / PAT):
cme config edit auth.confluence
See Authentication for token scopes and Jira setup.
3. Export
# A single page
cme pages <page-url>
# A page and all its descendants
cme pages-with-descendants <page-url>
# All pages in a folder (Confluence Cloud)
cme folders <folder-url>
# An entire space
cme spaces <space-url>
# Every space of an organisation
cme orgs <base-url>
Output goes to the configured export.output_path (current directory by default).
Documentation
The full documentation lives at https://spenhouet.github.io/confluence-markdown-exporter/ and includes:
- Installation (curl / PowerShell / pip / uv)
- Usage guide: pages, descendants, folders, spaces, orgs, output layout
- Feature list: supported Confluence content, macros, and add-ons
- Configuration: config commands, ENV vars, full option reference
- Target-system presets: Obsidian, Azure DevOps, …
- Docker: prebuilt images for non-interactive / CI use
- CI / non-interactive use
- Compatibility and Troubleshooting
Contributing
If you would like to contribute, please read our contribution guideline.
License
This tool is an open source project released under the MIT License.
Metadata
Release files for confluence-markdown-exporter 5.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| confluence_markdown_exporter-5.5.0.tar.gz | 415.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| confluence_markdown_exporter-5.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 511.5 kB
Release files / confluence_markdown_exporter-5.5.0.tar.gz
| Download URL | confluence_markdown_exporter-5.5.0.tar.gz |
|---|---|
| Size | 415.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c94c7026b0886c652dd294a16cb8d7535f2a7896b4f7d7c3841ff558568156db
|
|
BLAKE2b-256 checksum How to use checksums |
b20657a7aa4ad69175eecce31577770ac12f661fc577102176bc1366356df3ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / confluence_markdown_exporter-5.5.0-py3-none-any.whl
| Download URL | confluence_markdown_exporter-5.5.0-py3-none-any.whl |
|---|---|
| Size | 96.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7035feb20e59874d3a78422bf47e1a3802eeb86b9d0d0f2b8a1d014c503fdaba
|
|
BLAKE2b-256 checksum How to use checksums |
b742f2b97de80ced3061005d73de140db91d2b5ea1aedd16a477dec7c0fe6540
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|