Markdown editor with live preview, free, in your browser
Markdown is a plain-text formatting syntax: # for headings, **bold**, *italic*, - for lists, [text](url) for links and ``` for code blocks. A Markdown editor shows the rendered result next to the text as you type. This editor runs in your browser, supports GitHub-flavoured Markdown including tables and task lists, keeps a local draft on your device, and exports to HTML or a .md file.
Your files never leave your device. Processing happens in your browser.How that works.
How it works
- Type Markdown on the left; the preview updates on the right.
- Use the toolbar for headings, bold, links, lists and code.
- Download as .md or .html, or copy the HTML.
Runs as JavaScript inside this tab. Turn off your connection after the page loads and it still works.
Markdown syntax reference (GFM)
| Element | Syntax |
|---|---|
| Heading | # H1, ## H2 … ###### H6 |
| Bold | **bold** |
| Italic | _italic_ or *italic* |
| Bold italic | **_both_** |
| Strikethrough | ~~text~~ |
| Inline code | `code` |
| Code block | ```js … ``` (language optional) |
| Link | [text](https://example.com "optional title") |
| Autolink | <https://example.com> or bare URL (GFM) |
| Image |  |
| Bullet list | - item (or *, +); indent two spaces to nest |
| Numbered list | 1. item (numbers need not be sequential) |
| Task list | - [ ] to do, - [x] done |
| Blockquote | > quoted text |
| Table | | a | b | header, then | --- | --- |, then rows |
| Table alignment | :--- left, :---: centre, ---: right |
| Horizontal rule | --- on its own line |
| Line break | End a line with two spaces or a backslash |
| Escape | \*not italic\* |
| Footnote | text[^1] … [^1]: note (GitHub, many renderers) |
| HTML | Raw HTML passes through in most renderers (sanitised here) |
Keyboard shortcuts in this editor
| Keys | Action |
|---|---|
| Ctrl/Cmd + B | Bold |
| Ctrl/Cmd + I | Italic |
| Ctrl/Cmd + K | Insert link |
| Tab | Insert two spaces |
Flavours
- CommonMark is the precise base specification.
- GFM (GitHub-flavoured) adds tables, task lists, strikethrough and autolinks. This editor renders GFM.
- MDX allows JSX components inside Markdown (Astro, Next.js, Docusaurus).
- Obsidian / Notion add
[[wiki links]], callouts and highlights that other renderers ignore.
Files
Markdown files use the .md extension (.markdown is also seen). They are plain UTF-8 text, so any editor opens them. A README.md at the root of a repository is rendered by GitHub, GitLab and Bitbucket automatically.
Where drafts go
The draft is saved to this browser’s local storage on every change and restored when you return. It never leaves your device. Clearing site data, private browsing, or another browser will not have it, so download the .md file for anything you want to keep.
Worked examples
A README skeleton
# Project name
One-line description.
## Install
```sh
npm install project-name
Usage
- Step one
- Step two
License
MIT
**A meeting note with tasks**
```markdown
## 2026-09-10 Sync
Attendees: Ada, Grace
- [x] Ship text tools
- [ ] Ship converters (owner: Ada)
- [ ] Update privacy page
> Decision: GA4 with consent mode, Cloudflare beacon as fallback.
A comparison table with alignment
| Tool | Cluster | Volume |
| :--- | :---: | ---: |
| Morse code translator | Text | 368,000 |
| JSON formatter | Dev | 110,000 |
Exporting
Download .html wraps the rendered preview in a minimal standalone page with sensible typography, so the file opens cleanly in any browser or can be attached to an email. Copy HTML copies just the body markup for pasting into a CMS.
Frequently asked questions
Is my draft saved?
Yes, in your browser’s local storage on this device only. Clearing site data removes it. Download the .md file to keep a copy.
Does it support tables and task lists?
Yes. GitHub-flavoured Markdown is supported, including pipe tables, - [ ] task lists, strikethrough and fenced code blocks.
Can I paste HTML?
Use the HTML to Markdown converter first, then paste the Markdown here.
Is the preview safe?
Rendered HTML is sanitised so pasted scripts or event handlers are never executed.
Markdown editor · last updated · changelog · part of Canned Tuna