Language
Back

Developer Tools

JSON to String

Escape JSON as a string literal for embedding in code.

Input

JSON to String

jsonstringescapeconverter
Output

Escaped JSON string

"{\"tool\":\"JSON Formatter\",\"featured\":true,\"count\":441}"

Related tools

Cookie preferences

We use cookies for essential site features and, with your permission, analytics and advertising.