Free HTML to Markdown converter

Drop an HTML file and get clean Markdown back — the headings, links, lists and tables without the markup, scripts and styling. Converted in your browser, sized for ChatGPT and Claude.

Drop an HTML file to convert

or click to browse

HTMLHTMXHTML

How to convert HTML to Markdown

  1. Save the page as an HTML file if it isn't one already — Ctrl+S / Cmd+S in any browser — then drop the .html into the box above. Nothing uploads; parsing runs on your own device.
  2. The markup is walked tag by tag — real structure is kept, machinery is discarded.
  3. Download the .md or copy the Markdown into your AI chat, notes app or documentation. The result card shows the token count before and after.

What the converter does with your HTML

HTML and Markdown are close cousins — Markdown was designed as shorthand for exactly this kind of document. That makes HTML the cleanest conversion on the site: the structure maps one-to-one, and everything that isn't content simply drops away:

  • Headings h1–h6 become #–######, at their real levels, so the document outline arrives intact.
  • Links keep their URLs as [text](url) — the AI can cite where a claim points, not just that something was linked.
  • Lists, tables, quotes and emphasis translate directly: bulleted and numbered lists stay lists, th/td grids become Markdown tables, blockquotes become quotes, bold and italic survive.
  • Scripts and stylesheets are stripped entirely — which is where most of an HTML file's bulk lives, and none of its meaning.

A real example

This is actual output from this converter. The input was an HTML file with a heading, a paragraph containing bold text and a link, a bulleted list, a table — and a stylesheet block that had no business surviving:

# Release notes

Version 2.1 ships **offline mode** — see the [docs](https://example.com/docs).

## Fixed

- Sync no longer loops on flaky networks
- Dark mode contrast

| Platform | Build |
| --- | --- |
| Windows | 2.1.0 |
| macOS | 2.1.1 |

Everything that meant something came through — including the link's URL and the table — and the CSS vanished without a trace. That's the whole trade: same content, none of the machinery.

Why HTML is the biggest token win of all

A saved web page is mostly not its article: markup attributes, inline styles, scripts, tracking and navigation routinely outweigh the words ten to one. Paste raw HTML into a chat and you pay tokens for every one of those angle brackets. The Markdown version keeps the words and the structure and drops everything else — of all the formats on this site, HTML usually shows the largest before/after gap on the result card.

The fine print

It converts files, not URLs. There's no box to paste a link into — everything here runs in your browser, and web pages have to be fetched by a server. Save the page first (Ctrl+S / Cmd+S, "Webpage, HTML only" is enough), then convert the file.

Page chrome comes along for the ride. Scripts and styles are stripped, but visible navigation menus, cookie banners and footers are visible text, and they'll appear in the output. On a saved article they're a few lines at the top and bottom, easy to delete; on a heavily templated page expect more trimming.

Code samples arrive as plain text. Content inside pre/code blocks is kept, but it isn't wrapped in Markdown code fences — if you're converting documentation full of code, add the fences where they matter.

Images reduce to their alt text. A screenshot that carries real content is worth converting separately with the image converter's OCR.

HTML conversion questions

Is this HTML to Markdown converter free?

Yes — free, unlimited, no account. Conversion runs in your browser, so there's nothing for us to meter and no daily cap.

Is my HTML file uploaded anywhere?

No. The file is parsed by JavaScript on your own device — relevant if you're converting internal documentation or intranet pages that shouldn't leave the building.

Can I convert a web page by pasting its URL?

Not directly — this tool converts files, because everything runs locally and fetching a URL needs a server. Save the page from your browser first (Ctrl+S or Cmd+S), then drop the saved .html here.

Do links survive the conversion?

Yes, as proper Markdown links with their URLs intact. That's worth having in AI context: the model can tell you where a claim pointed, and you can follow it.

Why is the token saving so large for HTML?

Because most of an HTML file is machinery — tags, attributes, styles, scripts — and machinery is exactly what conversion throws away. The words and structure stay; the overhead, often the majority of the file, goes.

Can I convert many saved pages at once?

Zip them and use the ZIP converter — every HTML file in the archive is converted and stitched into one Markdown document, a section per file.

Word to Markdown

The same faithful translation for DOCX — headings, lists and tables read from the document's own structure.

Convert a DOCX →

ZIP to Markdown

A folder of saved pages? Zip it and get one Markdown document back, a section per file.

Convert a ZIP →