What counts as valid JSON here?
The text must follow the JSON grammar of RFC 8259: double-quoted keys and strings, no trailing commas, no comments, and only the literals true, false and null. Your browser's built-in parser does the check, so the rules match what that browser accepts.
Does the tool change my numbers?
No. It copies each number exactly as you wrote it, including long integers and forms like 1E+2. Many tools that parse and re-print JSON round big numbers, so this matters for IDs and prices. The formatter only changes the spaces and line breaks.
Why does it keep repeated keys?
JSON text may contain the same key twice, and the standard says keys should be unique. Because this tool does not rebuild the data, it keeps both and shows a warning. A program that reads the file may use only the last value.
What is the difference between Format and Minify?
Format adds line breaks and two-space indents so a person can read it. Minify removes every space and line break that sits outside the strings, so the document is as short as possible. Both keep the data the same.
Why do I see a different error message in another browser?
The tool shows the message from your browser's own JSON parser, and each browser words it differently. The position, such as line and column, is the useful part. Read it, then check the quotes, commas and brackets near that spot.
Is my JSON uploaded?
No. The checking and formatting run in your browser, in a background worker on the page. The tool has no server step for your text. Close the tab and the text is gone, as nothing is saved by this tool.
Can it fix invalid JSON for me?
No. It tells you that the text is invalid and where the parser stopped, but you have to make the change yourself. This keeps your data from being altered in a way you did not intend.
What does a JSON formatter do?
It checks whether JSON is valid and displays it with readable indentation. You can also minify valid JSON to remove extra whitespace.
Does the validator send my JSON to a server?
No. The formatting and validation run locally in your browser.