Back to Free Tools
FREE TOOLS
JSON string escape and unescape
Convert plain text to a quoted JSON string and back.
Plain text
UTF-8 text
Browser only
Your input and output are processed in this browser. They are not uploaded for processing. No account is required.
This tool needs JavaScript. If it does not load, refresh the page and try again.
How to use this tool
- Paste your input in the labelled field.
- Choose the operation and settings that match your task.
- Run the tool, review the result and download it if needed. All processing stays in your browser.
Examples
hello world ↔ "hello\nworld"
Limitations
Decoding requires the surrounding double quotes.
Objects, arrays, numbers and unpaired Unicode surrogates are rejected.
Related tools
No items found.