Markdown Preview
Write Markdown on the left and see the rendered HTML preview instantly. Copy the generated HTML with one click.
Markdown
Preview
Hello, Markdown!
Write your markdown here and see the live preview on the right.
Features
- Bold, italic,
strikethrough - Links
inline codeand code blocks
const greet = name => `Hello, ${name}!`;
Blockquotes are supported too.
| Column A | Column B |
|---|---|
| Cell 1 | Cell 2 |
What is Markdown?
Markdown is a lightweight markup language created by John Gruber in 2004. Its goal: allow writers to format text using plain characters that are readable as-is, while also rendering beautifully to HTML. The name is a pun on HTML's “markup” — Markdown is the opposite, a “mark down” language.
Today Markdown is the de-facto standard for README files (GitHub), API documentation (Stripe, Twilio), static site generators (Hugo, Jekyll, Astro), note-taking apps (Obsidian, Notion), and chat platforms (Slack, Discord).
Markdown Syntax Cheatsheet
| Markdown | Rendered output |
|---|---|
| # Heading 1 | <h1>Heading 1</h1> |
| ## Heading 2 | <h2>Heading 2</h2> |
| **bold** | <strong>bold</strong> |
| *italic* | <em>italic</em> |
| `inline code` | <code>inline code</code> |
| ```js\ncode\n``` | <pre><code class="language-js">code</code></pre> |
| [Link](https://example.com) | <a href="...">Link</a> |
|  | <img alt="Alt" src="image.png"> |
| > Blockquote | <blockquote>Blockquote</blockquote> |
| - Item\n- Item | <ul><li>Item</li></ul> |
| 1. First\n2. Second | <ol><li>First</li><li>Second</li></ol> |
| --- | <hr /> (horizontal rule) |
GitHub Flavored Markdown (GFM) Extensions
- Tables —
| Col1 | Col2 |rows with a separator row of dashes. - Task lists —
- [x] Doneand- [ ] Pendingrender as checkboxes. - Strikethrough —
~~deleted text~~renders asdeleted text. - Autolinks — bare URLs like
https://example.combecome clickable links automatically. - Fenced code blocks — triple backticks with an optional language identifier (kept as a
language-*class in the HTML). - Footnotes —
[^1]in text +[^1]: noteat the bottom.
Frequently Asked Questions
Which Markdown flavors are supported?
This tool supports CommonMark and GitHub Flavored Markdown (GFM), including tables, strikethrough (~~text~~), task lists (- [x]), and fenced code blocks (shown in a monospace block; the preview does not colour code).
Can I export the rendered HTML?
Yes. Click the Copy HTML button to get the generated HTML output, ready to paste into any web page or CMS.
Is this safe for untrusted Markdown content?
This tool is designed for rendering your own Markdown. For user-generated content in production, always sanitize HTML output to prevent XSS attacks.
Related tools
- UUID GeneratorGenerate RFC 4122 compliant UUIDs (v1, v4, v5) in bulk. Export as JSON, CSV, or plain text.
- Lorem Ipsum GeneratorGenerate Lorem Ipsum placeholder text in paragraphs, sentences, or words with optional HTML output.
- QR Code GeneratorGenerate customizable QR codes for URLs, text, emails, WiFi, vCards, and phone numbers.
- QR Code ScannerScan QR codes with your camera or from an image file directly in the browser. Copy the result, open safe links and see the decoded content type.
- Regex TesterTest, debug, and visualize regular expressions against sample text in real time with match highlighting.
- SQL Formatter & BeautifierFormat and beautify SQL queries with proper indentation, keyword capitalization, and syntax highlighting.
Found a bug or a wrong result? Report it.