HTML Entity Encoder / Decoder
Convert HTML reserved characters (<, >, &, ", ') into named or numeric HTML entities to prevent rendering issues and XSS.
Your inputs are calculated locally in your browser. No personal data is sent across the network.
How to use this tool
1Step 1
Select Encode or Decode mode.
2Step 2
Paste your HTML string or entity-encoded text.
3Step 3
Copy the result.
Frequently asked questions
Which characters are escaped?
All HTML reserved symbols including &, <, >, ", ', and non-ASCII special characters.