Local browser utility

Markdown to HTML

Convert Markdown to HTML in your browser, including tables and task lists, with raw HTML escaped by default and a sandboxed rendered preview.

Raw HTML is escaped by default. Turning that off passes tags through untouched, which is what you want for trusted notes of your own and never what you want for Markdown someone else wrote. Link and image URLs are always restricted to safe schemes.

Questions About This Tool

Why is my HTML showing as visible text?

Because escaping is on, which is the default. It is what stops a document you did not write from injecting tags. If the Markdown is your own and deliberately contains HTML, turn escaping off — but not for anything user-submitted.

Which flavour of Markdown is this?

The CommonMark core plus four GitHub extensions: tables, task lists, strikethrough and autolinks. Reference links, footnotes and definition lists are not implemented and render as their source text rather than disappearing.

Is the preview safe?

Yes. It renders inside an iframe with a sandbox attribute and no allow-scripts token, so scripts, forms and same-origin access are all disabled. The markup displays but cannot execute.

Why did my single line break disappear?

Markdown treats a single newline inside a paragraph as a space. End the line with two spaces for a hard break, or switch on the newline option to make every line break render as one.

Can it highlight code inside fenced blocks?

No. The language you write after the opening fence becomes a class on the code element, which is what a highlighting library expects, but no highlighting is applied here.

Is my document uploaded to convert it?

No. Conversion happens in your browser and the preview is sandboxed. There is no request while you convert, which the network tab will confirm.