HTML Entity Encoder
Escape and unescape HTML entities.
How to use
- 1Choose Encode or Decode.
- 2Paste your text, HTML or entity-encoded string.
- 3Optionally encode all non-English characters too.
- 4Copy the result.
Frequently asked questions
Why escape HTML?
To show code like <div> as text on a web page, or to put user text into HTML safely. Escaping stops it being treated as tags.
Which characters are encoded?
Always & < > " and '. With the option on, every non-ASCII character (₹, ©, Hindi letters) becomes a named or numeric entity.
Can it decode numeric entities like ₹?
Yes. Named, decimal (₹) and hex (₹) entities are all decoded.
Is my text uploaded?
No. Everything runs in your browser.
You may also need
Number Base Converter
Binary, octal, decimal, hex and any base.
Cron Expression Explainer
Cron schedules in plain English with next runs.
IP Subnet Calculator
Network, mask, broadcast and host range.
Chmod Calculator
Linux file permissions as numbers and rwx.
CSS Gradient Generator
Linear, radial and conic gradients with preview.
Box Shadow Generator
Design CSS box shadows visually.