Markdown cheat sheet
Every syntax you actually use, in one page — headings, emphasis, lists, tables, code and the escapes that trip people up.
- Free, no sign-up
- Runs locally
- Works offline
Markdown cheat sheet
Headings
Heading 1
# Heading 1
Heading 2
## Heading 2
Heading 3
### Heading 3
Heading 4
#### Heading 4
Paragraph text
Paragraph text
Emphasis and inline code
Bold
**Bold**
Italic
*Italic*
Strikethrough
~~Strikethrough~~
Bold italic
***Bold italic***
Inline code
`Inline code`
Lists and quotes
Bullet list
- Bullet list
Numbered list
1. Numbered list
Nested item
- Nested item
Blockquote
> Blockquote
Task list
- [x] Task list
Links, images and tables
Link
[Link](https://example.com)
Image

Table
| Name | Value |
| :--- | ----: |
| Table | 42 |
Horizontal rule
---
Line break
Line break
Line break
Frequently asked questions
Is this the same Markdown GitHub uses?
Mostly. GitHub uses GitHub Flavored Markdown, a superset of CommonMark that adds tables, task lists and strikethrough — all included on this page.
How do I show a literal asterisk?
Escape it with a backslash: \* renders as an asterisk instead of starting emphasis. The same trick works for underscores, backticks and pipes.
Why do my line breaks disappear?
A single newline is not a line break in CommonMark. End the line with two spaces, or insert a blank line to start a new paragraph.
Related tools
- Markdown editor with live previewWrite on the left, watch the document take shape on the right. Autosave, outline navigation and exports are all built in.
- Markdown document workspaceFolders, tabs and one editor for every document. The whole workspace is stored in this browser — no account, no upload.
- Markdown viewer for any .md fileDrop a Markdown file or paste its contents and read it the way it was meant to look — with an outline and highlighted code.
- Markdown to HTML converterPaste Markdown, get clean semantic HTML you can drop into a CMS, blog template or email. Conversion runs locally.
- Markdown to PDF converterLay out Markdown as a print-ready document with A4 or Letter paper, custom margins and three typographic styles.
- Markdown to Word converterProduce a .doc file that opens in Word, WPS Office and Google Docs with your heading hierarchy and tables intact.