Escape and unescape JSON strings in your browser
Turn any raw text into a valid JSON string literal — with quotes, backslashes, tabs and newlines correctly escaped and the whole thing wrapped in double quotes — or go the other way and unescape a JSON string back to plain text. Useful for pasting multi-line content into a JSON config, log line or API payload.
Everything runs locally in your browser — nothing is uploaded, which makes it safe for confidential text and snippets.