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.
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.
How to use this tool
Type or paste Markdown, drop a .md file, or press Sample.
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.
Press Copy HTML or Download. The counts below show the headings, links, images and code blocks found.
How to use this tool
Type or paste Markdown, drop a .md file, or press Sample.
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.
Press Copy HTML or Download. The counts below show the headings, links, images and code blocks found.
Write or paste Markdown, or load the sample, to see the HTML.
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.
Tables, task lists, strikethrough and fenced code blocks work as they do on GitHub. Turn GitHub style off to use the original Markdown rules.
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.
