HTML Entity Encoder & Decoder

Convert special characters to safe HTML entities (<, >, &) to prevent XSS.

About the HTML Entity Encoder & Decoder

Convert special characters to safe HTML entities (<, >, &) to prevent XSS. This tool runs in your browser, so the files or text you use are processed on your own device. Keep a copy of your original file and check the result before relying on it.

Related guides

More Converters & Utilities