Escape for Text (default): Converts only the three characters that can break HTML parsing in body text: & → &, < → <, > → >. Quotes are left untouched because they are harmless in normal text content.
Example: The input <a href="https://example.com?x=1&y=2">Link</a> becomes <a href="https://example.com?x=1&y=2">Link</a>.
Escape for Attribute: Does everything the text mode does, and also escapes quotes so the result is safe inside an attribute value: " → " and ' → '.
Example: The same input becomes <a href="https://example.com?x=1&y=2">Link</a>.
Unescape HTML: Reverses escaping by converting entities back into their original characters, handling &, <, >, " and ' (named and numeric).
Example: The input <textarea>Hello, world!</textarea> becomes <textarea>Hello, world!</textarea>.
File Upload & Example Loader: Load a .txt or .html file into the input, or click "Load an example" to see the tool in action.
Copy & Download: Send the result to your clipboard with one click, or download it as a .txt file.
Live Statistics: Input and output character counts update as you type, so you can see how escaping changes the length of your text.