Free Online Tool

Convert HTML to Markdown

Paste HTML, get clean Markdown instantly. Handles headings, lists, links, images, tables, and code blocks. Free, private, no signup.

Your files never leave your browser. All processing happens locally.
0 chars

What is an HTML to Markdown converter?

An HTML to Markdown converter takes raw HTML and rewrites it as clean, readable Markdown — preserving the document's structure (headings, links, lists, tables, and code) instead of flattening it to plain text. It's useful for migrating web content into docs, notes, or a static-site repo.

Paste any HTML and the tool converts it locally with Turndown.js, mapping headings (h1-h6), bold, italics, links, images, ordered and unordered lists, GFM tables, code blocks, blockquotes, and horizontal rules to their Markdown equivalents. Nothing is uploaded or stored — the conversion happens entirely in your browser.

FAQ

Common questions

Is this tool free?

Yes. The HTML to Markdown converter is completely free with no usage limits, no account, no watermarks, and no hidden fees.

Is my data private?

All conversion happens in your browser using Turndown.js. Your HTML is never sent to any server. Nothing is uploaded or stored.

What HTML elements are supported?

Headings (h1-h6), paragraphs, bold, italic, links, images, ordered and unordered lists, tables (GFM), code blocks, inline code, blockquotes, and horizontal rules.

Does it support GitHub Flavored Markdown tables?

Yes. HTML tables are converted to GitHub Flavored Markdown table syntax with proper alignment.

How does this compare to copy-pasting from a browser?

Copy-pasting from a browser gives you plain text or rich text. This tool preserves the document structure (headings, links, lists, and formatting) as clean, readable Markdown.

HTML to Markdown Conversion Guide
More free tools

Related Markdown utilities

Markdown to Word
Free Markdown to Word converter: paste or open a .md file and download a formatted Word document — headings, tables, lists, and code.
Word to Markdown
Free Word to Markdown converter: drop a .docx file and get clean Markdown — headings, tables, lists, and formatting preserved.
Markdown to Image
Free Markdown to Image converter: type or paste Markdown and download a clean PNG — headings, tables, code, and Mermaid diagrams.
Markdown to PDF
Convert Markdown to a clean PDF instantly.
Browse all free Markdown tools →

View the converted Markdown on Mac

MacMD Viewer renders your .md files natively on Mac with Mermaid diagrams, syntax highlighting, QuickLook, and live reload.

See features
  • 190+ Mac users
  • On Homebrew & Setapp
  • 14-day money-back guarantee
I spend most of my day working with AI agents, and MacMD Viewer lets me quickly scan the many operational files we use, at a glance.
Andrew
AI loves producing markdown files during software development, and MacMD makes them easier to review.
Jacob
I use MacMD Viewer to look at all the MD files Claude Code generates.
Gautam
I like MacMD Viewer for previewing Markdown files I put up on GitHub.