{…} → pretty
JSON formatter and validator
Paste JSON to pretty-print it with clean indentation, minify it for production, or find exactly where it’s broken. Everything runs locally, so API responses, config files and tokens stay private.
Private: your files never leave your device.
How to use JSON formatter
Step 1: Paste your JSON into the left box.
Step 2: Choose an indent and press Format (or Minify).
Step 3: Copy or download the result. Errors show the exact line and column.
Frequently asked questions
Is it safe to paste API responses with secrets?
Yes. The JSON is parsed by your own browser and never sent to a server.
Why is my JSON invalid?
Common causes are trailing commas, single quotes instead of double quotes, comments, or unquoted keys. Toola points to the line and column where parsing failed.
What does “Sort keys” do?
It orders object keys alphabetically at every level, which makes two JSON files much easier to compare.