Your formatted preview appears here.
Developer Tools
Online Markdown Editor
Write Markdown and see it formatted as you type — headings, lists, task lists, tables and code blocks. Copy the HTML or download .md and .html files. No sign-up, and everything stays in your browser.
Runs in your browser
Features
What you get
Live preview
See formatted output as you type — side by side on desktop, with Write and Preview tabs on phones.
Toolbar and shortcuts
Headings, bold, italic, links, images, lists, task lists, quotes, code and tables at your cursor. Ctrl/⌘+B, I and K work too, and undo keeps working.
GitHub Flavored Markdown
Tables with column alignment, task lists, strikethrough, fenced code blocks and nested lists.
Table of contents
Turn on Contents to list every heading, jump to it in the preview, and include the list in your HTML export.
Safe by design
Output is sanitised; raw HTML is shown as text, and scripts, inline event handlers and javascript: links are removed.
Export and local drafts
Download .md or a styled standalone .html file, copy Markdown or HTML, and optionally keep a draft in this browser only.
How to use
How to use the Online Markdown Editor
Your text is parsed with marked, a widely used parser that follows CommonMark and supports GitHub Flavored Markdown tables, task lists and strikethrough. The resulting HTML is sanitised with DOMPurify before it is shown: raw HTML is displayed as text, scripts and event handlers are removed, and links are limited to http, https, mailto and tel, so javascript: links can't run. Code blocks are displayed, never executed.
- 01
Write or paste Markdown
Type in the editor, use the toolbar or shortcuts, or load the example.
- 02
Check the preview
The formatted result updates live; turn on Contents for a heading outline. Word count and reading time update too.
- 03
Export
Download .md or .html, or copy the Markdown or rendered HTML.
Examples
Worked examples
A task list
- [x] Draft outline / - [ ] Add screenshots renders as a checklist with one item ticked.
A table
| Tool | Price | / | --- | ---: | / | Editor | Free | renders a table with the price column right-aligned.
Unsafe links
[click](javascript:alert(1)) renders as plain text — the link is removed rather than executed.
Technical specifications
- Parser
- marked 18 (CommonMark + GFM)
- Supported syntax
- Headings, emphasis, strikethrough, lists, nested lists, task lists, links, images, quotes, inline code, fenced code, tables, horizontal rules
- Sanitiser
- DOMPurify 3
- Allowed link protocols
- http, https, mailto, tel, relative
- Raw HTML
- Shown as text, never rendered
- Shortcuts
- Ctrl/⌘+B bold · Ctrl/⌘+I italic · Ctrl/⌘+K link
- Storage
- None, or this browser's local storage only (opt-in)
Privacy
Your writing stays in your browser and is never sent anywhere. The optional draft is stored only in this browser's local storage and can be deleted at any time with “Delete saved draft”.
Read the full privacy policy.
FAQ
Online Markdown Editor questions
Markdown is a lightweight way to format plain text: **bold**, # headings and - lists become formatted output. ZSpace Tools' Online Markdown Editor shows your Markdown and its rendered result side by side, with a formatting toolbar, keyboard shortcuts, an optional table of contents and exports to Markdown or HTML.
Your text is parsed with marked, a widely used parser that follows CommonMark and supports GitHub Flavored Markdown tables, task lists and strikethrough. The resulting HTML is sanitised with DOMPurify before it is shown: raw HTML is displayed as text, scripts and event handlers are removed, and links are limited to http, https, mailto and tel, so javascript: links can't run. Code blocks are displayed, never executed.
Markdown is a simple formatting syntax for plain text, used for README files, documentation, notes, forum posts and blog drafts. Symbols like # for headings and ** for bold are converted to formatted text, so documents stay readable even before rendering.
Yes for the common extensions: tables (with alignment), task lists, strikethrough and fenced code blocks. Syntax highlighting inside code blocks, footnotes, emoji shortcodes and diagrams are not supported.
HTML is the language browsers render, with tags like <h1> and <strong>. Markdown is a shorter way of writing common formatting that's converted to HTML. This editor shows you that HTML and lets you export it.
For safety, raw HTML is shown as text rather than rendered. Use Markdown syntax for formatting.
Use Download .md for the Markdown source, or Export HTML for a styled standalone web page (with a table of contents if Contents is on). You can also copy either to the clipboard.
It's never uploaded. If you switch on “Keep draft in this browser”, it's saved in this browser's local storage on this device only — use “Delete saved draft” or switch it off to remove it.
Related tools
Word Counter
Count words, characters, sentences and paragraphs, with reading and speaking time.
Text Diff Checker
Compare two texts and see added, removed and changed lines, words or characters — side by side or unified.
HTML Formatter & Minifier
Beautify messy HTML with clean indentation, or minify it for production.