String escape & unescape
Escape or unescape text for JSON strings, regular expressions and shell commands. Avoids quoting mistakes.
Runs in your browser ยท nothing is sentEncoding
The result appears here
About this tool
Choose the target format and direction, paste your text and copy the result.
๐ Your input stays in your browser and is never sent anywhere.
Frequently asked questions
Why escape text for the shell?
Special characters can change what a command does. Single quotes make the text literal.
What to do next
Found a problem or have a suggestion? Tell us