HTML Entity Encoder & Decoder
Escape special HTML characters or decode supported named and numeric entities as plain text.
Result
How to use HTML Entity Encoder & Decoder
- Choose encode or decode
- Paste the text
- Copy the resulting HTML-safe text or decoded characters
Worked example
Encoding 5 < 7 produces 5 < 7.
Frequently asked questions
Could pasted markup execute?
The parser only decodes character references and displays the result as plain text.
Related tools
Password Strength CheckerEvaluate a password locally using the zxcvbn common-password and pattern estimator.Hash Generator & CheckerCalculate SHA-256, SHA-384 or SHA-512 checksums for text or a file and compare against a known value.Base64 Encoder & DecoderEncode UTF-8 text or a small file as Base64, or decode data to a downloadable byte file.