HTML to Markdown
Runs in browserConvert HTML to clean, readable Markdown instantly.
Convert HTML to clean Markdown instantly in your browser. Paste any HTML and get readable Markdown. Free, private, no sign-up.
HTML to Markdown tool
Paste HTML on the left and get clean Markdown on the right. Everything runs locally in your browser.
734 chars · 81 words
Files never leave your browser.
Drag and drop a file here, or tap to select
564 chars · 81 words
Related: Markdown Previewer, HTML Escape / Unescape, Text Diff Checker.
🔒 Runs in your browser · No uploads · Your data never leaves your device
How to use
Paste HTML
Paste any HTML snippet into the left editor.
Review Markdown output
The Markdown output updates instantly as you type.
Tune options
Enable fenced code blocks, preserve line breaks, keep inline HTML, and strip comments.
Copy or open in previewer
Copy the Markdown, or open it directly in Markdown Previewer for a rendered view.
Common use cases
- Converting blog posts from HTML to Markdown — Paste exported HTML from a CMS to get clean Markdown for import into a static site generator.
- Cleaning up copied web content — Convert formatted HTML copied from the web into readable Markdown for notes or documentation.
Examples
Headings and lists
Convert typical article markup into Markdown.
Input<h1>Hello</h1><p>This is <strong>bold</strong>.</p><ul><li>One</li><li>Two</li></ul>Output# Hello This is **bold**. - One - TwoCode block
Convert pre/code blocks into fenced Markdown.
Input<pre><code class="language-js">console.log('hi'); </code></pre>Output```js console.log('hi'); ```
Frequently asked questions
- Is my HTML sent to a server?
- No. Conversion runs locally in your browser.
- How does “Open in Markdown Previewer” work?
- It stores the generated Markdown locally and opens the previewer in a new tab.
Key concepts
- Markdown
- A lightweight markup language using simple syntax that converts to HTML — ideal for docs, READMEs, and content management.
- Turndown
- A JavaScript library that converts HTML to Markdown — the engine behind most browser-based HTML-to-Markdown tools.
Related tools
You might find these useful too.
- Markdown Previewer
Preview Markdown live with instant in-browser rendering.
Open - HTML Escape / Encode
Escape and unescape HTML entities instantly in the browser.
Open - Text Diff Checker
Compare two texts and view line-by-line differences instantly.
Open - Email Template Tester
Preview HTML emails in Gmail, Outlook, Apple Mail, and mobile with compatibility warnings.
Open