Convert Markdown to HTML

Paste Markdown, get HTML. Tables, code fences, task lists. Output is sanitised. Nothing uploaded.

Drop files here or

Why sanitising the output matters

Markdown allows raw HTML inline. That is a feature until someone pastes a document containing a `<script>` tag, and now the HTML you are about to publish to your own site carries an injection. Any Markdown to HTML converter that passes HTML straight through is a liability if you send a CMS the output.

This converter renders with Marked and then runs the result through DOMPurify, so script tags, event handlers and javascript: URLs are stripped while ordinary markup, tables and code blocks survive intact.

Rendering behaviour

What is supported, and what the sanitiser removes.

Rendering behaviourBehaviourNotes
ParserMarkedCommonMark plus GitHub tables, task lists and fenced code with language classes.
SanitiserDOMPurifyScript tags, inline event handlers and javascript: URLs are removed from the output.
TablesGitHub-flavouredPipe tables render as real table markup.
Code blocksFenced, language classA fenced js block produces a code element with the language-js class, ready for a highlighter.
OutputHTML fragmentA body fragment, not a full document, which is what a CMS field wants.
Live previewAs you typeRendered output updates without a round trip because nothing leaves the page.

Common mistakes

Questions

Is my Markdown uploaded?

No. Rendering happens in the browser tab with no network requests.

Is the output safe to publish?

It is sanitised with DOMPurify, so script tags and event handlers are stripped. Still review before publishing to a CMS.

Does it support tables?

Yes, GitHub-flavoured pipe tables render as real tables.

Does it support code blocks with syntax highlighting?

Code fences produce language class names but no highlighting. Add a highlighter on your site.

Does it produce a full HTML document?

No, an HTML fragment, which is what you paste into a CMS field.

Can it convert HTML back to Markdown?

No. This is one direction only.

Are task lists supported?

Yes, `- [ ]` and `- [x]` render as checkbox markup.

Can I download the HTML?

Yes, from the results panel.

Need this without a browser tab?

FileKit Desktop runs every conversion locally as a single offline file — no 10-file limit, batch conversion, and no network connection required. One-time $19, no subscription.

See FileKit Desktop — $19

Other converters