HTML to Markdown Converter
Turn an HTML file or pasted HTML into clean Markdown. Scripts, styles and markup stripped; headings, links, lists, tables and code blocks kept. Nothing is stored.
Your help center exports as HTML. So does the CMS, the knowledge base you're migrating away from, and every email template the team has ever built. It's the right format for a browser and the wrong one for anything else: a 400-word article arrives wrapped in divs, class names, inline styles and a tracking script, and the person who needs the 400 words spends ten minutes cleaning it up.
Paste the HTML, or choose an .html file up to 10 MB, and this tool converts it to Markdown. Each tag becomes its Markdown equivalent — h1 to h6 become headings, a becomes a link, ul and ol become lists, table becomes a table, pre becomes a code block — and script, style and everything with no visible text is removed. No model is involved; the conversion runs on Cloudflare's document-to-Markdown service, in memory, and is not kept. This is the format an agent reads — the same conversion powers WireDesk's knowledge ingestion.
This ran once, on one input. The product runs on your whole site, every conversation.
Convert your whole help center into an agent — start freeWhat each input means
- 01
Choose a file or paste the HTML
Either an .html or .htm file up to 10 MB, or the markup itself in the text box. A fragment is fine — you don't need html, head or body tags. If you're copying from a page's source, paste only the article's container to skip the navigation and footer.
- 02
Convert to Markdown
Press the button. The markup is sent once over HTTPS, converted, and dropped. Scripts are never executed, only removed, so pasting a page with tracking code in it is safe. The output is deterministic: the same input returns the same Markdown.
- 03
Copy the result
Copy to the clipboard. Links and images keep their original href and src, so relative paths like /help/returns point nowhere outside the site they came from. Search for ]( and prefix the domain if the Markdown needs to stand on its own.
Questions about this tool
Just the article, if you can find its container. Paste the whole source and you also get the header, navigation, footer and cookie banner as Markdown, which you'll then delete by hand. If the page is live on the web, the webpage to Markdown tool fetches it by URL and drops the boilerplate for you.