Input
Convert HTML entities
Decimal and hexadecimal modes encode every Unicode character. The other encoding options apply to special and named modes.
Ready for local conversion.
Developer utility
Encode HTML special characters, convert Unicode text to named or numeric entities, and decode mixed entity references safely in your browser.
Input
Decimal and hexadecimal modes encode every Unicode character. The other encoding options apply to special and named modes.
Ready for local conversion.
Enter text to calculate conversion statistics.
Output
Safe preview
The preview is inserted as plain text. Markup and scripts are never executed.
Detected entities
| # | Entity | Decoded value | Code point | Occurrences |
|---|
Examples
| Character | Named entity | Decimal | Hexadecimal | Typical use |
|---|---|---|---|---|
& | & | & | & | Ampersand in text and URLs |
< | < | < | < | Opening angle bracket |
> | > | > | > | Closing angle bracket |
" | " | " | " | Double quote in attributes |
' | ' | ' | ' | Apostrophe in attributes |
© | © | © | © | Copyright symbol |
€ | € | € | € | Euro currency symbol |
— | — | — | — | Em dash punctuation |
No. Encoding, decoding, detection, and preview generation all run locally in your browser.
Named entities use readable names such as amp and copy. Numeric entities use decimal or hexadecimal Unicode code points.
Yes. Decode mode handles mixed references in one input and leaves unknown or invalid references visible for review.
Preserving them prevents an existing reference such as © from being encoded again as &copy;. Disable the option when deliberate double encoding is required.