Why encode HTML entities?
Raw text pasted into HTML breaks markup as soon as it contains <, & or quotes — and can become an XSS vector. Paste your text above to escape it safely.
How it works
The five HTML special characters are replaced with their named entities, and any character outside printable ASCII becomes a decimal numeric reference. The output is plain ASCII, safe to embed in any HTML document or attribute.