Private browser-local developer utility

HTML Entity Encoder & Decoder

Convert HTML-sensitive text and common or numeric character references without rendering decoded markup.

Enter text and select Run.

Method and example

Encoding changes HTML-sensitive characters to inert references. Decoding supports amp, lt, gt, quot, apos, nbsp, and valid decimal/hex numeric references; unknown named entities remain unchanged.

Limits and boundaries

5 MB UTF-8 input. Processing uses strict local APIs and treats output as inert text. This tool does not execute, fetch, navigate to, encrypt, verify authenticity, or establish security suitability for the supplied content.

Related developer tools

Browse all Developer Tools.