HTML Entities Encode / Decode
Free HTML entities encoder & decoder. Encode &, <, > and named/numeric references, or decode back to text. Runs in your browser.
Runs in your browserUpdated Apr 26, 2026
Input
Output
Frequently asked questions
›Why do I need to escape HTML?
To prevent special characters from being interpreted as HTML tags. < becomes < so the browser shows the character instead of opening a tag.
›What characters need escaping?
At minimum: < > & " '. For maximum safety, escape every non-ASCII character to numeric entities like 😀.
›Is my input uploaded?
No — runs entirely in your browser.
›Does it handle named entities like ©?
Yes — both named (©) and numeric (© or ©) entities are decoded correctly.
›Is the tool free?
Yes — fully free, no signup.