HTML Entity Encoder / Decoder
Free HTML Entity Encoder & Decoder
Convert special characters to their HTML entity equivalents and back. Essential for safely embedding content in HTML documents or escaping user-generated content.
What Gets Encoded
By default, the encoder converts the five XML-special characters: &, <, >, ", and '. Enable "Encode all characters" to convert every non-ASCII character to its numeric entity.
Named vs Numeric Entities
When "Use named entities" is checked, the tool uses friendly names like & and © where available, falling back to numeric codes like © otherwise.
100% Private
All encoding and decoding happens in your browser. No data is ever sent to a server.