HTML to Markdown
Convert HTML into tidy Markdown — headings, lists, tables, links and code blocks included.
100% private — everything runs in your browser
How to Use
- 1
Paste the HTML you want to convert, or load the sample.
- 2
Click Convert to Markdown — scripts, styles and navigation are dropped.
- 3
Copy the Markdown or download it as a .md file.
Examples
Article body
Input
<h1>Hi</h1><p>Text</p>Output
# Hi
TextDocs page
Input
HTML with tables and codeOutput
Markdown with pipe tables and fencesFAQ
What gets removed?
Scripts, styles, iframes, forms and navigation are stripped so the output is just content.
Does it keep tables?
Yes. Simple tables become GitHub-style pipe tables.
Can I convert a whole page?
Paste the page source, but expect some cleanup — view-source output includes menus you may need to trim.
Related Tools
Markdown to HTMLConvert Markdown into clean HTML, preview it in a sandbox and copy or download the result.HTML Entity EncoderEscape or decode HTML entities, with a minimal mode for code and a full mode for every special character.Word CounterCount words, characters, sentences, paragraphs and lines in real time, with estimated reading time. Works with English, Chinese, Japanese, Korean and any Unicode text — everything stays in your browser.JSON FormatterFormat, beautify, minify and validate JSON instantly — right in your browser.JSON ValidatorValidate JSON instantly and find syntax errors with the exact line, column and position — right in your browser.Base64 Encoder/DecoderEncode text to Base64 and decode Base64 back to text with full Unicode and emoji support — 100% in your browser.