Purpose
Encode and decode ampersands, angle brackets, quotes, and other HTML characters.
How it works
Entity encoding prevents text from becoming markup in an HTML context; JavaScript, CSS, and URLs require different contextual encoding.
Input
Enter text, numbers, a file, or a query target as required. Start with the page example to confirm the format, then replace it with your data.
Interpreting output
Confirm output format, units, and status, then compare with the input and target environment; successful formatting does not prove validity.
Limitations and privacy
This tool processes input locally in the browser and does not send it to the server.