JSON Formatter
Format valid JSON and inspect nested values.
Try this example
Paste the sample and select Format. The keys and values should stay the same while the object and array are spread over several lines.
{"item":"notebook","stock":[2,0],"active":true}Expected result
{
"item": "notebook",
"stock": [2, 0],
"active": true
}Try {"item":"notebook",} and remove the final comma when validation fails. Keep very large identifiers in quotes, since numeric values can lose precision in browser editors.
Related walkthrough · Check JSON and export a reliable CSV
DTool Team
Product Team
We build simple, reliable browser tools that make everyday digital work faster.