Skip to main content
ConduitTools by ConduitCode Labs

Converters

Markdown to HTML Converter

Turn Markdown into HTML you can paste into a page, a CMS or an email. Tables, task lists and code blocks are supported, and a preview shows how it will read.

  • Free
  • No sign-up
  • Runs in your browser
Quick guide

How to use this tool

  1. Type or paste Markdown, drop a .md file, or press Sample.

  2. Choose whether to show the HTML code or a Preview. GitHub style adds tables and task lists, Line breaks become <br> starts a new line at every line break, Keep HTML written in the Markdown passes your own HTML through (only for content you trust), and Full HTML page adds a doctype, head and title.

  3. Press Copy HTML or Download. The counts below show the headings, links, images and code blocks found.

How to use this tool
  1. Type or paste Markdown, drop a .md file, or press Sample.

  2. Choose whether to show the HTML code or a Preview. GitHub style adds tables and task lists, Line breaks become <br> starts a new line at every line break, Keep HTML written in the Markdown passes your own HTML through (only for content you trust), and Full HTML page adds a doctype, head and title.

  3. Press Copy HTML or Download. The counts below show the headings, links, images and code blocks found.

Waiting for Markdown
MarkdownType or paste, or drop a .md file
HTMLCopy the code, or check the preview
Nothing to convert yet

Write or paste Markdown, or load the sample, to see the HTML.

0 BInput size
—Output size
What it handles

Markdown in, tidy HTML out.

Markdown is easy to write and HTML is what the web needs. Paste one and get the other, with the details that usually go wrong handled for you.

Clean, standard HTML

Headings, lists, links, emphasis, quotes and code blocks become the matching HTML tags. Choose a full page with a doctype and title, or just the body markup.

GitHub-style extras

Tables, task lists, strikethrough and fenced code blocks work as they do on GitHub. Turn GitHub style off to use the original Markdown rules.

Safe by default

HTML typed into the Markdown is shown as text unless you ask to keep it, and links that would run a script, such as javascript:, are removed.

Frequently asked questions

Is the HTML safe to publish?

By default, yes: HTML written inside the Markdown is escaped so it shows as text, and links using javascript: and similar schemes are dropped. If you turn on Keep HTML, whatever you typed is passed through as written, so only do that with content you trust.

What is GitHub style?

GitHub Flavored Markdown adds tables, task lists such as - [x] done, strikethrough with ~~text~~, and links that are detected without brackets. Without it you get the original Markdown, which has none of those.

Why does a single line break not start a new line?

In Markdown a single line break inside a paragraph is treated as a space, and a blank line starts a new paragraph. Turn on Line breaks become br to make every line break a new line, as GitHub comments do.

Does the preview match my site's styling?

No. The preview shows the structure of the HTML in this tool's own styles, so it will look different once your site's CSS is applied. Images are named rather than loaded, so previewing never contacts another site.

Can I convert HTML back to Markdown?

Not with this tool. It converts Markdown to HTML only.

Keyboard shortcuts

CtrlK
Search all tools
/
Search the directory (on the homepage)
CtrlEnter
Copy or download the result
CtrlShiftEnter
Generate a new password or new text
?
Show this list
Esc
Close a dialog or menu