Skip to content
ViewMarkdown

Nothing is uploaded. The conversion runs entirely in your browser.

HTML to Markdown

Paste HTML on the left, read the Markdown on the right. Nothing is uploaded.

This converter turns HTML into Markdown in your browser. Headings, paragraphs, bold and italic, links, images, ordered and unordered lists, block quotes, inline code, pre blocks and tables all map onto their Markdown equivalents. Strikethrough and checkbox lists come through as GitHub-flavored Markdown.

You can paste a fragment or a whole page. If you paste full page source, scripts, styles, nav, header and footer elements are dropped first, and if the page has an article or main element, only that part is converted. It is a reasonable guess, not a rule, so check the result against the page you copied from.

Some HTML has no Markdown equivalent, and the output will need a pass by hand: multi-column layouts, floating or sized images, nested tables, merged cells, iframes, form controls, and anything whose meaning came from CSS rather than from the markup. Markdown has no styling of its own, so a heavily designed page becomes a plain document.

How it works

  1. Paste HTML into the left pane. In a browser you can get it from View Source, or from Copy element in developer tools.
  2. The Markdown appears on the right as you type. Switch to Preview to see it rendered, which is the fastest way to spot a table that did not survive.
  3. Copy it, download a .md file, or open it in the editor to clean up the parts that need a human.

Frequently asked questions

How do I convert HTML to Markdown?

Paste the HTML into the left pane on this page. The Markdown appears on the right immediately, and you can copy it or download it as a .md file. Nothing is sent to a server.

Can I paste a whole web page's source?

Yes. Script, style, nav, header and footer elements are removed first, and if the page has an article or main element the converter uses that. Expect some leftovers from sidebars and banners on pages that do not use those elements.

Do tables convert?

Simple tables do, as GitHub-flavored Markdown pipe tables. Merged cells are the exception: Markdown has no rowspan or colspan, so a merged cell is flattened and you will need to restructure the table by hand.

What happens to images and CSS?

An img tag becomes ![alt](src) with the original URL, so relative paths need fixing once the file lives somewhere else. All CSS is dropped, including widths, floats, colors and fonts, because Markdown does not describe appearance.

Is my HTML uploaded anywhere?

No. The conversion runs in JavaScript on your own device, and the page keeps working with the network off once it has loaded.