Using the HTML entities encoder and decoder
Turn <, &, quotes and non-ASCII characters into HTML entities, or decode entities back to the characters they stand for. Everything runs in your browser – nothing you paste is uploaded or stored, so it is safe for tokens, keys and private data.
What is an HTML entity?
An HTML entity is a way of writing a character that would otherwise be interpreted as markup, or that is hard to type. It starts with & and ends with ; – either a name (&, ©) or a number (&, ©).
Named or numeric entities?
Named entities are more readable but only exist for a fixed set of characters. Numeric entities work for any character at all. The encoder uses names where one exists and falls back to numbers otherwise; switch to “Numeric” in the settings to force numbers everywhere.
Which characters get encoded?
By default only the characters that must be escaped in HTML (& < > " '). Switch the scope to “every non-ASCII character” to also encode accented letters, symbols and emoji – useful for ASCII-only channels.
What else can this tool do?
The same converter also handles base64, url, jwt, hex, binary, morse code and rot13 / caesar cipher. Pick a format from the menu without leaving the page.
Is any of this encryption?
No. Encoding changes how data is represented so it can travel safely through a channel; it does not protect it. Anyone can reverse Base64, percent-encoding, hex or ROT13. For a one-way fingerprint use the hash generator; to check JSON you have decoded, use the JSON formatter.