HTML entities
Escape text so it shows as written in HTML, such as < as < and & as &, or turn entities back into characters.
Nothing leaves your device.Free and unlimited, no account needed. This tool works in your browser, so nothing is uploaded.
HTML entity encoder and decoder
Escape text for HTML so that <, >, & and quotes show as written, or turn entities such as &, é and é back into characters. Free, and nothing leaves your device.
- 1
Choose encode or decode.
- 2
Type or paste the text or HTML.
- 3
Copy the result.
Questions
Which characters need escaping?
Only &, < and > in text, and quotes inside attributes. That is what the default does. Accented letters and emoji need no escaping on a page saved as UTF-8.
Is HTML entities free?
Yes, and as often as you like. It works in your browser, so there is nothing to sign up for.
What happens to my files?
They stay on your device. Everything is worked out in your browser, so nothing you type or choose is uploaded.
Do I need to install anything?
No. It works in the browser on any computer, tablet or phone.
Can I use HTML entities from my own code?
You won't need to: every programming language has hashing, Base64 and URL encoding built in. This page is for quick jobs by hand.
Other tools
- Hash generatorWork out the MD5, SHA-1, SHA-256 and SHA-512 hashes of text or a file, and check a checksum.Nothing is uploaded
- Base64 encode and decodeTurn text or a file into Base64, or Base64 back into text or a file.Nothing is uploaded
- URL encode and decodeTurn spaces and symbols into %-codes for a web address, or back again.Nothing is uploaded