Skip to content

Markdown to HTML

Convert Markdown into clean, sanitised HTML with a live preview and the source. No scripts or active content are ever included.

AvailableIn your browserInput: Text

How to use: Markdown to HTML

  1. Paste or load your Markdown.
  2. Decide whether to allow images (off by default).
  3. Check the preview and download a self-contained HTML page.

What it accepts and what you get

Input
Markdown up to 2 million characters.
Output
Sanitised HTML (headings, lists, tables, code, links) and a full downloadable page.
Where your data is processed
Your data is processed in your browser and is not sent to our servers.

Limitations and notes

  • Scripts, styles, forms and embedded HTML are removed; only http(s), mailto and tel links are allowed.
  • Images are dropped unless you allow them.

Frequently asked questions

Is the HTML it produces safe?

The output is sanitised: scripts, styles, forms and embedded HTML are removed, and only http(s), mailto and tel links are allowed.

Why do my images not show up?

Images are off by default. Turn them on in the options to include them in the preview and in the downloadable page.

What is Markdown?

It is a simple way of writing with formatting using symbols: # for headings, ** for bold, - for lists and [text](link) for links. It is used in READMEs, notes and blogs.

Can I use the HTML on my website?

Yes. The result is sanitised HTML you can copy or download as a full page. If your site already has its own styles, they apply when you paste the code.

When to use it

  • When you write in Markdown and need the HTML for a website or email.
  • To get a self-contained HTML page ready to download.
  • When you write an article in Markdown and your website or email needs HTML.

Examples

README to HTML
Paste the Markdown, check the preview and download the full HTML page.
With images
Turn images on only if you need them: they are dropped by default.
An article in Markdown
You paste text using # for headings and - for lists, and get HTML with <h1> and <ul> ready to copy.

Common mistakes

  • Expecting scripts, styles or forms: they are removed.
  • Using links with other protocols: only http(s), mailto and tel are allowed.
  • Leaving lines unseparated: in Markdown a new paragraph needs a blank line in between.

Suggested next steps