HTML to Markdown Converter
Convert HTML markup or a copied web page into clean, GFM-compatible Markdown.
Quick answer: HTML to Markdown Converter: convert HTML markup or a copied web page into clean, GFM-compatible Markdown. Runs entirely in your browser, free, no signup.
Last updated
Good to know
Converting HTML to Markdown is the right move when you want portable, diff-friendly source that renders identically across GitHub, a static-site generator, Notion, or Obsidian. The tool keeps the structural bones — headings, lists, links, images, code blocks, blockquotes, and GFM tables — while discarding the presentational chrome (classes, inline styles, <span> wrappers, font colors) that Markdown has no way to express.
That stripping is a feature, not a bug: pasting rich text copied from a web page or a Word document usually drags along a mess of nested spans and style attributes, and this collapses it to clean prose. It is the standard way to migrate legacy CMS content into a Markdown-based publishing pipeline without hand-editing every article.
A couple of things won't survive. Tables with merged cells (rowspan/colspan) flatten, because Markdown tables are strictly rectangular, and any layout that relied on divs and CSS grid becomes a flat sequence of blocks. Image tags are converted to Markdown links that still point at the original src, so remember to bring your own asset hosting — the images themselves are not downloaded or rewritten.
For the reverse trip, or to preview how your Markdown will render, use the Markdown to HTML converter. The extra blank lines you may notice in the output are the spec-required separators between block elements and do not affect rendering.
Frequently asked questions
- Will styling like font colour survive?
- No — Markdown has no concept of colour or font. Structural elements (headings, lists, code, tables, blockquotes) and emphasis (bold, italic) round-trip cleanly.
- How are tables handled?
- We emit GitHub-flavoured Markdown tables, which render correctly in GitHub, GitLab, Notion, Bear, Obsidian and most static-site generators.
- What about images?
- Image tags become Markdown image links pointing to the original src. We don't rewrite or download images — bring your own asset hosting.
- Is my HTML uploaded?
- No — Turndown runs entirely in your browser.
- Why are there extra blank lines in my output?
- Markdown spec requires blank lines between block elements. The output is canonicalised — feel free to delete the extras when pasting into your editor; they don't change rendering.