What survives, and what does not
| HTML | Markdown |
|---|---|
| <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.
More free text tools
- Word counterLive word count with reading time, sentences and paragraphs.
- Character counterCharacters with and without spaces, against X, SMS and SEO limits.
- Letter counterCount letters only, with a frequency breakdown for puzzles.
- Text cleanerStrip extra spaces, blank lines and invisible characters in one pass.
- Remove line breaksRejoin text that a PDF or email broke into short lines.
- Text compareDiff two versions and see what was added, removed and left alone.
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.