developer
Free JSON Escape Tool
Escape JSON strings for code, logs, and payloads.
local browser tool
Introduction
Escaping JSON strings is useful when embedding payloads inside source code, shell commands, or nested data.
How To Use
Step 1
Paste raw text
Add the string you need to escape for JSON usage.
Step 2
Run escape
Convert quotes and special characters into safe JSON string form.
Step 3
Copy output
Paste the escaped result into code or config files.
Examples
Input
hello "world"
Output
"hello \"world\""
FAQ
Does this tool upload my input?
No. This tool runs in your browser for the first release, so your input stays local.