Escape or unescape HTML entities safely in your browser
HTML Entity Encoder/Decoder is a secure developer utility built to escape or unescape html entities safely in your browser. Developers frequently handle sensitive tokens, JSON configs, and code blocks; this tool processes all text manipulations entirely offline, preventing leaks.
HTML entities are codes that represent characters with special meaning or that are hard to type in HTML. They start with & and end with a semicolon, such as < for <, & for & and © for the copyright sign. Numeric forms like © also work.
Paste the text in Encode mode. The five characters & < > " and ' are replaced with & < > " and '. For example, <p>Fish & Chips</p> becomes <p>Fish & Chips</p>, which browsers show as text instead of running it as markup.
Switch to Decode and paste the text. Named entities such as & and ©, and numeric ones like é or é, are converted to real characters. Only a common set of named entities is recognised, so a rare name may stay as is.
When it is on, every character above code point 126 is written as a numeric entity, so é becomes é and the pound sign becomes £. This is useful for systems that cannot handle UTF-8. When it is off, those characters are left as they are.
Escaping user input before inserting it into HTML text is a core defence against cross-site scripting, but context matters. Attributes, URLs, JavaScript and CSS need their own escaping rules. Use your framework built-in escaping instead of doing it by hand where possible.
A non-breaking space ( ) looks like a space but stops a line from wrapping there, and browsers do not collapse several of them into one. A normal space can be collapsed and wrapped. On decoding, this tool turns into a regular space character.
No. Toolskyt operates under a zero-server policy. All calculations, data formatting, and file exports are executed locally on your machine.
No, this tool is 100% free. There are no limits, sign-ups, subscriptions, or hidden charges required.
Yes, absolutely. The tool executes 100% inside your local browser memory space. No inputs are sent to any servers.