HTML to Markdown Converter Online

Convert HTML to Markdown instantly in your browser. Paste a web page or snippet and get clean, readable Markdown on your device.

Your HTML is converted locally in your browser and never uploaded, so you can safely paste internal or unpublished page markup.

Going the other way? Try the Markdown Preview tool.

About HTML to Markdown

This HTML to Markdown converter turns a chunk of HTML — copied from a web page, a CMS, an email, or your DevTools — into clean, readable Markdown. As an HTML to Markdown tool it rewrites headings, bold and italic text, links, images, blockquotes, ordered and unordered lists, and code blocks into their Markdown equivalents. With GitHub-flavored Markdown enabled it also converts tables, strikethrough, and task lists, so a pasted HTML table comes out as a proper Markdown table. Tune the output with options for ATX or Setext headings, the bullet marker, and fenced or indented code blocks, then copy the result or download it as a .md file. It is the reverse of the Markdown Preview tool, handy for moving content into docs, README files, or static-site posts. The whole conversion runs in your browser, so the HTML you paste is processed locally and never leaves your device.

Features

How to use the HTML to Markdown

  1. Paste your HTML into the HTML box on the left.
  2. Read the generated Markdown in the output panel on the right.
  3. Adjust heading style, bullet marker, code-block style, or the GFM toggle to taste.
  4. Click Copy to grab the Markdown, or download it as a .md file.

Example

Input

<h1>Notes</h1>
<p>A <strong>bold</strong> word and a <a href="https://example.com">link</a>.</p>
<ul><li>one</li><li>two</li></ul>

Output

# Notes

A **bold** word and a [link](https://example.com).

-   one
-   two

Headings, inline formatting, links, and lists become plain Markdown.

Common errors & troubleshooting

Frequently asked questions

Does it convert HTML tables to Markdown?
Yes, when GitHub-flavored Markdown is enabled (the default). GFM adds pipe-style tables, so an HTML table is rewritten as a Markdown table; strikethrough and task lists are converted the same way.
How is this different from the Markdown Preview tool?
It runs the opposite direction. Markdown Preview renders Markdown into HTML, while this HTML to Markdown converter takes HTML in and produces Markdown out, so the two are complementary.
Can I choose the heading and bullet style of the Markdown?
Yes. You can pick ATX (#) or Setext headings, choose a dash, asterisk, or plus as the bullet marker, and switch code blocks between fenced and indented to match your project's style.
What happens to tags that have no Markdown equivalent?
Structural wrappers like div and span are dropped while their text is preserved, and script, style, and noscript blocks are removed entirely before conversion.
Is my HTML uploaded when I convert it?
No. The HTML to Markdown conversion runs entirely in your browser, so the markup you paste is processed locally on your device and is never sent to a server.

Related tools

All ArrayKit tools