Markdown Previewer is a free online Markdown editor that shows your formatted text side by side as you type, styled like a README on GitHub. It supports GitHub Flavored Markdown, including tables, task lists and fenced code blocks, and exports clean HTML. Your writing stays in your browser and is never uploaded.
How to preview Markdown
- Type or paste Markdown into the left box, open a
.mdfile, or click Example to see a sample README. - The preview on the right updates as you type. On a phone, switch between Write and Preview.
- Click Copy HTML or Download HTML to use the result on a website, or Save .md to keep the Markdown.
Markdown cheat sheet
| Type this | To get |
|---|---|
# Heading | A main heading (## and ### for smaller ones) |
**bold** and _italic_ | bold and italic |
[text](https://example.com) | A link |
- item or 1. item | A bulleted or numbered list |
- [ ] task | A task list checkbox ([x] for done) |
> quote | A block quote |
`code` | Inline code; three backticks on their own lines make a code block |
| a | b | | A table row; add |---|---| under the first row for headers |
--- | A horizontal line |
Where Markdown is used
Markdown is the plain-text formatting used by README files on GitHub and GitLab, documentation sites, note apps such as Obsidian and Notion, chat apps like Slack and Discord, and many blogging platforms. Previewing it here lets you check tables and lists before you commit or publish.
Safe previews
Markdown can contain HTML, so the preview removes anything that could run code, such as scripts, event handlers, forms and javascript: links. Links open in a new tab, and images from other websites aren’t loaded, so previewing a document never contacts another server. To show code as text on a web page, use theHTML Entity Encoder; to count the words in your draft, use theWord Counter.
Frequently asked questions
Which Markdown features are supported?
GitHub Flavored Markdown: headings, bold and italic, links, images, lists, task lists, tables, strikethrough, quotes and fenced code blocks. HTML inside Markdown is shown too, with anything unsafe removed.
Why don’t images from other websites show up?
To keep your text private, this page never loads anything from other websites, including images linked in your Markdown. They will appear wherever you publish it, such as GitHub or your blog.
Can I convert Markdown to HTML?
Yes. Click Copy HTML to copy the formatted HTML, or Download HTML for a complete web page with simple, readable styling.
Is my text saved?
No. It stays in this browser tab and is gone when you close it. Click Save .md to keep a copy on your device.
Last updated