Free tool
Convert HTML to Markdown
Quick answer
Paste HTML and get Markdown back: headings become #, lists become - items, links keep their URLs, code blocks are fenced, and tables become Markdown tables. Scripts, styles and comments are dropped. Markdown is the format AI models read most cheaply, which is why it is worth converting pages before giving them to one.
Other formats
For a live page, use webpage to Markdown, which fetches it for you. For rich text copied from a document or a site, paste to Markdown keeps the formatting.
Frequently asked questions
Why convert HTML to Markdown for AI?
The same content in Markdown is a fraction of the tokens, with none of the tags, classes and navigation, so a model reads more of what matters for less.
Are tables kept?
Simple tables become Markdown tables. Tables with merged cells have no Markdown equivalent and come out as rows of text.
Is my HTML uploaded anywhere?
No. The conversion runs in your browser.