Skip to content
Jellykit

Markdown Preview

Drop or paste a Markdown file and read it rendered full width, with tables, task lists and code blocks styled like a README.

  • Runs on your device
Loading tool

About Markdown Preview

Got a README, a changelog or notes in Markdown and want to read them properly rather than as raw symbols? Drop the .md file here, open it or paste its text, and it is shown rendered across the whole width of the page.

Tables, task lists, strikethrough, quotes and code blocks are styled the way code hosting sites show them. Raw HTML in the file is cleaned before it is displayed, so a document from someone else cannot run scripts here. Switch to Split or Write at any time to edit what you are reading.

How it works

  1. The preview is rendered by the marked library and cleaned by DOMPurify before it is shown, so raw HTML in the Markdown cannot run scripts or restyle the page.
  2. Toolbar buttons work on the selection: inline marks wrap it (press again to remove them), and list, quote and heading buttons apply to every selected line. Ctrl+B, Ctrl+I and Ctrl+K (⌘ on a Mac) do bold, italic and link.
  3. Choose Split, Write or Preview to see both panes, only the source or only the rendered page.
  4. Save .html writes a complete page titled after the first heading, with scripts and other unsafe markup removed.

Questions

Is the file uploaded to show the preview?

No. The file is read and rendered in your browser, and nothing is sent anywhere. Images that the Markdown points at on other websites are not loaded.

Does it look exactly like GitHub?

It is close but not identical: headings, tables, lists, quotes and code blocks follow the same conventions, but code is not syntax-highlighted and emoji shortcodes such as :tada: are left as text.

Which files can I open?

Markdown files (.md, .markdown) of up to 2 MB. A plain .txt file opens too if you start from the Markdown Editor.

Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.