Workspace Files stay on your device
text · encode
HTML Entity Encode / Decode
Encode &, <, >, " and ' to entities (& < > " ') or decode named and numeric entities (&, ', /, and the HTML5 named set) back to characters. Auto-detects: input containing entities is decoded, otherwise encoded.
A little guidance. A better result.
How to use HTML Entity Encode / Decode
& < > " ' ↔ entities; decodes named and numeric entities; auto-detects direction.
Prepare your input
Paste literal text or HTML entities.
Use the workspace
Review the automatically selected encode or decode result.
Check your result
Check ampersands, quotes and angle brackets before using it.
Know the limits
Decoding entities can restore markup characters; this is not a general-purpose HTML sanitizer.
Where does my input go?
This browser tool processes your input on your device. Optional analytics is a separate choice; it is not needed to use the tool. Keep your original until you have checked the result.
Read the privacy details →Made for the work in front of you.Report a problem ↗