Paste JSON or drop a file to validate, format, minify and explore it as a tree. Errors come with the line, column and a plain-language explanation, and common mistakes can be fixed in one click.
No. Parsing, formatting and fixing all happen locally in your browser. Your data never leaves your device.
Standard JSON does not allow a comma after the last item of an object or array, e.g. {"a": 1,}. Remove the last comma or press the Auto-fix button.
JavaScript stores numbers as 64-bit floats, so integers above 9007199254740991 get rounded. This parser keeps the original digits, so IDs and big integers stay exactly as written.
No. Comments (// or /* */) are not part of the JSON standard. This tool points them out and can remove them automatically.