JSON Tools

JSON Escape

Escape quotes, control characters, backslashes, and optional Unicode for JSON strings.

Browser workspace

JSON Escape

⌘ / Ctrl + Enter to run
Privacy-first processing

Your data stays private. All processing happens locally in your browser. Nothing is uploaded to our servers.

Built for real work

Why use JSON Escape?

Escape quotes, control characters, backslashes, and optional Unicode for JSON strings. Processing stays in the current browser tab so the source remains private.

Correct JSON control escapes
Optional Unicode escaping
Preserves source text locally

How to use it

  1. Enter the original text.

  2. Choose whether to escape Unicode.

  3. Select Escape and copy the result.

Common use cases

Embed prose inside a JSON string

Prepare fixture text for source code

Example

A "quoted" line Second line ✓

Frequently asked questions

What does JSON Escape do?

Escape quotes, control characters, backslashes, and optional Unicode for JSON strings. Processing stays in the current browser tab so the source remains private.

Is my text input uploaded?

No. Your text input is processed locally by browser APIs and is never sent to DevTools Hub.

Can I use JSON Escape without an account?

Yes. JSON Escape is free, works without registration, and supports modern desktop and mobile browsers.

Explore more developer tools