HTML to Markdown Converter , Free & Online
Paste HTML or upload an .html file and get clean Markdown instantly, right in your browser. Tables, links, lists and code blocks all convert. No upload, no sign-up, no limits.
Why convert HTML to Markdown here?
Markdown you can paste straight into docs, README files, notes or an LLM prompt, generated entirely on your own device.
100% Private
Turndown, the library that walks the HTML and emits Markdown, runs entirely in the page — there is no server leg in the flow at all. Internal pages and unpublished drafts never leave your device.
Tables Convert Cleanly
HTML tables become proper GitHub-flavoured Markdown tables instead of turning into a wall of text.
Live as You Type
Paste or edit the HTML on the left and the Markdown updates instantly on the right, so you can see exactly what you are getting.
Paste-Ready Output
Markdown ready for README files, docs, Notion, Obsidian, or an LLM prompt.
How to convert HTML to Markdown
Two ways in, one clean result.
-
1
Paste or upload your HTML
Paste HTML straight into the box, or upload an .html file from your device.
-
2
Markdown builds instantly
Headings, links, lists, tables and code blocks all convert as you type or as soon as the file loads.
-
3
Copy or download
Copy the Markdown to your clipboard, or download it as a .md file.
Have a page URL instead of HTML? See the "I have a URL, not a file" section below. Working with other formats? Try CSV to Markdown and JSON to Markdown.
Where the HTML comes from
This tool converts HTML you already have. That covers more cases than it sounds like: view-source on any page, a snippet copied out of a CMS or email tool, an exported newsletter, or a chunk of markup grabbed from browser devtools. Paste it in and it becomes Markdown in place.
It does not fetch a URL for you. Auto-fetching a page brings in problems this tool sidesteps on purpose: some sites block automated requests, some render their real content with JavaScript after the page loads so the raw HTML is nearly empty, and some sit behind a login. Working from HTML you already copied avoids all three.
I have a URL, not a file — what do I do?
Searches for "URL to Markdown" or "webpage to Markdown" usually mean this: take a link, get Markdown back. A one-click fetch sounds simple, but building one server-side runs into the same three problems every time: a lot of modern sites render their real content with JavaScript after the page loads, so a server fetching the raw HTML gets back a near-empty shell; sites behind Cloudflare or basic bot protection reject automated requests outright; and pages behind a login cannot be reached by an outside server at all, since it has no session or cookies.
Your own browser already has none of these problems — it runs the JavaScript, looks like a real visitor, and is already logged in wherever you are. So the reliable path is three steps: open the page, press Ctrl+U (or Cmd+Option+U on Mac) to view its source, select all and copy, then paste that HTML into the box above. It takes about ten seconds and works on pages an automatic fetcher would fail on, including ones behind a login.
What converts well, and what does not
Headings, paragraphs, bold and italic, ordered and unordered lists, links, images, blockquotes, code blocks and tables all map cleanly to Markdown syntax. Nested lists and nested tables come through too.
Things that have no Markdown equivalent get dropped, the same way they do with any HTML to Markdown conversion: inline styles, colours, custom fonts, JavaScript widgets, embedded iframes, and layout built with CSS grid or flexbox rather than real HTML structure. If a page relies on that kind of styling to make sense, the meaning is in the layout rather than the content, and it will not survive the trip.
Frequently asked questions
How do I convert HTML to Markdown?
Paste your HTML into the box on the left, or upload an .html file. The Markdown appears on the right instantly. Copy it or download it as a .md file.
Is this HTML to Markdown converter free?
Yes, with no size limit and no sign-up. Turndown does the conversion inside your browser tab, so there is no hosted parsing job behind it that would need to be paid for.
Is my HTML uploaded to a server?
No. Whatever you paste or upload is handed straight to Turndown in the page and never leaves the tab. That is true whether it is a public blog post or an internal page you would not want to send anywhere.
Do tables convert correctly?
Yes. HTML tables are converted into GitHub-flavoured Markdown tables, with header rows and cell alignment preserved.
I only have a URL, not HTML — how do I convert the page?
View the page source (Ctrl+U on Windows, Cmd+Option+U on Mac), select all, copy, and paste it into the box above. This works on JavaScript-heavy and logged-in pages that a one-click "fetch this URL" tool would fail on, since your browser has already rendered and authenticated the page for you.
Why is there no box to just paste a URL and fetch it automatically?
Because it would not work reliably enough to ship. A server-side fetch chokes on JavaScript-rendered pages, gets blocked by bot protection on many sites, and cannot reach anything behind a login. Copying the HTML your own browser already has avoids all three failure modes.
What HTML gets dropped in the conversion?
Inline styles, custom fonts, colours, JavaScript widgets and embedded iframes have no Markdown equivalent, so they are dropped. Structural content, headings, lists, links, tables, converts cleanly.
Can I convert JSON or CSV to Markdown too?
Yes, use our JSON to Markdown and CSV to Markdown converters. Both work the same way: free, unlimited, and entirely in your browser.