&
HTML Entity Encode
EncodingOffline-ready
HTML Entity Encode converts characters that have special meaning in HTML — <, >, &, ", and ' — to their safe entity equivalents. Use it to safely display user-generated content, prevent XSS injection, and prepare text for HTML templates. Supports both named entities (&, <) and numeric decimal/hex forms (<, <). Runs entirely in your browser.