HTML Entities
Turn characters like <, > and & into safe HTML entities, or decode entities back into plain text.
Files stay on your device
These tools process your files locally in your browser. Your documents are not uploaded to our servers.
0 characters
Encoded
Everything runs in your browser. Your text is not uploaded for processing and never leaves this device.
Frequently asked questions
What does encoding to HTML entities do?
It replaces the characters HTML treats specially (&, <, >, double quote, single quote) with entity references like & and <, so a browser shows the characters instead of interpreting them as markup.
Which entities can the decoder handle?
Named entities (&, ©, é), decimal references (©), and hex references (©) all decode back to their characters.
When should I encode text as entities?
When you show code samples, user input, or any text containing < or & inside an HTML page and want it displayed literally instead of parsed as tags or entity starts.