What are HTML entities?
HTML entities are codes that represent reserved or special characters, such as < for < and & for &. Encoding user-provided text before rendering it as HTML keeps your markup valid and helps prevent cross-site scripting (XSS).
Features
- • Encode only reserved characters or all non-ASCII characters
- • Named, decimal and hexadecimal entity formats
- • Decode every HTML5 named and numeric entity
- • Quick reference of the most common entities
Local processing
Encoding and decoding happen in your browser. Your content is never sent to a server.