HTML Entity Encoder
Reverse Conversion
How This Converter Works
Encodes ampersands, angle brackets, quotes, apostrophes, and non-ASCII Unicode characters as uppercase hexadecimal numeric character references.
Formula or rule
For selected characters, output &#x followed by the uppercase hexadecimal code point and a semicolon; leave other characters unchanged.
Example
- Input
- A & <é>
- Calculation
- Escape ampersand, angle brackets, and the non-ASCII character é (U+E9).
- Result
- A & <é>