HTML Entity Encoder
Escape ampersands, angle brackets and quotes into HTML entities.
Workspace
Processing runs locally in your browser. Input and results are not saved by this tool.
Enter input or use an example to begin.
How to use HTML Entity Encoder
Enter your input, or select Use example. Adjust the options, then select Run tool. Copy the exact result or download it as a text file.
Features and supported inputs
Escape ampersands, angle brackets and quotes into HTML entities.
Common errors and limitations
Encodes text rather than sanitizing a complete HTML document. Output is always shown as inert text. Maximum 200,000 code units.
Local processing
This workspace processes your input on this device. It does not send input to a processing service or store your results. Clipboard access may require browser permission; if unavailable, select the result and copy manually.