Markdown Editor
This Markdown editor shows a live preview of your formatted text as you type and keeps your draft in this browser. For rich text with colors and bold, use the online notepad instead.
0 words, 0 characters.
Preview
Your formatted text appears here as you type.
Saved only in this browser under the key qn-md-v1. Nothing you type is sent anywhere. Clearing this site's data deletes it.
Why use our Markdown Editor?
Live Preview as You Type
The formatted preview sits next to your text and updates as you type, so a missing asterisk or an unclosed code fence shows up at once. On a phone, Write and Preview are tabs.
Draft Saved in This Browser
Your draft is kept in this browser and is still here when you come back, with no account to create and nothing to install.
Export .md or HTML
Download the text as a .md file or a complete .html page, or copy either version to paste into a CMS, an email or a README.
What is a Markdown Editor?
A markdown editor is a writing box for Markdown, the plain text format where a # starts a heading, two asterisks make bold and a dash starts a list. This one renders those symbols as formatted text next to what you type, so you write plain text and still see the finished page. This markdown editor online needs no account and no install.
John Gruber released Markdown in 2004 as a text-to-HTML conversion tool for web writers, and credits Aaron Swartz for feedback on the syntax (Daring Fireball, with a syntax guide). CommonMark later wrote a precise specification of the syntax (CommonMark spec). GitHub's dialect is a strict superset of CommonMark that adds tables and task lists as extensions (GitHub spec). This editor sticks to the original basics.
Markdown Preview: What Renders and What Does Not
- Headings:Headings from
# Titleto###### Small. - Inline:
**bold**,*italic*and`code`. - Code blocks:Fenced code blocks between
```lines, with the language word left out of the code. - Lists and quotes:Lists that start with
-or1., quotes that start with> quote, and a---rule. - Links:Links written as
[text](url). They open in a new tab. - Images:The markdown preview shows an image as [Image: alt] and does not load the file. The .html download and Copy HTML keep the real image tag.
- Not supported yet:Footnotes, diagrams and maths are not supported yet, so they show as the text you wrote.
Common Use Cases
README Files
Draft a README with headings, install steps in a fenced code block and links, then download the .md file into your project. To read a finished .md file without editing it, open it in the Markdown viewer.
Tables for a README
Need a table for a README? The Markdown table generator writes the pipe syntax for you.
Blog Posts and Docs
Write a post in Markdown, check the preview, then use Copy HTML to paste the rendered version into a CMS that takes HTML.
Meeting and Study Notes
Keep notes with headings and lists that stay readable as plain text and still look tidy in the preview.
Learning Markdown
Try a symbol and see what it does in the preview right away, without setting up an editor or a site generator.
Printable PDFs
For a PDF, open the Markdown to PDF converter. Its Use my Markdown Editor draft button loads what you wrote here.
How to Use the Markdown Editor
Write Markdown
Type Markdown in the Markdown box. On a phone, use the Write tab.
Check the preview
Check the formatted preview next to it as you type. On a phone, open the Preview tab.
Export or copy
Download the draft as .md or .html, or copy the Markdown or the HTML.
Come back later
Come back later in the same browser and your draft is still here.
Download .md or HTML, or Copy Either
Plain .md File
Download .md saves your text as it is. Open it in any text editor or commit it to a repository.
Full HTML Page
Download .html saves a complete page you can open in any browser, titled with your first heading.
Sensible File Names
Both files are named from the first heading, or markdown-document when there is none.
Copy Either Version
Copy Markdown and Copy HTML put either version on your clipboard.
HTML Without a Draft
To turn Markdown you already have into HTML without keeping a draft, use the Markdown to HTML converter.
Word and Character Count
A running count of words and characters sits with the editor, so you can keep to a length while you write.
Where Your Draft Is Saved
- •Storage key: This online markdown editor saves one draft in your browser's local storage under the key
qn-md-v1, a moment after you stop typing. - •Delete and undo: The line under the editor shows when it was last saved. Delete saved data removes this tool's key only, and Undo brings it back.
- •Private windows: Local storage has no expiry date, but in a private or incognito window it is cleared when the last private tab closes (MDN: localStorage).
- •Shared space: Browsers keep storage per site, so this draft shares its space with the online notepad on our home page (MDN: storage quotas).
- •Other devices: Another browser or device starts empty. Download .md to carry a draft across.
- •Privacy: The preview is built in your browser and images in it are not loaded, so nothing you type is sent to a server.
Start Writing Markdown
Type a heading, a list or a code block in the box above and the preview shows the result straight away. The draft stays in this browser until you delete it.
When the draft is done, download it as .md or .html and take it wherever it needs to go.
Related tools
Frequently Asked Questions
What is a Markdown editor?
Markdown is plain text with a few symbols for formatting, such as # for a heading and ** for bold. This editor renders it next to your text as you type.
Where is my Markdown saved?
In this browser only, under the key qn-md-v1, until you delete it or clear this site's data. Another browser or device starts empty.
Can I export Markdown to HTML or PDF?
Download .html gives a full page. For a PDF, open the Markdown to PDF converter.
Does it support tables and task lists?
Yes. Tables, task lists, strikethrough and nested lists show in the preview, and task boxes cannot be clicked. Footnotes, diagrams and maths are not supported yet, so they show as the text you wrote. A notice under the preview says so when your text has any of them.
Is my text sent to a server?
No. The preview is built in your browser, and images in the preview are not loaded.
How is this different from the Markdown to HTML converter?
The editor is for writing, with a live preview and a saved draft. The Markdown to HTML converter turns Markdown you paste into HTML code.