Markdown Live Previewer
Write or paste Markdown and see it rendered as you type, exactly like a GitHub README — tables, task lists, alerts and syntax-highlighted code — then export clean HTML, a PDF or the .md file.
At a glance
- Renders GitHub Flavored Markdown live: headings, lists, links, images, tables (with column alignment), task lists, strikethrough and autolinks.
- Syntax highlighting for code blocks in 20+ languages, including JavaScript, TypeScript, Python, Java, Go, Rust, SQL, Bash, JSON and YAML.
- Supports GitHub alerts (> [!NOTE], [!TIP], [!IMPORTANT], [!WARNING], [!CAUTION]), heading anchors and YAML front matter.
- Toolbar and shortcuts (Ctrl+B, Ctrl+I, Ctrl+K) for formatting, with split, write-only and preview-only views and synced scrolling.
- Export a standalone HTML page (light and dark themes), print or save as PDF, download the .md file, or copy the HTML — plus an outline and a ready-made table of contents.
- Raw HTML in your Markdown is sanitised, so scripts can’t run. Your text stays in your browser; the draft is saved on this device only (optional).
Step by step
How to preview Markdown
- 1
Write or paste
Type Markdown in the left pane, paste a README, or click Open to load a .md file.
- 2
Watch the preview
The formatted result updates as you type. Switch between Split, Write and Preview views.
- 3
Format quickly
Use the toolbar or Ctrl+B, Ctrl+I and Ctrl+K for bold, italic and links.
- 4
Export
Download an HTML page, Print / PDF, save the .md file, or copy the HTML.
Features
Everything you need, nothing you don’t
Looks like GitHub
Preview a README exactly as it will appear on GitHub — including alerts, task lists and highlighted code.
Fast formatting
Toolbar buttons and keyboard shortcuts for bold, links, lists, tables and code blocks — with normal undo.
Outline & TOC
Jump between sections, and copy a table of contents with working anchor links.
Export anywhere
A clean HTML file to share or host, a PDF for documents, or the Markdown itself.
Never lose a draft
Your text is saved in this browser as you type, and restored when you come back.
Private and safe
No sign-up and no upload. HTML inside your Markdown is sanitised before it’s shown.
Markdown cheat sheet
| You type | You get |
|---|---|
| # Heading, ## Subheading | Headings (levels 1–6) |
| bold, _italic_, ~~strike~~ | Bold, italic, strikethrough |
| text | A link |
| !alt text | An image |
| - item, 1. item | Bulleted and numbered lists |
| - [ ] task, - [x] done | Task list with checkboxes |
code, ``` for blocks | Inline code and code blocks (add a language: ```js) |
| > quote, > [!NOTE] | Quote, or a GitHub alert box |
| | a | b |, | --- | :-: | | Table (colons set the alignment) |
| --- | Horizontal divider |
Line breaks in Markdown
In README files and most Markdown documents, a single line break is ignored and lines join into one paragraph — leave an empty line to start a new paragraph, or end a line with two spaces to force a break. GitHub comments and issues are different: every line break shows. Switch on Line breaks as typed to preview that behaviour.
FAQ
Frequently asked questions
What is Markdown?
Does the preview match GitHub?
How do I convert Markdown to PDF?
Is my text saved or uploaded?
Can I use HTML inside Markdown?
Can I open a .md file?
Keep going
Related tools
HTML to PDF
Convert HTML code or an .html file to PDF with real, selectable text and clickable links. Choose A4 or Letter, margins and backgrounds. Free, no upload.
JSON Formatter & Validator
Format, validate, minify and repair JSON online. Get the exact line and column of every error, a collapsible tree view and sorted keys — private, in-browser.
Word Counter
Free online word counter: count words, characters, sentences and paragraphs as you type, with reading time, keyword density, readability and limits.
Case Converter
Change text case online: UPPERCASE, lowercase, Title Case, Sentence case, and camelCase, snake_case or kebab-case for code. Smart rules, instant, free.
XML to JSON Converter
Convert XML to JSON and JSON to XML online. Keeps attributes, arrays and leading zeros intact, shows exact error lines and never uploads your data.
DNS Lookup
Free DNS lookup: check A, AAAA, CNAME, MX, NS, TXT, SOA and CAA records of any domain, see SPF and DMARC, and do reverse DNS for an IP address.
Last updated Report a problem or suggest a feature