Skip to main content
Tools

Markdown Preview

Preview Markdown live with GitHub Flavored tables, task lists and strikethrough, then copy the HTML or download .html and .md files.

0 characters · 1 line

Preview

Loading the previewer…

How to use

  1. Type or paste Markdown on the left (on top on phones), or click “Example” to try it out.
  2. The preview on the right updates as you type, with headings, lists, tables, task lists, strikethrough, code blocks and links.
  3. To turn every line break into a new line (as in GitHub comments), turn on “Treat single line breaks as <br>”.
  4. Click “Copy HTML” for the converted HTML, or download it as an .html page or the source as an .md file.

FAQ

Is my text uploaded?

No. Converting and previewing happen in your browser, and your content is never sent to a server.

Which Markdown syntax is supported?

CommonMark plus GitHub Flavored Markdown (GFM): headings, bold, italics, lists, quotes, code, links, tables, task lists (- [ ] and - [x]), strikethrough (~~text~~) and autolinks. You can mix in HTML tags too, but anything unsafe is removed.

Why are my images not shown?

Showing an image from the web makes your browser contact the site that hosts it, which then learns your IP address and when you looked. So that this tool never sends a request to another site, image addresses are not loaded in the preview; a box marked “external image not loaded” shows the alt text instead. Images embedded as data: URLs need no network and display normally. Copied or downloaded HTML keeps the original image addresses, so they appear when you open it elsewhere.

Is HTML or JavaScript inside Markdown safe?

The converted HTML is cleaned with DOMPurify before it is shown: <script>, event attributes such as onerror, javascript: links, iframes, forms and inline styles are removed, so Markdown from an unknown source cannot run code on this page. Copied and downloaded HTML is the cleaned version too.

What happens when I click a link in the preview?

It opens in a new tab, so you stay on this page and keep what you typed. The linked site is only contacted when you click.

What does the downloaded .html file look like?

A complete web page with your content and simple styling that any browser can open. Its title is the first heading of your document.

Keyboard shortcuts

/
Search tools (on a tool page, goes to the homepage search)
?
Show this help
Esc
Close a dialog
Ctrl / ⌘Enter
Run the tool's main action (where supported)

While you type in a text field, / and ? are typed as usual.