Markdown Preview

Paste a README, a set of notes or a chat answer written in Markdown, and read it the way it will look once rendered.

How it works

Your Markdown is parsed in your browser by marked, a widely used open-source parser. It follows CommonMark and adds the GitHub extras: tables, task lists, strikethrough and fenced code blocks.

The parsing runs in a background worker with a 3-second limit. A few unusual inputs, such as thousands of unclosed asterisks, can make any Markdown parser very slow. The limit stops that without freezing the page.

Before the result is shown, it is cleaned. Scripts, event handlers and javascript: links are removed, so a pasted file cannot run code on this page. Images from other websites are not loaded until you press Load them.

How to use it

  1. 1 Type or paste your Markdown into the box.
  2. 2 Read the rendered version under Preview. It updates a moment after you stop typing.
  3. 3 If a notice says images from the web are not loaded, press Load them to see them.
  4. 4 Edit the Markdown and watch the preview follow.

Good to know

  • Headings get the same anchors GitHub gives them, so a link such as [Install](#install) jumps to the right place in the preview.
  • A line break inside a paragraph does not start a new line. End the line with two spaces or a backslash, or leave a blank line for a new paragraph.
  • To write a literal asterisk or underscore, put a backslash before it: \* or \_.
  • Links in the preview open in a new tab, so following one does not lose what you pasted.

Browser support

  • Chrome 94 and later
  • Firefox 93 and later
  • Safari 16.4 and later
  • Edge 94 and later

These are the oldest versions with everything the tool uses. They are worked out from the tool itself, so they change when it does.

Version numbers checked on 2026-09-04.

Checking a README before you push it

A common reason to preview Markdown is a README that is about to go public. You write it in an editor that shows plain text, push it, and then see on GitHub that the table is broken or the list has merged into a paragraph. Pasting it here first shows those problems while they are still cheap to fix.

Take this small example. The first line is "# Parcel tracker". Under it is the sentence "Track parcels from the command line." Then comes a heading "## Install", followed by a fenced code block with "npm install -g parcel-tracker". Last is a heading "## Options" with a table that has a header row "| Flag | Meaning |", a divider row "|---|---|" and one row "| -q | Quiet mode |". In the preview you see a large title with a rule under it, the sentence, a grey code box, and a two-column table with a bold header row.

Now make the two most common mistakes. First, delete the blank line between "## Options" and the table. Nothing changes, because a table may follow a heading directly. Next, delete the divider row "|---|---|". The table turns into plain lines of text with pipes in them, because GitHub tables need that row to exist. Put it back, then add a list straight after a paragraph line with no blank line between them. A dash list still renders, but a numbered list that starts at 2 does not: CommonMark only lets a list interrupt a paragraph when it starts at 1. The preview shows these rules in action, so you learn them by seeing them.

Links are worth a check too. If the README says "see [Options](#options)", click it in the preview and it scrolls to the Options heading, because the anchors follow GitHub's rule: lower case, punctuation dropped, spaces turned into hyphens. A link written as "#Options" with a capital O will not work on GitHub either, and you can catch that here.

The preview has limits. It shows CommonMark with GitHub's table, task list and strikethrough extensions, and nothing beyond that. Footnotes, math, emoji shortcodes such as :tada:, GitHub alerts and Mermaid diagrams appear as plain text. Relative image paths such as "docs/screenshot.png" point at files on your computer or in your repository, which this page cannot see, so they show as empty boxes. And a document larger than one million characters is refused rather than slowing your browser down.

Frequently asked questions

Does this look the same as GitHub?

The structure is the same: GitHub also uses CommonMark with the same table, task list and strikethrough extensions, and the same heading anchors. The styling is this site's, so fonts and spacing differ. GitHub-only features such as @mentions, issue links, emoji shortcodes, alerts and Mermaid diagrams are not rendered here.

Is my text uploaded anywhere?

No. The Markdown is parsed in your browser, in a background worker, and the result is shown on this page. Nothing is sent to a server. The only network requests a preview can make are for images from other websites, and those wait until you ask for them.

Why are some images not showing?

Images whose address points to another website are held back. Loading one tells that site that someone opened the document, which is how tracking pixels work. Press Load them to show them. Images written into the document itself, as data: addresses, always show.

Can HTML inside Markdown run scripts here?

No. Markdown allows raw HTML, and this preview keeps harmless tags such as <details> or <kbd>. Everything is cleaned with DOMPurify first, which removes <script> tags, onclick and onerror handlers and javascript: links. Style sheets and forms are removed too.

Related tools

Your files are processed on your device and are not uploaded. You can verify this in your browser’s developer tools under the Network tab.