Free tools / HTML to Markdown
HTML to Markdown
Paste HTML or copy part of a web page and get clean Markdown: headings, lists, links, tables and code blocks. Scripts, styles and tracking parameters are removed. Everything runs in your browser.
Is there personal data in what you are about to paste into an AI chat? Scrub it first, also in your browser.
How it works
Paste
Paste HTML source, or copy part of a web page and paste that. The formatting comes along.
Choose what to keep
Keep or drop links and images, and remove tracking parameters from links.
Copy the Markdown
Edit the result if you like, then copy it or download a .md file.
Questions
What is converted?
Headings, paragraphs, bold and italic text, lists, links, images, block quotes, code blocks with their language, horizontal rules and tables. Scripts, styles, forms and embedded frames are dropped.
Why convert HTML to Markdown before pasting it into an AI chat?
Markdown keeps the structure of a page and leaves out the markup. The same content usually takes far fewer characters, which leaves more room for your question. The tool shows how much smaller the result is.
What are tracking parameters?
Additions to a link such as utm_source or fbclid that tell a site where you came from. They are removed from links so the Markdown is shorter and cleaner. You can switch this off.
Is my data uploaded?
No. The conversion runs in JavaScript on this page, on your own computer. There is no account and nothing you paste is sent to a server. Once the page has loaded it keeps working without an internet connection.
More free tools
- Table converter: Any table in, Markdown, CSV, JSON or HTML out.
- Excel to Markdown: Copy cells in Excel or Sheets, get a Markdown table.
- CSV to Markdown: CSV with commas, semicolons or tabs to a Markdown table.
- Markdown table to Excel: Turn a table from an AI answer into spreadsheet cells.
- CSV to JSON: One JSON object per row, numbers as numbers.
- HTML table to Markdown: Table HTML or a copied web table to Markdown.
- Word and Google Docs to Markdown: Paste formatted text, get Markdown with headings and lists.
- Scrub online: hide emails, phone numbers, IBANs and API keys in text before you paste it into an AI chat.
Do this on any page in one click
Copy for AI turns a selection or a whole web page into clean Markdown, without menus, ads or tracking links. Free, no account.