HTML Entities Encoder & Decoder
Encode and decode HTML entities: &, <, ©, and every numeric &#nnn; entity. Choose named-preferred, numeric-only, or ASCII-only output.
Runs 100% in your browser — nothing is uploaded.
Result
Frequently asked
Which entities do I actually need to escape?
In HTML content: &, <, >. In attribute values, also escape quotes. Everything else is optional unless you have a specific character set constraint.
Named vs numeric entities?
Named entities like &copy; are more readable. Numeric entities like &#169; work everywhere including XML. The tool defaults to named-when-available, numeric otherwise.
Does it handle emoji?
Yes — emoji become numeric entities in "ASCII-only" mode. Modern HTML5 with a UTF-8 charset does not need this, but legacy systems sometimes do.
Related tools
- Base64 Encode / DecodeEncode or decode Base64 text. UTF-8 safe by default. Optional URL-safe variant.
- URL Encode / DecodePercent-encode or decode URLs, query strings, and path segments. Choose between
- Meta Tag GeneratorGenerate SEO, Open Graph, and Twitter Card meta tags from your title, descriptio
- Base32 Encoder / DecoderEncode any text to RFC 4648 Base32 (A-Z, 2-7) or decode Base32 back to text. UTF
- Morse Code TranslatorTranslate text to Morse code and back. Full alphabet, digits 0-9, and common pun
- Punycode / IDN ConverterConvert international domain names (IDN) with Unicode characters into Punycode (