Markdown ↔ HTML Converter
Convert Markdown to HTML and HTML back to Markdown in your browser — with a live, safely sandboxed preview. Free and private.
How to use
- Pick a direction — Markdown → HTML to turn notes into web markup, or HTML → Markdown to clean a page back into plain text.
- Type or paste into the input box on the left. The output and live preview update as you type.
- Copy the converted result to your clipboard, or download it as a file.
FAQ
Is my text sent to a server?
No. Both conversions run entirely in your browser using small self-hosted libraries, so nothing you type or paste is ever uploaded. The tool works offline and keeps your content private.
Is the live preview safe with any HTML?
Yes. The preview is rendered inside a sandboxed iframe with scripts disabled, so even if your Markdown or HTML contains something risky, it can’t run or touch the rest of the page. The Markdown renderer also escapes raw HTML by default.
Which Markdown does it support?
It uses CommonMark with sensible extras — headings, lists, links, images, code blocks, tables, blockquotes and emphasis. Bare URLs are auto-linked and straight quotes are tidied into typographic ones.
Will HTML → Markdown keep my formatting?
It converts the structural parts — headings, links, lists, bold, italic, code and blockquotes — into clean Markdown. Styling, scripts and layout-only markup are dropped, which is usually what you want when turning a page back into plain text.