HTML Entity Encoder / Decoder
Encode and decode HTML entities like & and é.
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.
- Paste text or HTML.
- Choose encode or decode, and how much to encode.
- 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.