How to use it
- Choose Escape or Unescape.
- Paste your text.
- Copy the result.
Where escaping applies
The result suits HTML text and quoted attribute values. JavaScript, CSS and URLs need their own encoding, so this is not a complete defence against script injection.
Questions
Which characters are escaped?
&, <, >, double quotes and single quotes.
Is pasted HTML run?
No. It stays text.