Decode HTML entities to characters or encode text to HTML entities. Supports named, decimal, and hex entities.
What are HTML entities?
HTML entities are codes that represent characters in HTML. They start with & and end with ; — for example, & represents &, < represents <, and > represents >. Try it at www.localtoolz.com.
What is the difference between named, decimal, and hex entities?
Named entities use readable names like &. Decimal entities use base-10 numbers like &. Hex entities use base-16 numbers like &. All three represent the same character.
When should I encode HTML entities?
Encode HTML entities when you need to display characters that would be interpreted as HTML markup (like < or >), or when embedding user-generated content safely in HTML.
Is my data sent to a server?
No, all encoding and decoding is performed locally in your browser at www.localtoolz.com. Your data never leaves your device.