Back to tools
Developerpublic tool

JSON — Escape

Escape a string so it can be embedded inside a JSON literal. Quotes, backslashes, and control characters.

Mode
Escape
Input
88 chars
Output
94 chars
Format
JSON literal

Plain text

Will be escaped for JSON

Escaped

Safe to embed in a JSON literal