Free tool

HTML to Markdown.

Paste HTML or drop an .html file and get clean Markdown — headings, nested lists, code blocks and GitHub-flavored tables. It runs entirely in your browser. Copy it, save a .md, or keep the rendering and publish the page as a link people can comment on.

index.html
873 B

Publishes the HTML — charts, styling and all — to Comma: one URL, private or open to anyone with the link, and readers can comment on the exact paragraph, table row or chart. Free, no card.

What survives the conversion

Markdown is a smaller format than HTML, so converting is lossy by definition. Structure survives — headings, lists and their nesting, quotes, code blocks with their language, links, images, and tables as GitHub-flavored pipe rows. Presentation does not: <style> blocks, classes, inline CSS, layout containers and scripts have no Markdown equivalent and are left behind, and their contents are flattened into the surrounding text.

That trade is right when the destination is a README, a ticket, a docs site or an agent prompt. It is the wrong trade when what mattered was the rendering — a coverage report, a notebook export, a dashboard screenshot-in-HTML. For those, publish the HTML itself and keep the pixels.

Questions

How do I convert HTML to Markdown?
Paste the HTML into the editor on this page, or drop an .html file onto it. The Markdown appears on the right as you type — copy it, download a .md file, or publish the original HTML as a shareable link. Nothing installs and nothing uploads.
Which HTML elements are converted?
Headings, paragraphs, bold, italic, strikethrough, inline code, fenced code blocks (including the language hint from a highlighter's class), links with titles, images, ordered and unordered lists with nesting, blockquotes, horizontal rules, and tables — which become GitHub-flavored pipe tables. Anything else keeps its text content rather than being dropped.
What happens to a table with merged cells?
Pipe tables have no syntax for rowspan or colspan, so a table that uses them is flattened to its text instead of being converted into a table that quietly misreports the data. Split the merged cells first if you need the grid.
Is my HTML uploaded anywhere?
No. The conversion runs in your browser using the browser's own HTML parser, and the preview renders in a sandboxed iframe on this page. The content only leaves your machine if you click “Get a shareable link” and create a report.
Is it safe to paste HTML I didn't write?
Yes. Parsing HTML never executes it, and the preview runs in a sandboxed iframe with no access to this site or your account. Scripts in the source are ignored by the converter and stay inside the sandbox in the preview.
Why would I share the HTML instead of the Markdown?
Because Markdown loses the thing you converted from: the charts, the layout, the styling. If the goal is for someone to read the report rather than to edit the text, publish the HTML to Comma — one URL, renders identically for everyone, and readers comment on the exact paragraph or table row.
Can an AI agent do this without the browser?
Yes. Agents post HTML or Markdown straight to Comma over the REST API or the MCP server with a comma_sk_… token, which is how Claude Code, Cursor and VS Code publish a report at the end of a run.

Working the other way round? Markdown to HTML · HTML viewer · CSV to HTML table · all free tools · report types