Paritian

Developers

Markdown to HTML Converter

Turns Markdown into clean HTML, with everything escaped safely first.

Results

HTML <h1>Shopping list</h1> <p>For <strong>Saturday</strong>, from the market on <em>Rua Nova</em>.</p> <ul> <li>Two loaves of bread</li> <li>A kilo of tomatoes</li> <li>Coffee, if it is not <a href="https://example.com">that brand</a></li> </ul> <blockquote><p>Remember to take the blue bag.</p></blockquote>
Lines 9
Size after 304 B

What this tool does

Markdown exists so that a plain text file can carry structure without becoming unreadable, and converting it to HTML is how that structure reaches a browser. This handles the part of the syntax that people actually write: headings, lists, quotes, code fences, links, emphasis. The input is escaped before anything else happens, so pasting a document from an untrusted source produces text on the page rather than markup that runs.

Formula

headings, lists, quotes, code blocks, bold, italic and links

Variables

SymbolMeaningUnit
textMarkdown
OUTHTML
LNLines
SASize afterB

Worked example

  • Markdown# Shopping list For **Saturday**, from the market on *Rua Nova*. - Two loaves of bread - A kilo of tomatoes - Coffee, if it is not [that brand](https://example.com) > Remember to take the blue bag.
  • HTML<h1>Shopping list</h1> <p>For <strong>Saturday</strong>, from the market on <em>Rua Nova</em>.</p> <ul> <li>Two loaves of bread</li> <li>A kilo of tomatoes</li> <li>Coffee, if it is not <a href="https://example.com">that brand</a></li> </ul> <blockquote><p>Remember to take the blue bag.</p></blockquote>
  • Lines9
  • Size after304 B

Limitations

  • The calculation runs entirely in your browser. The values you type are never sent to a server.
  • For work that must comply with a standard or be signed off, check the result against the applicable code and have it reviewed by a qualified engineer.

Frequently asked questions

Which Markdown does it support?

A deliberately chosen subset, not the whole of CommonMark: headings with hashes, unordered and ordered lists, blockquotes, fenced code blocks, horizontal rules, paragraphs, and inline bold, italic, strikethrough, code, links and images. What is not here is tables, footnotes, reference-style links, nested lists and raw HTML passed through. Everything in the input is HTML-escaped first, so a document containing a script tag produces visible text rather than a script.