HTML Entity Encoder/Decoder
Encode and decode HTML entities with character code display
Mode:
Why Use This Tool?
- Instantly encode special characters to HTML entities for safe HTML display.
- Decode HTML entities back to readable characters.
- Shows Unicode code points for each character.
How to Use
- Select Encode or Decode mode
- Type or paste text into the input area
- The encoded/decoded output appears instantly
- View character codes below for reference
FAQ
What are HTML entities?
HTML entities are special codes used to display reserved characters in HTML. For example, < is encoded as < and & as & to prevent them from being interpreted as HTML markup.
Which characters are encoded?
Characters with code points above 127 (non-ASCII), as well as <, >, &, single quotes, and double quotes are encoded to their numeric HTML entity equivalents.
What is the difference between named and numeric entities?
Named entities like & are more readable. Numeric entities like & work for any Unicode character. This tool uses numeric entities for maximum compatibility.
Does this handle emoji?
Yes. Emoji and other Unicode characters are encoded to their numeric HTML entity form and can be decoded back.