Free HTML entities encoder
Escape text for safe use in HTML, or turn entities back into characters.
Runs in your browser. Nothing you type is sent to us · free, no sign-up
HTML entities encoder
Loading the tool
Prefer to call?
071 577 0488, any hour, in Sinhala or English.
How to read the result
The tool escapes text so it shows as text in HTML (< becomes <, & becomes &) or turns entities back into characters. Escaping user input before showing it on a page is the basic defence against cross-site scripting (XSS).
Questions people ask
When do I need to escape HTML?
Whenever you put text into a web page that could contain <, >, & or quotes, especially anything a visitor typed.
Is my text sent anywhere?
No. It is converted in your browser.
Is this tool free?
Yes, free with no sign-up, and it runs entirely in your browser.
14More Utilities tools
- Password generatorStrong random passwordsOpen →
- Base64 encoder and decoderEncode and decodeOpen →
- URL encoder and decoderPercent-encode textOpen →
- Hash generatorMD5, SHA-1, SHA-256 and moreOpen →
- htpasswd generatorBasic-auth linesOpen →
- QR code generatorSVG QR codesOpen →
- UUID generatorRandom v4 UUIDsOpen →
- JWT decoderHeader, payload and expiryOpen →
- JWT generatorSign an HS256 tokenOpen →
- Regex testerLive matches and groupsOpen →
- Text diff checkerCompare two textsOpen →
- Unix timestamp converterUnix time to datesOpen →
- Password breach checkerSeen in a data breach?Open →
- nginx and Apache config generatorGenerate a virtual hostOpen →