About HTML entities
HTML entities let you include reserved characters, &, <, >, ", ', in HTML without breaking markup or opening XSS vulnerabilities. This tool always encodes those five dangerous characters using named entities; the optional non-ASCII mode converts any character above U+007F to a numeric decimal reference (&#nnn;), which is useful when your output must be pure ASCII. Decoding is performed via a detached DOMParser document so no script or element is injected into the live page, making it safe to decode potentially hostile HTML.