HTML Entity Encode / Decode
Developer Tools· 30 toolsFree HTML entity encoder/decoder. Encode mode escapes special characters (&, <, >, ", ', and non-ASCII) to safe entities so they render correctly inside HTML or are safe in attribute values. Decode mode converts named (`&`), decimal (`&`), and hex (`&`) entities back to their characters. Pure browser — nothing uploaded.
Body scope · & < >
Attribute scope · & < > " '
All non-ASCII · everything above U+007F as numeric entities
Frequently Asked Questions
Frequently Asked Questions
References
References and sources
Related Tools
Related Tools
- URL Encoder / DecoderEncode or decode URL components and query strings instantly.
- Base64 Encoder / DecoderEncode text to Base64 or decode Base64 back to plain text.
- JSON DiffCompare two JSON objects and see added, removed, and changed keys with full path. Works on nested structures and arrays — pure browser, nothing uploaded.