Escape JSON strings without losing context
JSON strings must escape double quotes, backslashes, and control characters before they can be embedded inside a valid payload. This tool keeps the conversion visible so you can confirm exactly what changed before copying the output.
Switch to unescape mode when you need to read a string copied from an API response, environment variable, log line, or test fixture. Invalid escape sequences are reported as errors instead of being silently changed.