Write Markdown on the left and see the rendered output instantly on the right. Sanitized with DOMPurify.
The Markdown Editor provides a split-pane writing environment where your raw Markdown source is displayed on the left and the rendered HTML output updates in real time on the right. It is powered by the marked library with GitHub Flavored Markdown (GFM) support — including fenced code blocks, tables, strikethrough, and task checkboxes. A toolbar provides one-click insertion of common Markdown syntax without memorizing shortcuts.
All rendering happens inside your browser with no network requests — the output HTML is sanitized by DOMPurify to prevent XSS before being displayed, making this a safe tool for previewing untrusted Markdown content. You can copy both the raw Markdown and the rendered HTML for use in other applications.
Yes. The editor uses the marked library with GFM mode enabled, which supports fenced code blocks (```), tables, task list checkboxes (- [ ]), strikethrough text (~~text~~), and automatic URL linking — all features of GitHub's Markdown renderer.
The preview pane always runs the rendered HTML through DOMPurify before displaying it, which strips any script tags, event handlers, and other XSS vectors. The "Copy HTML" output is this same sanitized HTML, so it is safe to embed directly in a page without additional escaping.
Yes. Click the link button in the toolbar (the chain-link icon) to open a small inline dialog where you enter the link text and URL separately. Click "Insert" and the correct [text](url) Markdown syntax is inserted at your cursor position automatically.