Developer Tools

HTML Entity Encoder / Decoder — Free, Instant, No Upload

Encode special characters like <, >, &, and " to safe HTML entities, or decode entities back to readable text. Supports named entities, decimal numeric (&#NNN;), and hex numeric (&#xHH;) forms. Everything runs in your browser — nothing is sent to a server.

Frequently Asked Questions

What is an HTML entity?
An HTML entity is a text string that begins with & and ends with ; used to display reserved characters in HTML, like &lt; for < or &amp; for &.
When should I use numeric vs named entities?
Named entities like &lt; are more readable; numeric entities like &#60; are more portable and work in any HTML version. Both are equally safe.
Is anything sent to a server?
No. All encoding and decoding happens locally in your browser.