Tool capabilities
- Input
- TXT
- Output
- JSON
How to use JSON Escape
Encode text as a JSON string literal. This json escape works directly in your browser and is free to use without an account.
- Paste or open your input in the editor.
- Run the tool and inspect the output. If the input is invalid, correct the reported error and run it again.
- Copy the result or download it to your device.
JSON Escape · Example
Input
{
"project": "A little more possibility",
"local": true,
"tools": ["JSON", "Markdown", "CSV"],
"settings": { "theme": "light", "language": "en" }
}Output
"{\n \"project\": \"A little more possibility\",\n \"local\": true,\n \"tools\": [\"JSON\", \"Markdown\", \"CSV\"],\n \"settings\": { \"theme\": \"light\", \"language\": \"en\" }\n}"Usage notes
Inputs and results are processed on this device. Tool content is not sent to a processing server.
JSON requires double-quoted keys and valid values. Unsafe large integers are rejected; use strings when precision must be preserved.
Text input is limited to 5 MiB and processing runs in a cancellable worker.