Markdown to HTML converter

Write or paste Markdown on the left and get HTML on the right, with a live preview of how it will look.

Private: works in your browser, nothing is uploaded.

How to use the Markdown to HTML tool

  1. Paste or type Markdown.
  2. Turn GitHub Flavored Markdown and line breaks on or off.
  3. Check the preview.
  4. Copy the HTML or download it as a file.

Supported syntax

  • Headings, bold, italic, links and images.
  • Ordered and unordered lists, task lists with [ ] and [x].
  • Tables with alignment, fenced code blocks with a language, blockquotes.
  • Strikethrough and automatic links (GitHub Flavored Markdown).

Where to use it

Turn a README or documentation into HTML for a website, prepare a newsletter or blog post written in Markdown, or check how a GitHub comment will render. Conversion uses the marked library.

Privacy

Everything runs in your browser. Your files and text are not uploaded to our server or stored anywhere. The preview is shown in a sandbox, so scripts inside the HTML do not run.

Frequently asked questions

Is the HTML safe to put on my website?

Markdown can contain raw HTML, which is passed through. If the Markdown comes from untrusted users, sanitize the HTML before publishing.

Does it add CSS?

No. You get clean HTML without styles, so it inherits the styles of your site.

What does “line breaks as br” do?

A single line break in the text becomes a line break in HTML, like in GitHub comments. By default, it is joined into the same paragraph.

Can I convert back?

Yes, with the HTML to Markdown converter.