JSON Formatter
Format, minify and validate JSON without changing large integers, number notation, key order or string escapes. Import files and locate syntax errors.
Compare JSON values and types independently of object key order, with precise paths for added, removed and changed data.
Compares values and types. Object key order is ignored; array order is preserved.
Updates as you type or change an option
The table shows the first 300 changes. Download JSON for the complete comparison.
Compare two API responses or configuration files without treating indentation and object property order as meaningful changes.
Paste or open the original and updated JSON. The table lists each changed path and both values. Reordering object properties does not count as a change; moving array items does.
Numbers retain their precision, while equivalent forms such as 1 and 1.0 compare equal. Duplicate keys are rejected. The table shows 300 changes; the JSON download includes all changes with values stored as their original JSON text. Each input supports 2 MiB, 30,000 values and 80 levels. A comparison supports up to 10,000 changes. If it exceeds that limit, split the input and try again.
Yes. Arrays are compared by index; object property order is ignored. Numerically equivalent forms such as 1 and 1.0 compare equal. Duplicate object keys are rejected.
Those fields contain the original JSON text to preserve number precision and distinguish types. A JSON null value appears as the text "null"; an absent value uses null. Parse each text value separately only if your downstream parser can preserve its numbers.
Only the table is shortened. Copying or downloading includes every detected difference, up to 10,000. If that limit is exceeded, the comparison fails as a whole; split the documents into smaller matching sections and compare again.
Your choice about analytics
We use Umami to measure page visits. Analytics is optional, and your tools work either way.
Your current setting allows analytics.
Your current setting does not allow analytics.
The analytics service has changed. Refresh the page after finishing your current work to apply the new settings.
Your browser is sending a Do Not Track or Global Privacy Control signal. Analytics will remain off.
We use Umami to understand which pages people visit and how they find this site. You can decline or change your choice at any time. All site features will still work.
Your choice is saved in this browser for six months. Analytics does not upload files or content you enter in our tools.
Privacy Policy
Comments
0