Free Tool

RST to Markdown

Convert reStructuredText (.rst) files used in Python docs to clean Markdown.

🐍
Drop .rst file
Max 5MB
Choose RST

Move reStructuredText into Markdown workflows

reStructuredText appears in Python documentation, Sphinx projects, package READMEs, and older technical notes. Markdown is often easier to publish in GitHub, static sites, and internal wikis.

How to get a reliable result

  1. Step 1: Upload or paste the .rst content.
  2. Step 2: Convert the structure into Markdown headings and lists.
  3. Step 3: Review directives, code blocks, and references after conversion.
  4. Step 4: Edit the output where Sphinx-specific features need manual translation.

Practical use cases

  • Migrating Python package documentation to a Markdown docs site.
  • Converting old Sphinx notes into GitHub-friendly README content.
  • Preparing technical drafts for platforms that do not render RST.
  • Reviewing legacy documentation before rewriting it.

Limitations to know before you start

RST directives, substitutions, roles, footnotes, and cross-reference syntax do not always map cleanly to Markdown. Complex Sphinx projects should be converted file by file and reviewed by someone familiar with the docs.

Privacy note

RST conversion is local in the browser. Source files are not uploaded for conversion, which is useful for internal developer documentation. Remove private repository URLs or credentials before publishing the Markdown.

Troubleshooting

  • If directives appear as plain text, rewrite them manually in Markdown syntax.
  • If code blocks lose language labels, add fenced-code info strings after conversion.
  • If links break, check RST reference definitions at the bottom of the file.
  • If the output is messy, simplify nested lists in the source and retry.

Frequently asked questions

Will Sphinx directives convert perfectly?

No. Common headings and lists convert well, but Sphinx-only directives often need manual Markdown equivalents.

Is this suitable for a whole docs site?

Use it as a file-by-file helper. Large documentation migrations still need review, link checking, and build testing.

What happens to code blocks?

Most code blocks become Markdown fences or indented blocks. Add language names manually if syntax highlighting matters.

Does the file leave my computer?

No. RST to Markdown conversion runs in the browser.