loot.tools

Markdown to HTML

Paste Markdown and get the rendered HTML markup back as a copyable string. Headings, bold, italic, links, images, ordered and unordered lists, blockquotes, tables, and fenced code blocks all convert. Optionally sanitize the output to strip scripts, pretty-print it for readability, and treat single line breaks as <br>. Runs fully client-side.

Paste Markdown to get the rendered HTML source, ready to drop into an email, CMS, or static page. Headings, bold, italic, links, images, lists, blockquotes, tables, and code blocks all carry over.

Markdown
HTML

What this tool does

Write or paste Markdown and it renders the matching HTML, then hands you the source markup to copy. Unlike a Markdown editor that only shows a preview, this gives you the actual HTML tags so you can paste them somewhere that expects HTML rather than Markdown.

Where the HTML goes

Plenty of places take HTML but not Markdown: an email template, a CMS rich-text field, a comment box, or a static page you're editing by hand. Authoring in Markdown is faster and cleaner, so writing the content as Markdown and converting it here saves you from hand-writing tags.

Sanitize, pretty-print, and line breaks

Sanitizing removes anything unsafe (script tags, inline event handlers, javascript: URLs) so the output is safe to embed. Pretty-printing re-indents the markup so it's readable instead of one long line. The line-break option turns every single newline into a <br>, matching how sites like GitHub render Markdown.