Markdown ⇄ HTML Converter

Write Markdown with a live preview, or paste HTML to get clean Markdown back

Markdown

Rendered preview

HTML output

Nothing you paste here is ever uploaded — conversion happens entirely in your browser via the marked and turndown libraries.

About this tool

Markdown-to-HTML conversion here runs on the marked library, which parses headings, lists, links, code fences, and GitHub-flavored extras like tables and "- [ ]" task lists into real HTML tags; the reverse direction uses turndown to walk existing HTML and rebuild the closest equivalent Markdown syntax. Both directions render a live preview so you can confirm formatting before copying.

Will converting HTML back to Markdown preserve everything? ▾

Simple structure — headings, lists, links, bold/italic, tables — converts cleanly. Complex layouts using nested divs, inline styles, or JavaScript have no Markdown equivalent and get flattened or dropped.

Why don't my task list checkboxes stay checked after converting? ▾

GitHub-flavored Markdown only stores checked state as the literal text "- [x]"; if the source HTML checkbox was checked purely via an attribute without that pattern, round-tripping can lose it.

Does this support Markdown tables with column alignment? ▾

Yes — colon placement in the header separator row (:--, :-:, --:) is read and preserved as left/center/right alignment in the generated HTML table.