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}"Tool Planet
Tools
Developer Tools
Escape JSON as a string literal for embedding in code.
"{\"tool\":\"JSON Formatter\",\"featured\":true,\"count\":441}"Cookie preferences
We use cookies for essential site features and, with your permission, analytics and advertising.

