About HTML to Markdown
This free HTML to Markdown converter turns HTML into clean GitHub-flavoured Markdown: headings, lists, links, bold and italic text, code blocks and tables. Paste HTML code, drop an .html file, or simply select part of a web page, copy it and paste it into the box: the formatting is converted, not just the plain text.
With “Main content only” on, menus, headers, footers and sidebars are skipped, so you keep the article and nothing else. Scripts, styles and forms are always removed. You see an estimate of the tokens the Markdown uses and can split it into chunks for an AI chat. Everything happens in your browser.
How to use HTML to Markdown
- 01
Paste HTML, copy part of a web page and paste it, or drop an .html file.
- 02
Keep “Main content only” on to skip menus and footers.
- 03
Copy or download the Markdown.
When to use it
- Saving an article as Markdown to paste into ChatGPT or Claude.
- Moving old HTML pages into a Markdown-based site or a GitHub README.
- Cleaning up content copied from a CMS or an email before editing it.
- Turning an HTML table into a Markdown table.
- Collecting web research as Markdown notes.
Frequently asked questions
Can I paste a web page directly?
Yes. Select part of a page in your browser, copy it and paste it into the box: the formatting is converted, not just the plain text.
Which Markdown flavour is used?
GitHub-flavoured Markdown: # headings, - lists, fenced code blocks and pipe tables.
Is anything sent to a server?
No. The conversion happens in your browser.