🧼

HTML Entity Encoder/Decoder & Sanitizer

Dev Core

Encode and decode HTML entities, then sanitize untrusted markup with DOMPurify allowlists and XSS presets. Safe preview, 100% client-side.

Pure JS encode/decode · DOMPurify sanitizer

Encode and decode HTML entities, then strip XSS vectors from untrusted markup with configurable allowlists — all processing stays in your browser.

Mode:

Input

Output

Sponsored