Markdown Editor & Preview
Markdown Editor & Preview renders a Markdown draft so you can check its formatting before publishing elsewhere.
How to use it
- Write or paste Markdown into the input box
- Click Preview to render a safe, sanitized HTML preview
- Copy the rendered HTML with one click
It uses GitHub Flavored Markdown — headings, bold, italic, strikethrough, lists, task lists, links, tables, inline code and fenced code blocks. Press Preview to render; it does not update live as you type. The HTML then goes through a strict sanitiser: scripts, iframes, event handlers and javascript: links are removed, and so is anything outside a small allowlist — including images, so an image link shows nothing, and only href, title and alt attributes survive. "Copy HTML" gives you that sanitised, unstyled HTML. It does not build a table of contents (use the TOC Generator) or turn a grid into table syntax (use the Table Generator), and there is no file export. Input is limited to 1 MB and stays in the browser.
FAQ
No. It renders when you press Preview. The Markdown box updates instantly, but the rendered output only refreshes on demand.
The sanitiser's allowlist has no img tag, so Markdown images are stripped from the preview. Task-list checkboxes lose their checkbox for the same reason.
The sanitised HTML — the allowlisted tags with only href, title and alt attributes, no CSS or classes. It is a fragment, not a styled page.