Escape special characters as HTML entities, or decode entities back to plain text.
Encoding replaces the five characters that have a meaning in HTML: & becomes &, < becomes <, > becomes >, a double quote becomes " and an apostrophe becomes '. Everything else, including accented letters and emoji, is left alone, which is fine on any page saved as UTF-8.
Decoding works the other way and understands every named entity ( , ©, é) as well as numeric ones in decimal (₹) or hex (₹). Real tags in the text, like <b>, are kept as they are; only the entities are turned back into characters.
Encoding is the right way to place untrusted text between tags or inside a quoted attribute. It does not make text safe everywhere: inside a <script> block, in an unquoted attribute or in a link's href (where javascript: URLs are a risk) you need different handling. If you are building a site, let your framework or template engine do the escaping and use this tool for checking and one-off jobs.
A code that stands for a character, such as < for < or © for ©. Browsers show the character instead of the code.
It's a non-breaking space. It looks like a normal space but stops a line from wrapping there, and it's a common reason copied text behaves oddly.
No. Only & < > " and ' are changed. Accented letters and emoji display correctly on UTF-8 pages, which is nearly every site today.
No. Encoding and decoding happen in your browser.
OneClickly is a set of 119 free tools for PDFs, images, text, everyday math and code. They run in your browser, so the files and text you work with stay on your device.