Paste your JSON
From an API response, a config file or a log. It is checked as you paste.
Paste your JSON to indent it, minify it or check it. If it is broken you get the exact line and column, in plain words, and a one-click repair for the usual mistakes.
100% private — your JSON is processed in your browser and never sent to any server. Safe for API responses that contain tokens or personal data.
Keep going with your result in another tool. Nothing is uploaded.
From an API response, a config file or a log. It is checked as you paste.
Valid JSON is indented and colored. If it is broken, you see exactly where and why.
Copy the formatted result, or let the tool repair the common mistakes for you.
JSON is the format most programs use to exchange data: API responses, configuration files, exports and logs. It is easy for machines and hard for people, especially when it arrives on a single line. This tool turns that line into readable, indented JSON, or does the opposite and minifies it to save space, and it tells you whether the JSON is valid at all.
A typical parser says something like "Unexpected token } at position 214". Here you get the line and column, the surrounding lines with a marker under the problem, and an explanation such as "there is a comma before a closing brace". The mistakes that cause most invalid JSON are always the same ones:
True or None.When the JSON is broken but the intent is clear, the "Try to repair automatically" button fixes all of the above and tells you what it changed. It also removes the code fence that chat assistants wrap around JSON and turns curly quotes pasted from a document into normal ones. Review the result: a repair is a reasonable guess, not a guarantee.
Many formatters parse numbers into ordinary floating-point values, which quietly rounds very large numbers such as long identifiers. This tool keeps every number exactly as you wrote it. It also warns you about repeated keys, which are technically accepted but usually mean a mistake, because most programs keep only the last value.
API responses often contain tokens, emails or customer data. Because the work happens in your browser, nothing is sent to a server, and you can use the tool without giving that information to anyone.
More utilities that also run without leaving your browser.