HTML Entity Encoder & Decoder

Encode text as HTML entities or decode named, decimal, and hexadecimal HTML character references back into readable text.

How to use it

Runs in your browser. End each entity with a semicolon. Decoded output appears as text.

Tool statusWorks in browserNo account neededCopy-ready result
My Tools

How to encode or decode HTML entities

Choose a direction, paste your text, and select Encode or Decode. Encoding escapes ampersands, angle brackets, and quotes. Decoding accepts named references such as & and numeric references such as © or ©.

Worked example

Encode AT&T to get AT&T. Choose Decode to turn it back into the original text. Decoding one layer at a time preserves escaped references in text such as <.