Home/Developer/JSON String Escape / Unescape

JSON String Escape and Unescape

Escape any text into a valid JSON string literal, or take an escaped JSON string and turn it back into raw, readable text. When you need to embed a multi-line snippet, a block of HTML, or text containing quotes inside a JSON value, every double quote, backslash, newline and tab has to be escaped correctly or the JSON breaks. This tool does that for you, wrapping the escaped result in quotes ready to paste into a config file or payload, and it also reverses the process to reveal what an escaped string really contains. Paste your input, choose escape or unescape, and copy the result. Everything runs locally in your browser, so sensitive strings and payloads are never transmitted anywhere.