HomeToolsDeveloper Tools › HTML to Markdown

HTML to Markdown Converter

Paste HTML on the left — get clean Markdown on the right. Handles headings, lists, links, images, tables, and inline code. Set header style (ATX or Setext) and list bullet before converting. 100% free, no sign-up required.

Converted server-side. HTML is processed and immediately discarded — nothing is stored.
HTML Input
0 chars
Markdown Output
Converted 0 chars
Paste some HTML first ↑

Frequently asked questions

Is HTML to Markdown Converter free?

Yes — completely free. No account required, no upload limit, no rate limiting. Processing runs server-side; your HTML is not stored after conversion.

Is the conversion done on the server?

Yes. Conversion uses PHP DOMDocument server-side. Your HTML is processed in a single request and the result is returned immediately; nothing is written to disk.

What HTML elements does the tool convert?

Headings (h1–h6), paragraphs, bold (strong/b), italic (em/i), inline code, fenced code blocks (pre/code), unordered and ordered lists, links, images, blockquotes, and tables. HTML comments are stripped when the option is enabled. Elements with no Markdown equivalent are output as plain text or omitted.

What is the file upload size limit?

The tool accepts .html and .htm files up to 20 MB via the file picker. For most HTML documents — even long ones with inline styles — this limit is rarely reached.

What is the difference between ATX and Setext headers?

ATX headers use leading hash characters (#, ##, ###) before the heading text — the style used by GitHub, Notion, and most Markdown editors. Setext headers underline h1 with === and h2 with --- lines below the text — an older convention still used by some static site generators. Both styles are valid CommonMark; choose ATX unless your downstream tool specifically requires Setext.

Keep going

More developer tools

LiveDeveloper

Markdown to HTML

The reverse direction — paste Markdown and get rendered HTML. Live preview and raw HTML tab. Completes the round-trip with this tool.

Open tool
LiveDeveloper

HTML Formatter

Beautify and validate HTML before converting it. Clean, well-indented input produces cleaner Markdown output.

Open tool
LiveDeveloper

HTML Entity Encoder

Encode or decode HTML entities in your HTML source before converting — ensures special characters are handled correctly.

Open tool
LiveDeveloper

Text Diff

Compare two Markdown documents side by side — diff the output of two HTML-to-Markdown conversions to see what changed.

Open tool
LiveDeveloper

Readability Checker

Paste the plain-text content of your converted Markdown to check reading level and Flesch score before publishing.

Open tool