Home › Developer Tools

Markdown to HTML

Convert Markdown to HTML you can paste into a CMS, with headings, lists, links, inline code and block quotes handled and every angle bracket escaped first.

0Lines
0Headings
0Links

What the converter handles - and what it deliberately does not

Headings 1 through 6, unordered and ordered lists, block quotes, fenced and inline code, bold, italic, links, horizontal rules and paragraphs are all converted. Input is HTML-escaped before any Markdown rule runs, so a stray <script> in your draft arrives in the output as visible text rather than live markup - the output is safe to paste into a comment field or a CMS that trusts you more than it should.

Tables, footnotes and reference-style links are out of scope on purpose. Those need a real parser with a specification behind it, and a half-implemented version silently mangles exactly the documents where correctness matters. If your source uses them, convert with a full implementation first and use this for the everyday cases.

Usage example

A release note is drafted in a Markdown editor and the publishing platform only accepts HTML. Paste the draft, and the counters confirm nothing was dropped: the heading count matches the outline, the link count matches the references you wrote. Copy the output and paste it - inline elements keep their spacing because the converter emits inline tags without adding whitespace around them.

When the source is generated rather than written, run the result through the HTML formatter to make the indentation readable, or check two revisions of the same document with the text diff before publishing either.

Frequently asked questions

Is the output HTML escaped or raw?

Your input is escaped first, so HTML that appears inside the Markdown becomes visible text, then Markdown rules run on the escaped text. The result is markup you can paste without auditing it for injected tags.

Why are my list items running together?

List items separated by a blank line become separate lists in some Markdown flavours. Keep list lines adjacent, or put the blank-line version in fenced code blocks if you need the literal structure.

Can I convert HTML back to Markdown?

Not with this tool. It is a one-way converter by design; reverse conversion needs a full HTML parser to decide which inline tags were emphasised text and which carried meaning.

Related tools

HTML Formatter

Indent and line-break minified HTML so nested tags are readable.

Text Diff

Compare two blocks of text line by line with a proper longest-common-subsequence diff.

Meta Tag Generator

Generate title, description and Open Graph meta tags with live length checks.