Online Markdown editor with live preview
A free online Markdown editor: write in Monaco, the editor from VS Code, and a live GitHub-style preview follows beside it. Save writes back to the same .md file on your disk, like a desktop app, and Copy for email pastes into Gmail, Outlook or Slack with the formatting intact. No sign-up, and nothing you write leaves your browser.
How to use it
Write or open
Type in the editor, paste text, press Open, or drag a
.mdfile onto the page. The preview follows as you type and scrolls with you.Save to your disk
The first Save asks where to put the file and suggests a name from your first heading. After that ⌘S (Ctrl+S) writes to the same file, without a dialog.
Send it
Copy for email puts formatted text on the clipboard for Gmail, Outlook, Apple Mail, Slack, Google Docs or Notion. Or copy the HTML, download an HTML file, or save a PDF.
What it is good for
Daily notes
Keep one
notes.mdand open it each morning. Every Save goes to that file on your disk, where your backups and sync already are.Email drafts
Draft a long email with headings and lists, read it once in the preview, then Copy for email and paste into Gmail, Outlook or Apple Mail.
Long Slack messages
Write it here first, where Enter adds a line instead of sending. Lists, links and code blocks paste into Slack formatted.
README files and docs
Preview a
README.mdwith GitHub Flavored Markdown: tables, task lists, footnotes, highlighted code and Mermaid diagrams.
Saving works like a desktop app
In Chrome, Edge, Opera and other Chromium browsers the editor uses the File System Access API. When you open or save a file, the browser lets the page write to that one file, and nothing else. A dot next to the name means there are changes not yet on disk. The browser remembers the file, so after a reload the next Save asks once for permission and writes to it again.
Safari and Firefox do not offer that API yet. There Open reads a file and Save downloads a copy, usually into Downloads.
On top of that, everything you type is kept in this browser (IndexedDB) and comes back when you return, even if you never saved. It stays on this device and is never sent anywhere.
Copy for email, Slack and Docs
Email apps ignore stylesheets, so pasting from most preview sites loses headings and spacing, or brings in odd fonts. Copy for email writes every style inline, with sizes relative to your own email font and no font or text colour of its own, so the text blends into your message. Task boxes become ☐ and ☑, diagrams become images, and math shows as its TeX. A plain-text copy goes along for apps that do not take formatting.
Markdown cheat sheet
| You type | You get |
|---|---|
# Heading ## Heading ###### Heading | Headings, level 1 to 6 |
**bold** *italic* ~~strike~~ | Bold, italic and struck-through text |
[text](https://example.com) | A link |
 | An image |
- item 1. item | Bulleted and numbered lists; Enter continues them |
- [ ] task - [x] done | A task list; tick the boxes in the preview |
> quote | A quote |
`code` | Inline code |
```js | A code block highlighted for that language, closed by three backticks |
| a | b | |---|---| | A table: a header row, a divider, then rows |
text[^1] [^1]: note | A footnote |
$E=mc^2$ $$ … $$ | Math, inline or on its own line (KaTeX) |
```mermaid | A diagram: flowchart, sequence, Gantt, pie and more |
<details> | A section that opens on click |
--- | A horizontal line |
Keyboard shortcuts
| Ctrl+S | Save (to the same file once it has one) |
| Ctrl+Shift+S | Save as |
| Ctrl+O | Open a file |
| Ctrl+Shift+E | Copy for email |
| Alt+1 / 2 / 3 | Edit, Split, Preview |
| Ctrl+Shift+F | Focus mode |
| Ctrl+B / Ctrl+I | Bold, italic |
| F1 | Every command |
| Ctrl+F / Ctrl+H | Find, replace |
| Ctrl+D | Select the next match |
| Alt+↑ / ↓ | Move the line |
| Esc | Leave focus mode |
Questions people ask
What is Markdown?
Markdown is a way to write formatted text as plain text. A line starting with # becomes a heading, words between ** become bold, and lines starting with - become a list. The file stays readable as it is, and apps turn it into clean HTML. README files, notes apps, Slack, GitHub and most documentation use it.
Is this Markdown editor free?
Yes. No account, no ads, no paid tier, no limits. I built it for myself and keep it up for everyone.
Is my text uploaded anywhere?
No. The preview, saving, copying and exporting all happen in your browser. Your draft is kept in this browser’s own storage (IndexedDB) so it survives a closed tab, and you can clear it with New document or by clearing site data.
How do I save to the same file every time?
Use Chrome, Edge or another Chromium browser. Open the file with Open (or drag it in), or press Save once and pick a place. From then on ⌘S (Ctrl+S on Windows) writes to that file without asking. Save as picks a new file.
Why does Safari or Firefox download the file instead?
They do not support the File System Access API that lets a page write to a file on your disk. In those browsers Save downloads the current version. Your draft is still saved in the browser as you type.
How do I paste Markdown into Gmail with formatting?
Write in the editor, press Copy for email (⌘⇧E, or Ctrl+Shift+E on Windows), and paste into the Gmail compose window. Headings, bold, lists, links, tables and code keep their look. The same works in Outlook, Apple Mail, Slack, Google Docs and Notion.
Which Markdown does it support?
CommonMark plus GitHub extensions: tables, task lists, strikethrough, autolinks and footnotes, and HTML such as <details> or <kbd>. Code blocks are highlighted for about 80 languages. Math uses KaTeX, diagrams use Mermaid.
How do I convert Markdown to PDF?
Write or open your Markdown, then choose Save as PDF in the ⋯ menu. Your browser’s print dialog opens with only the preview on the page; pick Save as PDF as the destination. Headings, tables, code and diagrams keep their layout, and short tables and code blocks are kept on one page.
How do I convert Markdown to HTML?
Download HTML in the ⋯ menu saves a standalone .html file with the styles included. Copy HTML, under the arrow next to Copy for email, puts clean HTML on the clipboard for a website or a CMS.
Does it work offline?
Once the page has loaded you can keep writing, saving and copying without internet. Math and diagrams load the first time a document uses them, so that first time needs a connection.
Why the VS Code editor?
It is Monaco, the editor inside VS Code, so multiple cursors, find and replace, the command palette (F1), moving lines with Alt+arrows and the rest of those shortcuts work the same.
Does it work on a phone or tablet?
Yes. On a phone the editor and the preview each take the whole screen; switch with Edit and Preview at the top. The editor uses a larger font there so the page does not zoom while you type, and your draft is saved as you go. On iPhone and iPad Save downloads the file.
Are images in the preview safe?
Images you link to load from their own sites, like on any web page. Scripts never run: everything the preview shows is cleaned by DOMPurify first, so a Markdown file from someone else cannot run code in this page.