HTML Entity Encoder & Decoder

Encode HTML special characters or decode named and numeric entities into plain text.

Processed locally in your browser. Your input is not uploaded.

How to use HTML Entity Encoder & Decoder

Encode ampersands, angle brackets, double quotes and apostrophes. Decode semicolon-terminated named entities supported by your browser and decimal or hexadecimal numeric references.

Details and limits

Decoded markup remains plain text and is never inserted as live page content. Unknown entities are preserved. Decoding performs one pass; double-encoded text can be decoded again if needed. Input is limited to 200,000 characters.