Markdown preview
Type Markdown on the left, see the rendered page on the right.
Preview
Nothing to render yet.
This runs in your browser. Nothing is uploaded.
About Markdown preview
Renders Markdown beside the source as you type, in your browser, so a draft never has to be pasted into someone else's preview box.
I write README files and notes in Markdown and I still do not trust most 'preview this gist' pages. The draft is often a changelog with unreleased details, or a personal note, or a document that names a client. Shipping that to a preview SaaS so I can see whether a heading rendered is a bad trade.
Type on the left; the right pane updates from the same tab using a Markdown parser that runs locally. GitHub-flavoured tables, fenced code, and line breaks are on. Raw HTML in the source is parsed, then stripped of scripts, iframes, and event handlers before it hits the preview, because a Markdown file you were sent can still carry a surprise.
This is a preview, not a CMS. There is no file tree, no front-matter editor, and no export-to-PDF. Copy HTML if you need the rendered markup for somewhere else. If you want a word count on the same draft, the word counter is a click away and uses the same 'it never leaves' rule.
How to use Markdown preview
- 1Paste or type Markdown in the left pane, or load a .md file.
- 2Read the rendered preview on the right as you edit.
- 3Copy HTML from the side panel if you need the markup.
What it won't do
- No live-reload from disk, no multi-file book mode.
- Sanitising is practical, not a guarantee against every HTML trick.
Common questions
Which Markdown flavour does the preview follow?
GitHub-flavoured Markdown with line breaks turned on, via the marked parser. That covers the headings, lists, code fences, links, and tables most README files use. Obscure extensions from one specific wiki engine are not emulated.
Can a Markdown file I preview run JavaScript in the page?
The renderer removes script, iframe, object, embed, and style tags, and drops attributes that start with on or javascript:. That is sanitising, not a formal security boundary. Do not treat this tab as a sandbox for hostile HTML documents.
Does the Markdown preview upload the draft to render it?
No. Parsing and sanitising happen in the page. Turn the network off after load and the preview still updates. If a site needs a server to render Markdown, it is not doing what this one does.
Related tools
Why this one doesn't upload your file
There is no server to upload to. This page is a static file, and the work happens in your browser using the same graphics and WebAssembly code that renders every other site you visit. Your file is read from disk into memory, processed, and handed back as a download. Once the page has loaded you can disconnect from the network entirely and it keeps working. The longer explanation