JSON Escape
Encode text as an escaped, quoted JSON string.
Valid JSON
Your input is processed locally in this browser tab.
How to use JSON Escape
Paste raw text containing quotes, newlines, tabs, backslashes, or Unicode characters.
Copy the resulting valid, double-quoted JSON string literal.
Paste it directly inside JSON payloads or source code literals.
Frequently asked questions
Are the surrounding double quotes included?
Yes. JSON Escape outputs a complete quoted JSON string ready to drop into JSON.
Can I reverse the process?
Yes. Use JSON Unescape to convert a quoted JSON string back into raw text.