Markdown Editor

Write Markdown with a live preview beside it. The draft stays in this browser, so it is still here when you come back.

How it works

The editor is a plain text box on the left. A moment after you stop typing, the Markdown is rendered on the right by marked, with GitHub tables, task lists, strikethrough and fenced code.

Your text is saved in your browser's local storage as you type. It is never sent anywhere, and it stays until you clear it or clear your browser's site data.

The rendered preview is cleaned before it is shown, so a pasted document cannot run scripts on this page, and images from other websites wait until you choose to load them.

How to use it

  1. 1 Start typing in the Markdown box, or press Open a .md file to edit one from your computer.
  2. 2 Watch the preview on the right as you write.
  3. 3 Press Download .md to save the file. It is named after your first # heading.
  4. 4 Come back later in the same browser and your draft is still there.

Good to know

  • On a narrow screen the preview sits under the editor instead of beside it.
  • The draft lives in one browser on one device. To move it to another, download the .md file.
  • Private or incognito windows often throw saved data away when they close. Download your work before you close one.
  • Clear empties the editor and the saved copy at once, after asking you to confirm.

Browser support

  • Chrome 94 and later
  • Firefox 93 and later
  • Safari 16.4 and later
  • Edge 94 and later

These are the oldest versions with everything the tool uses. They are worked out from the tool itself, so they change when it does.

Version numbers checked on 2026-09-04.

Writing a short guide in Markdown, from blank page to file

Markdown is easiest to learn by writing something real and watching it render. Say you need a one-page guide for new team members: where things are, who to ask, what to do in the first week. This editor is set up for exactly that kind of document.

Start with a title line, "# First week guide". The preview shows a large heading with a rule under it. Under it write "## Day one" and a list: "- Collect your laptop from IT" and "- Join the #general channel". Each line starting with a dash becomes a bullet. Add a checklist under "## By Friday" with "- [ ] Finish the security course" and "- [x] Set up email". The preview shows real checkboxes, one ticked.

Next add a table of contacts. Type "| Topic | Ask |", then "| --- | --- |", then rows such as "| Payroll | Dana |". The preview draws a table as soon as the divider row is there. If it shows a line of pipes instead, the divider row is missing or a row has the wrong number of cells. For a command that people should type exactly, put it between backticks, such as `ssh dev-box`, or in a block fenced by three backticks.

The document is saved in this browser as you type. Close the tab, come back tomorrow, and it is still there. When it is ready, press Download .md. The file is named first-week-guide.md, from the title, and you can put it in a repository, a wiki or a shared drive. To start a second document, download the first one, then press Clear.

There are limits to keep in mind. The draft lives in local storage, which is tied to this browser on this device; it is not a backup and does not sync. There is one draft at a time, not a library of files. There is no toolbar, spell check beyond your browser's own, or collaborative editing. Relative image paths, such as images/map.png, cannot be shown because this page cannot see files next to your document. And the preview handles documents up to one million characters.

Frequently asked questions

Where is my document saved?

In your browser's local storage for this site, on this device. It is not uploaded, synced or backed up. Clearing your browser's data for this site, or using another browser, means a fresh start, so download anything you want to keep.

Can I open a file I already have?

Yes. Press Open a .md file and choose a .md, .markdown or .txt file. It is read on your device and replaces the text in the editor, after asking you first if the editor already holds your own writing.

Does the preview match GitHub?

The structure matches: both use CommonMark with GitHub's table, task list and strikethrough extensions, and headings get the same anchors. Fonts and spacing are this site's. GitHub-only features such as @mentions, alerts and Mermaid diagrams appear as plain text.

Is there a size limit?

The preview handles documents up to one million characters. Browsers usually give a site about 5 MB of local storage, so a very large draft may not save; the editor tells you when that happens.

Related tools

Your files are processed on your device and are not uploaded. You can verify this in your browser’s developer tools under the Network tab.