← All tools

Markdown Preview and HTML Source

Preview Markdown live through an inert resource-free preflight and strict DOMPurify allowlist while retaining the complete raw HTML source for copying.

markdown-to-htmlLOCAL WORKSPACE

Enabling local controls…

Each field: 1 MiB UTF-8 (SQL: 100,000 characters); output: 2 MiB. Loading stops after 15 seconds; processing after 2 seconds. Local processing, without uploads or storage.

Updates 350 ms after typing stops; editing immediately revokes old results.

Enter input or load a sample, then run.

Sanitized live preview

Preview removes all attributes, resource tags and link destinations, then applies a DOMPurify allowlist. Raw HTML below is unsanitized; apply your own policy before rendering it elsewhere.

Raw HTML (unsanitized)

If clipboard access is denied, select the read-only output manually.

How to use this tool

Type Markdown and compare the sanitized preview with raw HTML source. Preview strips all attributes, resource elements and link destinations before DOM rendering.

When not to use it

Copied raw HTML is not sanitized and may contain active content. Only the separate preview is sanitized; apply your own policy before rendering exported HTML elsewhere.