Live Markdown editor with preview and HTML export.
The Markdown Editor gives you a text area with a formatting toolbar and a live preview next to it. You can also view the generated HTML, copy it, open a .md file from disk or download your document as document.md.
Markdown is a lightweight plain-text format created by John Gruber in 2004. You mark up structure with simple punctuation, such as # for headings, asterisks for emphasis and hyphens for lists, and a converter turns it into HTML. Because the source stays readable as plain text, it is used for README files, documentation, notes and many chat and CMS editors. There are several dialects. This editor renders with the marked library in GitHub Flavored Markdown (GFM) mode, which adds tables, task lists and strikethrough on top of the original syntax. The HTML it produces is passed through DOMPurify, which removes scripts, event handlers and unsafe links before the preview is shown or the HTML is copied.
It uses the marked library in GitHub Flavored Markdown mode, so tables, task lists and strikethrough work. Single line breaks inside a paragraph are not turned into line breaks (the breaks option is off), as in standard Markdown.
The HTML is sanitised with DOMPurify, which removes scripts, event handlers and unsafe URL schemes. In addition, style attributes and style, form, iframe, object and embed tags are forbidden. As with any sanitiser, treat it as a strong safeguard rather than a guarantee.
No. It copies the sanitised HTML fragment for your content, without html, head or body wrappers.
Files ending in .md, .markdown or .txt, read as plain text.
The text lives in the page only and is not sent to a server. Use Download .md to keep it.
No. Fenced code blocks are rendered as pre and code elements without colour highlighting.