String Escaper
String EscaperEscape strings for JSON, JS, SQL or HTML. Fast, free and secure — works in your browser. By AK Computer, Dwarka.
Processing...
How to use
- 1 Paste the raw string you need to escape or unescape.
- 2 Choose the target format: JSON, JavaScript, SQL or HTML.
- 3 Pick whether to escape or unescape the text.
- 4 Copy the safely encoded result into your code.
Frequently Asked Questions
Why do I need to escape strings?
Escaping prevents special characters from breaking syntax or causing injection issues in JSON, JavaScript, SQL or HTML.
Can it unescape as well as escape?
Yes, you can convert in both directions to escape raw text or restore an already escaped string.
Does escaping happen in my browser?
Yes, all encoding runs locally so your strings are never sent to a server.