๐ Privacy Safe:All processing is done 100% locally in your browser, nothing is uploaded to the server.
HTML Entity Codec
HTML entity encode/decode with named and numeric entities, essential for XSS-safe escaping.
- Entity encode
- Entity decode
- Named/numeric entities
- Quote escaping
...
How to use HTML Entity Codec
- Paste code๏ผPaste an HTML snippet or entity string
- Convert๏ผClick encode or decode
- Copy & use๏ผCopy the result into your page or docs
FAQ
What is HTML encoding for?
Encoding turns <>&"' into entities like <>&, stopping browsers from parsing them as tags โ a basic XSS defense.
Which entity formats are supported?
Named (&), decimal (&) and hex (&) entities are all decoded โ just paste and restore.
Are quotes escaped?
Yes, quotes are escaped by default, safe to embed user input into HTML attributes and JS strings.