A free HTML to Markdown converter that keeps headings, links, tables and code, in your browser, with nothing uploaded.
5.0(1 rating)Paste HTML, or open an .html file, to turn it into clean Markdown. It all happens in this browser.
Your HTML
Everything happens in this browser, so your HTML never leaves your computer.
This free HTML to Markdown converter turns HTML into clean Markdown: a full page, or a part you pasted from a site or an app.
Headings, links, lists, tables and code come through, and scripts, buttons and forms are left out. It all happens in your browser.
Here's what it keeps, what it leaves out, and how it did against MarkItDown and CloudConvert.
What is an HTML to Markdown converter?
An HTML to Markdown converter rewrites a page's tags as Markdown: # for a heading, - for a list item, | for a table.
You get the same content in a plain text file that's easy to read, edit and paste into AI apps.
What it keeps
It keeps the parts that carry meaning, as Markdown:
- Headings, bold and italic – as #, ** and _.
- Links and pictures – with their full addresses.
- Lists – nested lists stay nested, and numbered lists keep their numbers.
- Tables – every table becomes a Markdown table, merged cells included.
- Code – as a fenced block that names its language, like ```js.
Paste the result anywhere Markdown is read, and it looks the way the page did.
What it leaves out
Anything that isn't content: scripts, styles, forms, buttons, and hidden labels for screen readers.
It also drops edit links and copy buttons that sites put inside articles, so they don't turn up as stray words.
Compared with MarkItDown and CloudConvert
I converted the same 3 saved pages with each on September 29, 2026:
- Wikipedia page
- 16 of 16 headings, 4 tables, 55 KB
- MDN page
- 20 of 20 headings, 23 code blocks with languages, 43 KB
- Paul Graham's essay
- 69 KB
- Wikipedia page
- 16 of 16 headings, 7 tables, 65 KB
- MDN page
- 20 of 20 headings, 23 code blocks, no languages, 39 KB
- Paul Graham's essay
- 68 KB
- Wikipedia page
- 16 of 16 headings, 348 lines of pandoc's ::: markers, 210 KB
- MDN page
- 20 of 20 headings, 238 ::: lines, 73 KB
- Paul Graham's essay
- 391 KB, its layout as grid tables
CloudConvert converts with pandoc, whose Markdown wraps a page's boxes in ::: markers that most Markdown readers show as text. MarkItDown's code blocks don't say their language.
Both converted each page in full, menus and all, and so does this one: that's what HTML to Markdown is for. For just the article, use my URL to Markdown converter.
How I tested
Who is the HTML to Markdown converter for?
It's for anyone moving content between a site and plain text:
- URL to Markdown – anyone who wants just a page's article
- llms.txt generator – site owners making their pages easy for AI to read
- LinkedIn text formatter – writers moving a post between apps
- Readability checker – writers checking how easy the text is to read
It works in your browser, so your HTML never leaves your computer.
More free Markdown converters
Here are my other Markdown converters. They all give you the Markdown to copy, download or send to an AI app:
- URL to Markdown – a web page's article as Markdown
- PDF to Markdown – a PDF's text with its headings and lists
- Word to Markdown – a .docx with its tables and pictures
Files never leave your browser, and links are read without saving anything.
Use your Markdown
Paste it into
Keep it in
Build with it in
HTML to Markdown converter FAQs
Questions about the hTML to Markdown converter? Here's what to know.
An HTML to Markdown converter rewrites a page's tags as Markdown, like # for a heading and | for a table.
This one works in your browser.
Paste your HTML here, or open an .html file, and click Convert to Markdown.
Then copy the Markdown or download it.
Yes, every table becomes a Markdown table, with merged cells filled in.
Line breaks inside a cell become spaces, since a Markdown table cell is 1 line.
Yes, a code block names its language, read from the class names sites use.
That way a Markdown reader colors it right.
Scripts, styles, forms, buttons and hidden screen-reader labels.
Edit links and copy buttons inside articles go too.
Yes, it's free, with no account and no limit.
Most of the work happens in your browser, so it costs nothing to run.
No, the HTML to Markdown converter works in your browser.
Your HTML never leaves your computer.
I did.
I'm Navid Moazzez, and the HTML to Markdown converter is one of my free tools on navid.me.
Read more about me.
Navid.me is reader-supported. When you buy through links on this site, I may earn an affiliate commission. Learn more.
More free tools
The most actionable AI newsletter for founders
Every week, get proven AI strategies, curated tools, and step-by-step systems to grow your audience, create better content, and build a profitable creator business.
No fluff, no filler, no BS. Just five minutes each week that might level up your online business and life.
P.S. Sign up now to get free access to my ultimate AI tools guide for creators.





















