HTML Entity Encoder

Safely show code and special characters on a web page, or turn &-style entities back into readable text.

Runs in your browser. Nothing is uploaded Free, no sign-up Works on mobile
Mode
Encode

How to use HTML Entity Encoder

  1. Choose Encode or Decode.
  2. Pick how much to encode.
  3. Copy the result.

Frequently asked questions

Which characters must be escaped in HTML?

& < > " and ' — these five can break markup or create security holes. Escaping them prevents cross-site scripting in user content.

What is the entity for the rupee sign?

&#8377; (₹). There is no named entity for it.

Related tools

All Developer Tools →