Skip to content
migration.tools
Markdown to HTML

Markdown to HTML converter

Moving Markdown content into a CMS, an email tool or a legacy system that only takes HTML? Convert it with GitHub-flavoured Markdown rules, as a fragment to paste or a complete page.

Going the other way? HTML to Markdown

Options

Markdown

HTML

The result appears here as soon as there is input.

Processed on this device. Nothing you paste or drop is uploaded.

How to use it

  1. 1Paste your Markdown or drop a file onto the input panel.
  2. 2Adjust the options — the result updates as you type.
  3. 3Copy the HTML or download it. Drop several files to convert a batch into one ZIP.

Fragment or full document

A fragment is just the converted content — what you want when pasting into a CMS field or a template. A full document adds the doctype, charset, viewport and a title taken from the first heading, so the file opens correctly on its own.

Raw HTML inside your Markdown is passed through unchanged, as the Markdown specification says it should be. If the Markdown comes from people you don't trust, sanitise the HTML before publishing it.

Questions

Which Markdown flavour is supported?

CommonMark plus GitHub-flavoured extensions: tables, strikethrough, task lists, autolinks and fenced code blocks.