Markdown Editor
Write Markdown on the left, see the rendered preview on the right — every fragment sanitized with DOMPurify before it touches the page.
Rendered with the marked parser; every output fragment is sanitized with DOMPurify (scripts, event handlers and dangerous URLs are stripped) before it touches the page.
How to use
- Type or paste Markdown in the editor pane.
- The sanitized preview updates as you type.
- Copy the generated HTML.
Example
Input: # Hello\n\n- item one
Output: <h1>Hello</h1><ul><li>item one</li></ul>
How it works
Markdown is parsed into HTML with the marked parser, then the resulting HTML is sanitized with DOMPurify — scripts, event handlers and dangerous URLs are stripped before the preview is shown.
Limits & compatibility
- GitHub-flavoured basics (headings, lists, tables via GFM tables plugin in marked) — no extensions.
- Output is sanitized: scripts, event handlers and dangerous URLs are stripped.
- HTML inside Markdown is allowed but sanitized before preview.
Privacy
Your text never leaves the browser. There is no server call, no storage and no logging of content.
Related tools
Questions about Markdown Editor
Is my input private?
Yes. This tool runs entirely in your browser — your input never leaves your device, is never uploaded to a server and is never stored.
How accurate is the result, and what are the limits?
The tool page states its formula and limits openly. Check them before relying on a result, and verify anything consequential — financial, legal, medical or safety-critical — against an authoritative source.
What happens to files I open with this tool?
Files are processed locally in your browser and never uploaded; closing the tab discards them. Text tools never store what you paste — it lives only in the page while you use it.