◧ DEVELOPER Updated July 25, 2026

JSON Escape / Unescape

Paste anything and get a JSON-safe string back.

Text
Mode
JSON string
Ad space · belowTool · horizontal

How it works

Escaping runs the text through JSON.stringify and strips the outer quotes, so quotes, backslashes, tabs and newlines all become valid escape sequences; unescaping reverses it with JSON.parse.

Frequently asked questions

Why do I need escaping?

Raw quotes and newlines break JSON payloads, config files and API request bodies.

Does it handle unicode?

Yes. Non-ASCII characters pass through intact and control characters are escaped properly.

Comments

Comments aren't enabled yet. When you're ready, this is where a service like Giscus, Disqus, or a custom form would go — the slot is already reserved on every tool page.