Convert STRING to JSON, Free
Files convert instantly in your browser. 100% private, any file size, no account needed.
How to convert STRING to JSON
A JSON string is a JSON object or array that has been serialized into a plain text string, often by calling JSON.stringify() or json.dumps(). This produces a string with escaped quotes and backslashes that is difficult to read. Converting the string back to JSON parses it and formats it with proper indentation so you can inspect the data structure.
Paste your stringified JSON into BoltConverter and the converter parses it, validates it, and returns a properly formatted JSON object. This is useful when inspecting API responses, debugging serialized data, or converting a JSON string stored in a database field.
Paste the JSON string
Copy the stringified JSON text and paste it into the input field. It may look like a string with escaped quotes.
Parse and format
The converter parses the string and formats the resulting JSON with indentation and line breaks.
Copy or download the JSON
Use the formatted JSON in your code, or download it as a .json file.
Frequently asked questions
What is a JSON string?
A JSON string is the result of serializing a JSON object into a text string. In JavaScript, JSON.stringify({a:1}) produces the string '{"a":1}'. It looks like JSON but is wrapped in outer quotes when stored as a value.
Why does my JSON string have backslashes everywhere?
When JSON is double-serialized (stringified twice), inner quotes get escaped as backslashes. You need to parse it twice or strip one layer of escaping to get back to valid JSON.
What happens if the string is not valid JSON?
The converter reports a parse error and shows where the problem is in the string. Common issues are unescaped quotes, trailing commas, or incomplete data.
Can I use this to pretty-print minified JSON?
Yes. Minified JSON (valid JSON with no whitespace) is converted to formatted JSON with proper indentation for readability.
What is the difference between String to JSON and JSON formatting?
String to JSON specifically handles stringified JSON (where the outer wrapping quotes and escape characters need to be removed). JSON formatting just adds indentation to already-valid JSON.