Markdown

HTML to Markdown

Convert HTML into clean Markdown — for content migration out of a CMS, a wiki, or a scraped page. Runs entirely in your browser; nothing you paste is ever sent anywhere.

Headings
Bullets
HTML
Markdown Output
Paste HTML on the left to get Markdown here.

Quick Learn

Content migration usually means pulling pages out of a CMS, a wiki, or a scraped web page — all of which give you HTML — and moving them into a Markdown-based system: a docs site, a static site generator, or a knowledge base backed by Git. This tool automates that translation, converting tags like headings, lists, tables, links, and code blocks into their Markdown equivalents.

The conversion follows GitHub Flavored Markdown (GFM) conventions, so tables, strikethrough, and task-list checkboxes come out the same way they would if you'd written them by hand. Everything runs locally in your browser using an HTML parser built into the browser itself — nothing you paste or upload is ever sent anywhere.

Best Practices

  • •Paste the innermost content you actually want — a full page including <nav>, <header>, and <footer> will convert those too, cluttering the output. Copy just the article or content region where possible.
  • •ATX headings (# Heading) are the more common choice for modern Markdown files; Setext (underlined with ===) only supports heading levels 1 and 2, so deeper headings fall back to ATX automatically.
  • •Review tables and nested lists after conversion — HTML has more structural flexibility than Markdown, so unusual nesting or merged cells may need small manual touch-ups.
  • •If the source HTML has inline styles or class names for formatting (bold via CSS instead of <strong>), those visual cues won't carry over — Markdown only preserves semantic tags.

More Markdown Tools

See all Markdown tools

Frequently Asked Questions

Is my HTML uploaded anywhere?

No. Conversion happens entirely in your browser using the browser's own HTML parser — nothing you paste, type, or drop as a file is sent to a server.

Does it support tables, task lists, and strikethrough?

Yes — GitHub Flavored Markdown (GFM) extensions are enabled by default, so <table>, checkbox list items, and <del>/<s> tags convert to their Markdown equivalents.

What happens to <script> or <style> tags in the source?

They're dropped. Markdown has no equivalent for executable code or embedded styles, so only the visible, semantic content is converted.

Can I drop a whole .html file instead of pasting?

Yes — drag a .html, .htm, or .txt file onto the HTML panel, or use the Choose File button, and its contents load directly into the editor.

How is this different from the Markdown to HTML tool?

That tool goes the other direction — Markdown in, HTML out. This one is for content migration: existing HTML in, clean Markdown out.

Want the engineering deep-dives behind tools like this one?