This HTML to Markdown converter turns a chunk of HTML — copied from a web page, a CMS, an email, or your DevTools — into clean, readable Markdown. As an HTML to Markdown tool it rewrites headings, bold and italic text, links, images, blockquotes, ordered and unordered lists, and code blocks into their Markdown equivalents. With GitHub-flavored Markdown enabled it also converts tables, strikethrough, and task lists, so a pasted HTML table comes out as a proper Markdown table. Tune the output with options for ATX or Setext headings, the bullet marker, and fenced or indented code blocks, then copy the result or download it as a .md file. It is the reverse of the Markdown Preview tool, handy for moving content into docs, README files, or static-site posts. The whole conversion runs in your browser, so the HTML you paste is processed locally and never leaves your device.
Features
Converts headings, bold, italic, links, images, blockquotes, and lists to Markdown
GitHub-flavored Markdown for tables, strikethrough, and task lists (toggle on/off)
Choose ATX (#) or Setext heading style for the generated Markdown
Pick the unordered-list bullet marker: dash, asterisk, or plus
Switch between fenced and indented code blocks for snippets
Live output that updates as you paste or edit the HTML
Lenient parsing handles messy or malformed HTML without crashing
Copy the Markdown or download it as a .md file with one click
How to use the HTML to Markdown
Paste your HTML into the HTML box on the left.
Read the generated Markdown in the output panel on the right.
Adjust heading style, bullet marker, code-block style, or the GFM toggle to taste.
Click Copy to grab the Markdown, or download it as a .md file.
Example
Input
<h1>Notes</h1>
<p>A <strong>bold</strong> word and a <a href="https://example.com">link</a>.</p>
<ul><li>one</li><li>two</li></ul>
Output
# Notes
A **bold** word and a [link](https://example.com).
- one
- two
Headings, inline formatting, links, and lists become plain Markdown.
Common errors & troubleshooting
A pasted HTML table comes out as plain text instead of a Markdown table. — Turn on the GFM toggle. GitHub-flavored Markdown is what adds pipe-style tables, strikethrough, and task lists.
The Markdown keeps stray <div> or <span> wrappers around the text. — Those tags have no Markdown equivalent, so their text is kept and the wrapper is dropped; remove leftover inline tags from the source if needed.
Code indentation or blank lines inside a <pre> block look off. — Switch the code-block style between fenced and indented; fenced blocks preserve whitespace most reliably for multi-line snippets.
<script> or <style> content shows up in the Markdown. — It should not — those tags are stripped before conversion. Re-paste the HTML and make sure the tags are well-formed.
Frequently asked questions
Does it convert HTML tables to Markdown?
Yes, when GitHub-flavored Markdown is enabled (the default). GFM adds pipe-style tables, so an HTML table is rewritten as a Markdown table; strikethrough and task lists are converted the same way.
How is this different from the Markdown Preview tool?
It runs the opposite direction. Markdown Preview renders Markdown into HTML, while this HTML to Markdown converter takes HTML in and produces Markdown out, so the two are complementary.
Can I choose the heading and bullet style of the Markdown?
Yes. You can pick ATX (#) or Setext headings, choose a dash, asterisk, or plus as the bullet marker, and switch code blocks between fenced and indented to match your project's style.
What happens to tags that have no Markdown equivalent?
Structural wrappers like div and span are dropped while their text is preserved, and script, style, and noscript blocks are removed entirely before conversion.
Is my HTML uploaded when I convert it?
No. The HTML to Markdown conversion runs entirely in your browser, so the markup you paste is processed locally on your device and is never sent to a server.