Skip to main content

Live XSS-Safe Markdown Preview

Live split-pane Markdown editor and XSS-safe previewer supporting headings, code blocks, lists, and quotes.

Runs on your deviceMarkdown → Preview, MD
Release Notes v2.0

All utilities run 100% locally with zero server uploads.

  • Dedicated Web Workers for PDF & HEIC
  • Safe React AST Markdown rendering
  • Visit ArjenSoft
Tip: Raw HTML tags and javascript: links are neutralized automatically.
export const localOnly = true;

How to use

  1. 01.

    Type or paste Markdown syntax into the left editor pane.

  2. 02.

    Inspect the live XSS-safe formatted preview on the right pane.

  3. 03.

    Copy the clean Markdown text or download it as a .md file locally.

Safe React AST rendering without dangerouslySetInnerHTML

Every Markdown block and inline token is parsed into typed AST nodes and rendered directly as React elements. Raw script tags and javascript: links are neutralized automatically.

Limits & privacy

  • Drafts stay strictly inside your browser session.

Frequently asked questions

Is pasting untrusted Markdown with <script> tags safe?

Yes. Raw HTML is rendered as harmless escaped text and unsafe link protocols are stripped.