HTML Entity Encoder/Decoder
Encode special HTML characters to entities and decode them back to text. Browse the complete entity reference table. Free, instant, 100% private.
About HTML Entities
HTML entities are special codes that represent characters reserved in HTML or that are difficult to type directly:
- Named entities:
,<,>,&— human-readable names - Numeric decimal:
 ,<— decimal character codes - Numeric hex:
 ,<— hexadecimal character codes - Common use: Safely display HTML tags in code samples, show special symbols like © ™ €
All processing happens in your browser. Your text never leaves your device.
HTML Entities Reference
Common HTML named entities with their character, entity name, and numeric code.
About HTML Entity Encoder/Decoder
Convert special HTML characters to their entity equivalents and decode them back. Includes a complete reference table of common HTML entities. All processing is done locally in your browser.
Encode to Entities
Convert &, <, >, ", and ' to their HTML entity equivalents. Essential for safe HTML output and code display.
Decode Entities Back
Convert named and numeric HTML entities back to readable characters. Supports named, decimal, and hex entity formats.
Character Count Stats
See how encoding affects string length. Compare source and result character counts to understand the transformation.
Entity Reference Table
Browse a complete table of common HTML named entities with their characters, entity names, and numeric codes.