HTML ↔ Markdown Converter

Convert between HTML and Markdown in real-time. Edit either side and see the conversion instantly.

HTML
Markdown

How It Works

1

Choose direction

Toggle between HTML → Markdown and Markdown → HTML conversion.

2

Enter content

Paste or type in the left panel. The right panel updates with the conversion.

3

Configure and export

For HTML-to-Markdown, adjust heading style, list markers, link format, and more. Copy or download the result.

FAQ

Mostly, but some HTML constructs (custom classes, inline styles, complex layouts) may not have Markdown equivalents and will be simplified.
HTML-to-Markdown uses Turndown (the same library used by many popular tools). Markdown-to-HTML uses the marked library with GFM support.
Markdown-to-HTML handles GFM tables. HTML-to-Markdown converts simple tables. Complex nested tables may need manual cleanup.

Varstatt Toolkit

Each tool works standalone, runs entirely in your browser, and requires no signup.

Built & Maintained by Varstatt

Varstatt is a one-person product studio run by Jurij Tokarski, product engineer since 2011. These tools are free and open — no signup, no catch.