HTML Entity Encoder/Decoder
Encode text as HTML entities or decode named and numeric entities back to inert plain text.
Loading HTML Entity Encoder/Decoder...
How to use
Choose Encode or Decode. Encoding can use named references where available, decimal references, or hexadecimal references. Decoded output is displayed as text and is never inserted as active HTML.
Example
Input
Tom & Jerry ©
Output
Tom & Jerry ©
Limitations
Entity decoding does not sanitize HTML or make markup safe to render. Named-reference availability follows the HTML entity set supported by the maintained he parser.
Frequently Asked Questions
Does decoding an entity execute HTML?
No. This tool returns plain text, and the result must remain text unless you separately and safely sanitize it for an HTML context.
What is the difference between named and numeric entities?
Named entities use labels such as ©, while numeric entities identify a Unicode code point such as © or ©.