JSON formatter
Validate, tidy up or minify JSON on your device.
JSON details
Strict syntax
JSON requires double-quoted keys and strings. Comments and trailing commas are not valid. A syntax error is reported without uploading the input.
Format or minify
Formatting uses two-space indentation. Minifying removes unnecessary whitespace without changing the parsed data. Neither mode validates against a schema.
Number precision
This tool uses JavaScript JSON parsing. Very large integers may lose precision, and duplicate keys keep the last value. Keep an original copy when formatting sensitive data.