HTML to Markdown
Runs in browserConvert 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.
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.
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.
Related tools
You might find these useful too.