Skip to main content

A tool to export Confluence pages to Markdown

Project description

confluence-markdown-exporter

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.

Build Python package Build and publish to PyPI PyPI version Docker Hub version Documentation

What it does

Exports individual pages, pages with descendants, 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.2.1/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 cme CLI. Inside the Docker image there is no interactive cme config menu; you supply a pre-defined config (mounted JSON file or CME_* 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>

# 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:

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

confluence_markdown_exporter-5.2.1.tar.gz (502.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

confluence_markdown_exporter-5.2.1-py3-none-any.whl (78.7 kB view details)

Uploaded Python 3

File details

Details for the file confluence_markdown_exporter-5.2.1.tar.gz.

File metadata

  • Download URL: confluence_markdown_exporter-5.2.1.tar.gz
  • Upload date:
  • Size: 502.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.22 {"installer":{"name":"uv","version":"0.11.22","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}

File hashes

Hashes for confluence_markdown_exporter-5.2.1.tar.gz
Algorithm Hash digest
SHA256 ee270e5554dee01e466dd6c6d917a8f883a365aed1492af139efb3469267cb9a
MD5 c4c7b7820528d1533e2706f90b7631ad
BLAKE2b-256 c6b8fd7ecb51d3072752b30e83e7f66acccda18d593d8ee54674293786a9e8b8

See more details on using hashes here.

File details

Details for the file confluence_markdown_exporter-5.2.1-py3-none-any.whl.

File metadata

  • Download URL: confluence_markdown_exporter-5.2.1-py3-none-any.whl
  • Upload date:
  • Size: 78.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.22 {"installer":{"name":"uv","version":"0.11.22","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}

File hashes

Hashes for confluence_markdown_exporter-5.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 343504c53db7e90509f8e0381e5969df5fe9a8a1e4d782d36e68788dff7553f9
MD5 3b4953a55225e9439ade1dd748806146
BLAKE2b-256 0101a3246ff18d730f8298ebf241d2aa60bdb571d5acdd6f4185a9886187d463

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page