● JSON

JSON Escape / Unescape

Escape and unescape special characters, quotes, and backslashes in JSON strings.

Processed locally. Your input stays in this browser.
Operation Mode:
2 lines•36 chars•36 B
Escaped JSON Output
1 line•40 chars•40 B
Read-only output

What JSON Escape / Unescape Does

Safely escape and unescape quotes, control characters, newlines, tabs, and backslashes for JSON payload embedding.

How It Works

  • 1.Paste your raw text or escaped JSON string.
  • 2.Choose whether to Escape special characters or Unescape backslashes.
  • 3.Copy or download the transformed string output instantly.

Common Use Cases

  • •Escaping JSON strings before embedding inside string parameters.
  • •Unescaping raw JSON payloads extracted from backend error logs.
  • •Sanitizing double quotes and backslashes for bash or curl scripts.

Frequently Asked Questions

What characters are escaped?

Double quotes ("), backslashes (\), newlines (\n), tabs (\t), and ASCII control characters.

Popular Next Tools