Converter

HTML to Markdown, instantly.

Paste HTML on the left, copy clean GitHub Flavored Markdown on the right. Strips presentational cruft, keeps the content. Free, private, runs entirely in your browser.

  • No signup
  • No upload
  • GFM tables & task lists
  • Live output

Going the other way? Markdown to HTML →

Live converter·
html1,083 chars
0 chars
// Converting…
// (turndown loads on first paint, then runs entirely in your browser)

Why this converter

Clean output, not a copy of your CMS.

Most converters preserve every span, class, and inline style they find, leaving you with markdown that looks like HTML in disguise. This one keeps the structure, drops the chrome.

  • Local-first conversion

    Your HTML is parsed in the browser. Nothing is uploaded, logged, or analyzed. Close the tab and it's gone.

  • GFM-native output

    Tables, task lists, strikethrough, and autolinks all round-trip cleanly into GitHub Flavored Markdown.

  • Smart code blocks

    Detects language hints from class names like language-ts and emits fenced blocks with the right language tag.

  • Strips presentational noise

    Empty wrappers, inline styles, and unknown attributes are dropped. You keep the structure, not the soup.

  • Instant updates

    No Convert button. The markdown and preview refresh as you paste, so you can iterate without a single click.

  • Verify with preview

    Flip the right pane between markdown source and a rendered preview to make sure the conversion is faithful.

How it works

From .html to .md in three steps.

  1. 01

    Paste your HTML

    Drop in a fragment or a full document. The sample shows what the converter handles. Clear it and use your own.

  2. 02

    Watch it convert

    The right pane shows clean GFM markdown and a live preview. Switch tabs to verify nothing got lost in translation.

  3. 03

    Copy or download

    Copy the markdown straight to your clipboard, or download a .md file you can open in Markdown Writer or any editor.

Conversions

The HTML tags it knows about.

Everything below maps to its GitHub Flavored Markdown equivalent. Need to look up the markdown side? Open the cheatsheet.

  • <h1 – h6># Heading
  • <p>Paragraph
  • <strong / b>**bold**
  • <em / i>*italic*
  • <code>`inline code`
  • <pre > code>```fenced```
  • <a>[text](url)
  • <img>![alt](src)
  • <ul / ol / li>- list
  • <blockquote>> quote
  • <hr>---
  • <br>
  • <table>| pipe | table |
  • <del / s>~~strikethrough~~
  • <input[type=checkbox]>- [ ] task

FAQ

Common questions

Is this HTML to Markdown converter free?
Yes. The converter is completely free, with no signup, no usage limits, and no upsell. Conversion happens entirely in your browser — the HTML you paste here never touches our servers.
What HTML does it accept?
Any well-formed HTML fragment or full document. Headings, paragraphs, lists, blockquotes, links, images, code blocks, and tables all convert to clean GitHub Flavored Markdown. Unknown or styling-only tags (spans, divs, custom attributes) are unwrapped or stripped.
Does it handle tables and task lists?
Yes. The converter ships with the GFM plugin, so HTML tables become pipe-delimited markdown tables, <strike> and <s> tags become ~~strikethrough~~, and checkbox inputs in lists become - [x] task list items.
Can I paste HTML copied from Google Docs or a CMS?
Yes, that's one of the most common use cases. The converter ignores presentational <span> styling, drops empty wrappers, and outputs portable markdown you can drop into a static site, README, or note-taking app.
Can I download the markdown?
Yes. The Download button saves the output as a .md file. Or hit Copy to send it straight to your clipboard.
How do I go the other way (Markdown to HTML)?
Use the companion converter at /markdown-to-html. It's the same pair of panes, just reversed: paste markdown on the left, copy clean HTML on the right.
Is it safe to convert sensitive HTML here?
Yes. The conversion runs locally in your browser using the open-source Turndown library. Nothing is uploaded, logged, or stored. Close the tab and the content is gone.

Got the markdown? Now edit it.

Open the converted markdown in Markdown Writer for a focused editor with live preview, syntax highlighting, and PDF export.

Open the editor