←

Markdown safe preview

Instructions for use
Generate a preview after entering Markdown. The tool supports headings, paragraphs, lists, quotes, breaks, bold, italics, strikethrough, inline code, code blocks, and links; raw HTML is always escaped as text, and links only allow HTTP, HTTPS, mail, and secure relative addresses.

Markdown syntax cheat sheet

# Heading 1 and ## Heading 2; **bold**, *italic*, ~~strikethrough~~; lines starting with - or 1. are lists; > starts a quote; `code` is inline code and three backticks fence a code block; [text](https://example.com) is a link; --- on its own line is a horizontal rule; leave a blank line between paragraphs.

Frequently asked questions

Why do my HTML tags show up as text?

For safety, the tool escapes all raw HTML in the input as plain text and never runs scripts, styles or event attributes. Use Markdown syntax for formatting instead, such as **bold** rather than <b>.

Why were some links blocked?

Only http, https, mailto and safe relative addresses are allowed. Protocols such as javascript:, data: and vbscript: can be used to run malicious code, so they are removed and the page reports that unsafe links were blocked.

Are tables, images or task lists supported?

Not at the moment. The tool handles headings, paragraphs, lists, quotes, horizontal rules, bold, italics, strikethrough, inline code, code blocks and links; other syntax is shown as plain text.

Can I export Markdown to an HTML file?

Yes. After generating the preview, click Copy HTML or Download HTML to get safe HTML with escaped content and checked links, ready for a web page, email template or CMS. Content can be up to 200,000 characters, and Ctrl+Enter or Command+Enter previews quickly.

Markdown safe preview

All conversions are done in the local browser. The tool will not execute HTML, script or event attributes in the input, and will block the JavaScript, Data and VBScript protocols. Press Ctrl+Enter or Command+Enter for a quick preview.

settings