HTML Entities Encoder & Decoder
Encode and decode HTML entities: &, <, ©, and every numeric &#nnn; entity. Choose named-preferred, numeric-only, or ASCII-only output.
How to use
- 1Pick a direction
Encode plain text → entities, or decode entity soup back to readable text.
- 2Pick a scope
Named-when-available (readable), numeric-only (universal), or ASCII-only (legacy safe).
- 3Paste your input
HTML fragment or plain text. Result updates live.
Examples
Text: <div class="wrap">Tom & Jerry</div>
<div class="wrap">Tom & Jerry</div>
© 2026 ToolVaults — est. today
© 2026 ToolVaults — est. today
Text: naïve café — 100%
naïve café — 100%
Frequently asked
In HTML content: &, <, >. In attribute values, also escape quotes. Everything else is optional unless you have a specific character set constraint.
Named entities like &copy; are more readable. Numeric entities like &#169; work everywhere including XML. The tool defaults to named-when-available, numeric otherwise.
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
- Data URI Encoder / DecoderEncode text or any file into a data: URI for inlining in HTML, CSS, or JSON. Dec
- Morse Code TranslatorFree Morse code translator. Convert text to Morse code or Morse code back to tex