HTML to Markdown

Headings · Links · Lists · Code · Quotes · Nothing rendered

Turn HTML back into clean Markdown you can paste into a README, a wiki or a static site. Styling and layout markup are dropped; structure and text survive.

0 characters · 0 words · 0 lines

Drop a text file here, or . It is read in your browser and never uploaded.

0 characters

What survives, and what does not

HTMLMarkdown
<h2>Title</h2>## Title
<strong>bold</strong>**bold**
<a href="/x">link</a>[link](/x)
<li>item</li>- item
<code>x</code>`x`
<div class="card">(dropped)

Markdown is a smaller language than HTML on purpose, so this direction is lossy by design rather than by accident. Anything whose job was visual — a wrapper div, a class, an inline style — has no Markdown equivalent and is dropped rather than approximated.

A note on safety

The HTML you paste is parsed in a document that is never attached to this page, so nothing in it runs and no image or script it references is fetched. The result is shown as text and never rendered — rendering pasted HTML would execute it on our own domain.

Going the other way? Convert Markdown to HTML — or switch direction with the tabs above without losing what you pasted.

Frequently asked questions

Is this HTML to Markdown converter free?

Yes, with no account and no length limit.

What gets lost converting HTML to Markdown?

Everything Markdown has no way to express: class names, inline styles, data attributes, table cell alignment, nested layout markup, and anything that was doing a visual job rather than a structural one. What survives is the structure and the text — headings, emphasis, links, lists, code and quotes.

Why would I want Markdown instead of HTML?

Because it is readable as plain text, diffs cleanly in version control, and pastes into a README, a wiki, an issue tracker or a static site without dragging a stylesheet along. Converting a page to Markdown is usually the first step in getting its content out of a CMS.

Can I paste a whole web page?

You can, but the result will include the navigation, footer and any markup that came with it. Copying just the article element or the visible content you want gives a far cleaner result than pasting a full page source.

Is the HTML executed?

No. It is parsed in a detached document that is never attached to this page, so scripts do not run and images are not fetched. The result is shown as text in a box and never rendered.

Is my content uploaded?

No. The conversion uses your browser own HTML parser, so the content never leaves your device.