Skip to main content

HTML Entity Encoder and Decoder

Encode five HTML-sensitive characters or decode HTML5 named and numeric references locally. Output is not a sanitizer; input is limited to 100,000 UTF-16 code units.

Escapes &, <, >, double quotes, and apostrophes; other Unicode characters remain unchanged. This is not a sanitizer or context-aware security fix. Input stays in your browser; maximum 100,000 UTF-16 code units and 600,000 encoded output code units.

Was this tool helpful?