RST to Markdown Converter for MkDocs Migration
Convert reStructuredText to Markdown for MkDocs, Jekyll, Hugo. Migrate Sphinx docs with immediate conversion. Preserves code, links, tables.
Note: First conversion initializes Pandoc WebAssembly (~55MB). Subsequent conversions are instant.
Drop RST file here or click to browse
Accepts .rst, .txt filesRST to Markdown Conversion Guide
| reStructuredText | Markdown (GFM) | Notes |
|---|---|---|
Heading | # Heading | H1 title |
Subheading | ## Subheading | H2 subtitle |
**bold** | **bold** | Same syntax in both |
*italic* | *italic* | Same syntax in both |
``code`` | `code` | Markdown uses single backticks |
.. code-block:: python | ```python | Fenced code blocks in Markdown |
`link <url>`_ | [link](url) | Markdown inline link |
.. image:: img.png |  | Markdown image syntax |
* Item | - Item | Markdown uses hyphens/asterisks |
1. Item | 1. Item | Numbered lists similar |
Sphinx to MkDocs Migration Workflow
After converting RST to Markdown, set up MkDocs:
- Install MkDocs:
pip install mkdocs mkdocs-material - Initialize project:
mkdocs new my-project - Add converted Markdown files to
docs/directory - Configure mkdocs.yml: Set site name, theme, navigation structure
- Preview locally:
mkdocs serve(live reload on http://127.0.0.1:8000) - Build static site:
mkdocs build(outputs to site/ directory) - Deploy:
mkdocs gh-deployfor GitHub Pages, or integrate with Netlify/Vercel
Sample mkdocs.yml configuration:
site_name: My Documentation
theme:
name: material
palette:
scheme: default
primary: indigo
nav:
- Home: index.md
- Getting Started: getting-started.md
- API Reference: api/
plugins:
- search
- mkdocstrings:
handlers:
python:
options:
show_source: trueCopied to clipboard