Free tool · Converters
HTML to Markdown converter
Paste HTML or upload an .html file to get clean GitHub-flavored Markdown with headings, lists, tables, code blocks and links preserved. Scripts, styles and clutter are stripped. Nothing leaves your browser.
Paste HTML or try the example to see the Markdown here.How it works
Three steps, no signup.
Paste or upload
Paste HTML from a page, a CMS or an email, or upload an .html file.
Pick your options
Keep or drop images and links, and collapse extra blank lines. Headings use # and code blocks use fences.
Copy the Markdown
Copy the result or download it as a .md file for docs, a README or an LLM prompt.
FAQ
HTML to Markdown questions.
Is my HTML uploaded anywhere?
No. The conversion runs in your browser with JavaScript. The HTML never reaches a server.
Does it support tables?
Yes. HTML tables become GitHub-flavored Markdown tables. Very complex tables with merged cells have no Markdown equivalent, so those are simplified.
Why convert HTML to Markdown for LLMs?
Markdown keeps the structure (headings, lists, tables) while using far fewer tokens than HTML. Clean Markdown is easier for models to read and cheaper to send.
What happens to scripts and styles?
They are removed along with comments, forms and other non-content elements, so only the readable content is converted.
More free tools
Keep going.
Word to Markdown
Convert .docx files to Markdown without uploading them.
PDF to Markdown
Extract a PDF's text into structured Markdown, in your browser.
Word Counter
Count words, characters, sentences and reading time as you type.
Keyword Density Checker
See your top words and phrases and catch keyword stuffing.
Tools find the work. Lynx does it.
Lynx is an AI agent that builds your backlinks automatically across 2,000+ directories, forums and content platforms. Monitored for 90 days. Your first link is free.