Markdown editor & preview
Write Markdown with a real-time React AST preview, word/line metrics, and one-click .md export—immune to raw HTML and script injection.
72 words · 416 characters · 22 lines
Live preview (XSS-safe React AST)
Project Notes
Write bold, italic, strikethrough, or inline code locally with zero uploads.
Checklist
- Verify browser-local parsing
- Export clean
.mdfile
| Column | Details |
|---|---|
| Processing | Local AST to React JSX |
| HTML injection | Blocked safely |
Every link is checked against safe protocols before rendering.
{
"free": true,
"accounts": false
}Processing runs inside your browser without accounts or server uploads. Modular TypeScript domain logic tested locally.
Report a problem with this toolSafe React AST rendering
Zero raw HTML injection: Parses headings, emphasis, fenced code blocks, blockquotes, tables, and task lists directly into typed React JSX nodes without dangerouslySetInnerHTML.
Link protocol allowlist: Automatically neutralizes unsafe link protocols such as javascript: or data: URLs while preserving https:, http:, mailto:, and anchor links.
Frequently asked questions
- Why does raw HTML inside Markdown render as plain text?
- Rendering raw HTML tags is intentionally disabled to eliminate cross-site scripting risks when previewing untrusted Markdown snippets.
Related tools
Browse all toolsText & writing
Markdown <-> HTML converter
Convert Markdown to sanitized semantic HTML or strip safe HTML markup back into clean Markdown locally.
Text & writing
Word & character counter
Count words, Unicode grapheme characters, sentences, paragraphs, UTF-8 bytes, and reading time locally.
Text & writing
Readability & grade-level analyzer
Measure Flesch Reading Ease, Flesch-Kincaid Grade Level, Gunning Fog index, and syllable complexity locally.