HTML to Markdown
Drop HTML into the HTML box, click Convert to Markdown, and read the Markdown textarea that appears. Turndown uses ATX headings, fenced code blocks, and "-" bullets. Copy output puts the Markdown on your clipboard.
Updated 2026-08-04 · developer
Paste HTML, then Convert to Markdown.
About this tool
Conversion runs through TurndownService in the browser. Headings become
How to use
- Paste HTML: Put your HTML into the HTML textarea (a sample heading, link, and list load by default).
- Convert to Markdown: Click Convert to Markdown to run Turndown and fill the Markdown box.
- Review the Markdown: Check headings, links, and list markers in the read-only Markdown textarea.
- Copy the output: Click Copy output to place the Markdown on the clipboard when conversion succeeds.
Common use cases
- Move a CMS HTML export into a README or docs site that expects Markdown.
- Clean a blog draft that still has tags before publishing as .md.
- Turn a short HTML email snippet into Markdown for a chat or ticket.
Tips
- Keep links and lists in valid HTML so Turndown can map them cleanly.
- After Convert to Markdown, use Copy output instead of selecting the whole page.
FAQ
What Markdown style does this use?
ATX headings (#), fenced code blocks, and unordered lists with "-" markers via Turndown defaults set on this page.
What if conversion fails?
The Markdown box clears and the status line shows an Error message with the reason.
Is my HTML uploaded?
No. Turndown runs locally on the text you pasted.
When does Copy output appear?
Only after a successful conversion produces Markdown in the output field.