Markdown to HTML Converter
Convert Markdown to HTML: headings, bold, italic, links, images, lists, quotes and code blocks. Output is escaped and safe to paste. Runs in your browser.
Convert Markdown to HTML: headings, bold, italic, links, images, lists, quotes and code blocks. Output is escaped and safe to paste. Runs in your browser.
Markdown is quick to write, but sometimes you need the HTML, for an email, a CMS field or a static page. Paste Markdown and copy the HTML.
This converter covers everyday Markdown. Text is HTML-escaped, and javascript: links are not turned into links.
Markdown was designed by John Gruber in 2004 as a plain text way of writing that maps onto a small set of HTML elements. Each construct has a direct counterpart: a line starting with one to six hash characters becomes h1 to h6, asterisks or underscores around words become em or strong, and a blank line separates paragraphs. The original description left many edge cases ambiguous, which is why dialects such as CommonMark and GitHub Flavored Markdown exist. Two parsers can therefore render the same input slightly differently, especially for nested lists, tables and mixed emphasis.
Conversion also involves escaping. Characters such as the less-than sign, the ampersand and quotation marks must become entities in the output so that user text is never mistaken for markup. Code spans and fenced blocks are treated literally, meaning asterisks inside them stay as typed. Because this converter supports everyday syntax only, content that depends on tables, footnotes, task lists or nested lists may need a fuller library. Check the HTML against your target system, and sanitise it on the server if the original Markdown came from people you do not control.
Common syntax: headings, emphasis, links, images, lists, quotes, code and rules. Tables, nested lists and footnotes are not supported.
Text is escaped and javascript: links are blocked, but you should still sanitise HTML from untrusted sources on your server.
Nested lists are not supported yet.
No. It is converted in your browser.
In Markdown a single newline inside a paragraph is normally treated as a space. Use a blank line for a new paragraph, or end a line with two spaces for a line break, depending on your target.
No. It outputs plain semantic HTML elements. Appearance is controlled by the stylesheet of the page or email where you paste it.