How to use the Markdown Editor
- 1
Start typing
Write Markdown in the left pane; the right pane renders it a moment after you stop typing.
- 2
Use the toolbar
Select text and click Bold, Link, Code and so on to wrap it, or click with nothing selected to insert an empty template.
- 3
Watch the counter
The bar under the editor shows words, characters and an estimated reading time.
- 4
Export
Download the .md source, download a styled standalone .html page, or copy the rendered HTML.
Features
Shortcuts
Ctrl+B for bold, Ctrl+I for italic, Ctrl+K for a link (Cmd on a Mac).
Template buttons
Headings, lists, task items, quotes, inline code, a js code block and a two-column table skeleton.
Autosave
Each render saves the document to this browser’s storage.
Standalone HTML export
The .html download includes a small readable stylesheet and the first # heading as the page title.
Smart file names
Downloads are named after your first # heading, for example “Trip plan” becomes trip-plan.md.
Sanitised preview
The preview is cleaned with DOMPurify, so pasted Markdown cannot run scripts on this page.
Who uses it — and for what
Open-source contributors
Draft a README, issue or pull-request description and check tables before posting.
Bloggers
Write a post for a Markdown-based blog and export clean HTML for platforms that need it.
Students
Take structured notes with headings and task lists, then export a page to print as PDF.
Team leads
Prepare meeting notes or release notes to paste into Slack, Notion, GitHub or GitLab.
Markdown in 30 seconds
| Type | To get |
|---|---|
# Heading | Large heading (## for smaller) |
**bold** / _italic_ | bold / italic |
[text](https://…) | A link |
- item / 1. item | Bullet / numbered list |
- [x] done | Task list item |
`code` and ``` fences | Inline code / code block |
> quote | Block quote |
Writing comfortably
The editor saves your document in this browser as you type, so you can close the tab and come back later. Use the toolbar or keyboard shortcuts (Ctrl+B bold, Ctrl+I italic, Ctrl+K link). It supports GitHub Flavored Markdown — tables, task lists, strikethrough — so it’s ideal for drafting READMEs, issues, docs, blog posts and notes. Export the Markdown file or a complete HTML page.
Everything runs in your browser — your code and data are never uploaded, so it is safe to paste private config files and API responses.
Where your document lives, and how not to lose it
Everything you type is stored in your browser’s local storage for this site. Nothing is sent to a server and there is no account. That makes the editor private and quick, but it also means:
- One document at a time. “New document” clears the current text after asking for confirmation. Download the .md first if you want to keep it.
- One browser, one device. Opening the editor on your phone or in another browser shows the starter document, not your draft.
- Private windows forget. Incognito or private tabs discard local storage when closed, and clearing site data or browsing history removes the draft as well.
- The .md file is the real backup. Save it to a cloud folder or commit it to a repository when the work matters.
Writing Markdown that renders the same everywhere
The preview uses GitHub Flavored Markdown, which is close to what GitHub, GitLab, Obsidian, Docusaurus and most static site generators accept. A few habits keep a document portable between them:
- Leave a blank line before and after headings, lists, tables and code blocks. Some renderers refuse to start a list that touches a paragraph.
- Use one style per document —
-for bullets and**for bold — so diffs stay small. - Always give fenced code blocks a language (
js,bash,json) so highlighters know what to do. - Use descriptive link text instead of “click here”; it helps screen-reader users and search engines.
- Tables are a GFM extension. Plain CommonMark sites show them as raw pipes, so check your destination supports them.
The counter treats text in languages that use combining vowel signs, such as Hindi, less accurately than English, because those signs split words in its pattern — use the Word Counter if you need an exact figure. For larger tables, the Markdown Table Generator is easier than typing pipes, and Markdown to HTML offers extra output options such as heading ids and a line-break mode.
Worked examples
What the toolbar inserts
Each button inserts a fixed snippet; the vertical bar marks where your selected text (or cursor) ends up:
| Button / key | Inserts |
|---|---|
| Bold (Ctrl+B) | **text** |
| Italic (Ctrl+I) | _text_ |
| Strikethrough | ~~text~~ |
| Link (Ctrl+K) | [text](https://) |
| Image |  — the selection becomes the image URL |
| Heading | a new line starting ## |
| Task | a new line starting - [ ] |
| Code block | a fenced block that opens with ```js |
| Table | a header row, separator row and one empty row with two columns |
Select “monthly budget” and press Ctrl+B and you get **monthly budget**; press it with nothing selected and the cursor lands between the four asterisks, ready to type.
How the word count reads your text
The counter works on the Markdown source, not the rendered page. A word is any run of letters, digits, apostrophes or hyphens. So the line
Visit [our site](https://example.com/about-us) todaycounts as 8 words, because the pieces of the URL are counted too, although only four words are visible in the preview. The reading time is words ÷ 230, rounded, with a minimum of one minute — a 1,150-word post shows “5 min read”.
Pro tips
- Start the document with a # heading — it becomes both the HTML page title and the download file name.
- To make a PDF, download the .html, open it and use your browser’s Print → Save as PDF; the built-in stylesheet keeps it readable.
- “Copy HTML” copies only the rendered body markup, without the stylesheet, which suits pasting into a CMS code view.
Glossary
- Local storage
- A small storage area in your browser where a website can save data on your device only.
- Task list
- A GFM list whose items start with [ ] or [x] and render as checkboxes.
- Live preview
- A rendered view that updates automatically as you edit the source.
Frequently asked questions
Is my document saved?
Yes, automatically in your browser’s local storage — not on a server.
Does it support GitHub Markdown?
Yes: tables, task lists, strikethrough, fenced code and autolinks.
Can I export to PDF?
Download the HTML and print it to PDF from your browser.
Can I open an existing .md file?
There is no open button, but you can open the file in any text editor, copy everything and paste it into the left pane.
Are the preview checkboxes clickable?
No. Task list items render as disabled checkboxes. Change [ ] to [x] in the text to tick one.
Does the exported HTML need an internet connection?
No. The downloaded page contains its own styles and your content, so it opens offline in any browser.
Last updated 2026-11-28 · Built by Vinayak Agarwal · Part of Developer & Web (77 tools)