Skip to content
Markdown → HTML
Sanitized live preview · raw HTML source to copy.
Blog

Markdown → HTML.

Preview tables, code and quotes; inspect the raw HTML source.

Input

Getting ready. Input becomes available when the tool is ready. If this message stays, reload or check that JavaScript is enabled. Use test documents only. Do not enter live credentials or sensitive documents.

Output

The formatting preview shows image alt text and link labels without navigation. Raw HTML and media are not rendered.
Copyable HTML is the unsanitized original. Sanitize it again for the service where you publish.

Output appears here.

Markdown formatting and raw HTML source

Use a test document to preview tables, code, quotes and strikethrough. Switch to HTML source to inspect the original conversion. That source is not sanitized for publication.

The preview is sanitized

Rendered HTML is passed through DOMPurify before it touches the page, so a <script> or onerror attribute hidden in the Markdown cannot run. The copyable HTML source is the raw conversion — sanitize again on your own server if you accept untrusted input.

Images appear as alt text and links as non-clickable labels. Raw HTML and embedded media are omitted before browser parsing; the preview is deliberately not a full web-page renderer. Their original markup remains in source view, which displays text rather than running it.

Where conversion happens

This converter processes the Markdown in your browser and does not send the text to a conversion endpoint. That does not control browser extensions or the service where you later paste the copied HTML. Avoid using real secrets as test input.

FAQ

Does a single line break become a <br>?
No — it follows standard Markdown, where one newline is a soft wrap. Leave a blank line between paragraphs, or end a line with two spaces for a hard break.
Can I paste raw HTML inside the Markdown?
Yes, it passes through in the source but is not rendered in the formatting preview. HTML shown inside a fenced code block remains readable code, not a live element.