HTML to Markdown Converter

Your HTML never leaves your browser — everything runs on your device.

Paste HTML and get clean Markdown back — headings become # marks, links become [text](url), tables become pipe tables, and task lists become checkboxes. Scripts and styles are stripped before conversion, so nothing executable survives. It is the companion to the Markdown to HTML converter: the two pages form a bidirectional hub, so you can move either way between HTML and Markdown. This is also handy for turning web pages into clean text for LLM and RAG pipelines. Free, no signup, and your HTML never leaves your browser.

Frequently asked questions

How do I convert HTML to Markdown?

Paste your HTML and click Convert to Markdown. Headings, paragraphs, bold, italic, links, images, lists, code blocks, and tables are converted; scripts, styles, and comments are stripped. Copy the result or download it as a .md file.

Are scripts and styles kept in the output?

No. Script and style elements are removed before conversion, along with HTML comments. Only the visible content — text, links, images, lists, and tables — becomes Markdown.

What is GFM mode?

GitHub-flavored Markdown adds tables and task lists (- [x] done) on top of plain Markdown. Turn it off if you need output that works in a plain Markdown renderer without those extensions.

Is my HTML uploaded anywhere?

No. The conversion runs entirely in your browser. Your pasted HTML is never sent to a server, stored, or shared.