HTML Entity Encoder / Decoder

Encode and decode HTML entities like & and é.

DeveloperFreeNo sign-up
Loading tool…

Runs entirely in your browser — nothing you enter is uploaded or stored on a server.

How to use it

Escape text for HTML — just the five special characters, or every accented letter and symbol by name or number — and decode named, decimal and hex entities back to text.

  1. Paste text or HTML.
  2. Choose encode or decode, and how much to encode.
  3. Copy the result.
DevelopersEmail marketersWriters

Questions

When do I need entities?

When showing code or user text inside HTML, the five special characters must be escaped. Encoding every accent is only needed for old systems that don't handle UTF-8.