Markdown to HTML Converter

Convert Markdown to HTML in your browser. Tables, task lists and footnotes included. Preview it, then copy or download the HTML.

Loading tool…

How it works

Paste Markdown

Paste Markdown, open a .md file up to 5 MB, or drop one on the box. It is read in this tab and never uploaded.

Pick the options

Keep raw HTML or turn it into text. Add heading ids, or wrap the result in a full HTML document.

Copy or download

Check the preview, then copy the HTML or download it as an .html file.

Which Markdown does it follow?

CommonMark 0.31.2 plus GitHub Flavored Markdown: tables, task lists, strikethrough, bare URLs as links, and footnotes. 638 of the 652 CommonMark spec examples come out exactly as the spec shows. The other 14 differ on purpose: GFM rules, and links outside the allowed schemes emptied.

Source: CommonMark 0.31.2 · GFM 0.29 · GitHub footnotes

What happens to raw HTML?

Keep copies it as written, as CommonMark does, except that script, style, iframe, textarea, title, xmp, noembed, noframes and plaintext tags become text. Escape as text turns all raw HTML into text. Markdown links keep http, https, mailto, irc, ircs, xmpp and relative URLs; images keep http, https and relative ones. Any other scheme, tel: and ftp: included, gets an empty URL. Raw HTML you keep is not changed.

Source: CommonMark raw HTML · GFM tag filter

Is the preview safe?

The preview is an iframe with an empty sandbox: no scripts, forms, popups, redirects or access to this page, and only images with full URLs load. Links cannot open tabs or leave the frame. The HTML you copy has no sandbox: event handlers in raw HTML you keep will run wherever you paste it.

Source: HTML iframe sandbox

What about front matter?

A YAML block at the very top is removed: a --- line, then key: value lines with no blank line between them, then --- or .... Markdown would otherwise turn it into a horizontal rule and a heading. Any other --- stays a rule.

Source: CommonMark setext headings

Need content from a website, not a file?

Browser Use agents open pages in a real browser, including dynamic ones, and return structured data.