Tool
JSON Escape / Unescape
Escape text for embedding in JSON strings, and unescape back
How to use
- Type or paste text to escape into the left pane; the escaped JSON string literal appears on the right.
- Paste an escaped string to unescape it back to plain text.
- Both directions run as you type.
About this tool
Embedding user text into JSON — config files, prompt templates, API payloads — fails on the same four characters every time. This tool applies the exact escaping JSON.parse expects, and unescapes back losslessly, including surrogate pairs for emoji.