JSON escape and unescape
Convert raw text into a valid JSON string body — encoding quotes,
backslashes, newlines, tabs and control characters — or decode an escaped
JSON string back to plain text, resolving \n, \t, \", \\ and \uXXXX
unicode escapes.
It uses the browser’s native JSON parser and serialiser, so the result is spec-correct. Everything runs in your browser — nothing is uploaded.