CDS2MD
Overview
This utility can be used to convert Confluence® Data Center pages to Markdown. Atlassian's Confluence Data Center is scheduled for end-of-life in 2029. This tool can be used in an attempt migrate data from Confluence Data Center instances to another location.
Requirements
- Python 3.11+
Installation
This tool can be installed using [pip][pip] or [pipx][pipx]:
pipx install cds2md
(or)
pip install -U cds2md
(or)
python -m pip install -U cds2md
Usage
This tool can be invoked from a command line using:
cds2md --help
(or)
python -m cds2md --help
A minimal example run is as follows:
export CDS2MD_CONFLUENCE_TOKEN=TOKEN
export CDS2MD_CONFLUENCE_SPACE_KEY=MYSPACE
export CDS2MD_CONFLUENCE_URL=https://wiki.example.com/
cds2md
This will fetch page information from a Confluence space and store this data
into a local cache folder (.cds2md-cache/). Once all pages are fetched,
content will be converted to Markdown and placed in the output directory
(output/).
Options
The following is a list of available options:
positional arguments:
{all,connection-check,fetch,process}
action to perform (default: all)
options:
-h, --help show this help message and exit
--ca-certificate CA_CERTIFICATE
ca certificate to use when communicating with Confluence
--cache CACHE path to store fetch cached data
--confluence-space-key CONFLUENCE_SPACE_KEY
space to query for pages
--confluence-token CONFLUENCE_TOKEN
token used to query the Confluence instance
--confluence-token-file CONFLUENCE_TOKEN_FILE
file which holds a Confluence token to use
--confluence-token-stdin
pass in the token via the standard input stream
--confluence-url CONFLUENCE_URL
url of the Confluence data center instance to interact
with
--debug enabling debugging logs
--development configure to operate in a development state
--header, -H HEADER http headers to include in requests
--ignore-tls ignore all TLS checks when communicating with Confluence
--flat ignore any Confluence-detected hierarchy structure
--output OUTPUT path to output markdown content into
--timeout TIMEOUT timeout for connection REST requests to Confluence
--tweak-admonition-type {default,docusaurus,github,gitlab,myst,plain}
admonition formatting to use (default: default)
--tweak-html-images force all images to be generated as html-based images
--tweak-html-tables force all tables to be generated as html-based tables
--version show program's version number and exit
--wrap WRAP hint to the number of characters to wrap to
The CDS2MD project is unaffiliated with Atlassian.
Atlassian is a registered trademark of Atlassian Pty Ltd.
Confluence is a registered trademark of Atlassian Pty Ltd.
Metadata
Release files for cds2md 0.0.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 | Provenance | Actions |
|---|---|---|---|---|
| cds2md-0.0.0.tar.gz | 21.8 kB | With provenance | Details for cds2md-0.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cds2md-0.0.0-py3-none-any.whl | Python 3 | none | any | Details for cds2md-0.0.0-py3-none-any.whl |
Total release size: 46.8 kB
Release files / cds2md-0.0.0.tar.gz
| Download URL | cds2md-0.0.0.tar.gz |
|---|---|
| Size | 21.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
65d813226f8627678e388a9f5fc8e67821f9a4f89184698a4ac08fd392c60854
|
|
BLAKE2b-256 checksum How to use checksums |
54914d4ff9014a3cab95d150f34285d6c2df63794ac821805f7655e6b1444883
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.
Transparency logRelease files / cds2md-0.0.0-py3-none-any.whl
| Download URL | cds2md-0.0.0-py3-none-any.whl |
|---|---|
| Size | 25.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0b80b0452dcfef8b7679de4350ef2e8650eea855c472177857552608c6822856
|
|
BLAKE2b-256 checksum How to use checksums |
35fe7959cc51b340d7a5b0f57be5a97c9a0183b7ceef60e3943de08201c0e5f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.
Transparency logSecurity for cds2md 0.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for cds2md-0.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.