Running on your device · 0 bytes uploaded

# Markdown ⇄ HTML converter

Render Markdown to HTML or convert HTML back to Markdown — GFM tables and strikethrough included — with a DOMPurify-sanitized, sandboxed preview. Everything runs in the unified pipeline in your tab.
Markdown → HTMLHTML → MarkdownMarkdownConvert

- Markdown → HTML drops raw HTML by design (no allowDangerousHtml) — the fold list names it when it happens.
- HTML → Markdown is lossy by nature: divs flatten, spans unwrap, inline styles vanish — every fold is listed, none silent.
- No syntax highlighting, footnotes, or math extensions — GFM is the whole grammar here.
Nothing in yet

Paste, drop, or type to begin. Everything stays on this device.

paste one side, convert to the other

## Next door in Text

- [Markdown table](/text/markdown-table)
- [JSON Converter](/json/convert)
[All text tools](/text)

---

Canonical HTML: https://nutter.tools/text/markdown
Markdown version: https://nutter.tools/text/markdown/index.md
Plain-text version: https://nutter.tools/text/markdown/index.txt
Agent index: https://nutter.tools/llms.txt

