Home / Developer / String Escape / Unescape
String Escape / Unescape
Escape or unescape text for JSON, JavaScript, Java, C#, Python, C, Go, SQL, CSV, regex, shell and HTML.
Free, no uploads, no sign-up. Runs 100% in your browser.
How String Escape / Unescape works
Each language has its own rules for quotes, backslashes, control characters and Unicode. The output is tested to round-trip back to your original text.
How to use String Escape / Unescape
- Open String Escape / Unescape and paste or type your input.
- Results update instantly as you type.
- Tweak options such as format, indentation or algorithm.
- Copy the output or download it as a file.
Tips
- Everything is computed locally. Safe for tokens, keys and private data.
- Use Ctrl/⌘ + K to jump between developer tools quickly.
String Escape / Unescape FAQ
- Are my files uploaded?
- No. This tool runs entirely in your browser tab. Files are read from your disk into memory and the result is generated locally.
- Is it free? Are there limits or watermarks?
- Free and open source (MIT). There are no file-size caps, daily quotas, accounts or watermarks.
- Does it work offline?
- Yes, once the page (and any engine it needs) has loaded, it keeps working without a connection thanks to the service worker cache.
Related tools
- HTML Entities: Escape and unescape HTML entities.
- URL Encode/Decode: Encode/decode URLs and parse query strings.
- Regex Tester: Test regular expressions with live highlighting and groups.
- JSON Formatter: Prettify, validate, minify and explore JSON as a tree.