Home › Developer Tools › Markdown to HTML Converter

Markdown to HTML Converter

Write or paste Markdown, see it rendered, and copy the HTML or download a complete web page.

Open a .md file or paste below

How to use Markdown to HTML Converter

  1. Type or paste Markdown, or open a .md file.
  2. Check the preview, or switch to HTML code.
  3. Copy the HTML, download it, or download a styled web page.

Supported syntax

Headings, bold and italic, links, images, lists, block quotes, inline code and fenced code blocks, horizontal rules, plus GitHub extras: tables, task lists (- [x]), strikethrough and automatic links. It uses marked, a fast, standards-following Markdown parser.

Safe preview

Markdown may contain raw HTML. The preview is cleaned with DOMPurify, so pasted scripts never run on this page. The HTML code shows exactly what marked produced, so check content from strangers before putting it on a website.

Frequently asked questions

What are heading IDs?

With the option on, each heading gets an id (e.g. id="whats-new") so you can link to #whats-new.

Can I convert HTML back to Markdown?

Not with this tool yet.

Is my text uploaded?

No, it's converted in your browser.

What's in the full web page download?

A complete .html file with a title and simple, readable styles.

Related tools

More Developer Tools