JSON diff tool — compare by meaning, not by whitespace.
Paste two JSON documents and see exactly which keys were added, removed or changed — ignoring formatting and key order — as a list of paths and as a line diff of the normalised output.
About this free JSON diff.
This free JSON diff tool compares two JSON documents by structure rather than by text. Both documents are parsed, then every value is compared path by path, so differences in indentation, key order and trailing whitespace are ignored. The result is a list of paths that were added, removed or changed, each with the before and after value, followed by a conventional line diff of the normalised documents for context.
Use it to compare an API response before and after a deploy, check what changed between two versions of a config file, or verify that a migration produced the data you expected. Comparison runs in your browser, so production payloads stay on your machine.
Free · No signup · Runs in your browser · Last updated
- Structural comparisonParses both sides and compares values, not characters.
- Ignores formattingIndentation, key order and whitespace do not count as changes.
- Path listEvery added, removed and changed key as a dotted path with old and new values.
- Optional array orderTreat [1,2] and [2,1] as equal when order does not matter.
- Line diffA readable diff of the normalised output underneath.
- PrivateNothing is sent to a server.
How to compare two JSON documents in four steps.
Paste the first document
Put the original JSON in the Before box.
Paste the second
Put the newer version in the After box.
Compare
Click Compare. Tick Ignore array order first if arrays are sets rather than sequences.
Read the changes
Scan the list of added, removed and changed paths, then use the line diff to see them in context.
JSON diff questions, answered.
How is this different from a text diff?
A text diff sees formatting: reordered keys, different indentation and trailing commas all show as changes. This tool parses both documents and compares values, so only real differences are reported — then shows a line diff of the normalised form for context.
What does 'ignore array order' do?
Treats [1,2] and [2,1] as equal. Off by default, since order usually matters in JSON arrays.
Is my data uploaded?
No — parsing and comparison happen in your browser.
How are values at different paths reported?
Each difference is shown as a dotted path such as user.address.city or items[2].price, with the value on each side. A key present only in the second document is listed as added, one present only in the first as removed, and a key in both with different values as changed.
Does the diff treat 1 and "1" as the same?
No. A number and a string are different JSON types, so "1" and 1 are reported as a change. This is deliberate: type differences are one of the most common causes of bugs between API versions.
Can I diff very large JSON files?
The tool handles documents of several megabytes in a modern browser, but the limit is your device’s memory rather than a server quota. For very large files, compare a representative subset or use a command-line tool.
Also free.
JSON formatter & validator
Paste JSON to format it with two or four spaces, sort keys, minify for transport, and get a clear error with line and column when it doesn’t parse.
header · payload · expiryJWT decoder
Paste a JSON Web Token to see its header and payload decoded, the algorithm, and whether it’s expired or not yet valid — all in your browser.
javascript flavourRegex tester
Type a pattern and flags, paste some text, and see every match highlighted with its capture groups as you type.
text · files · url-safeBase64 encoder / decoder
Encode text or a file to Base64, or decode Base64 back to text — with proper UTF-8 handling, an optional URL-safe alphabet, and a data-URL output for files.
v4 · v7 · bulkUUID generator
Generate random v4 UUIDs or time-ordered v7 UUIDs, in bulk, uppercase or lowercase, with or without hyphens.
unix ↔ dateTimestamp converter
Paste a Unix timestamp (seconds or milliseconds) or a date, and see it in UTC, your local zone and ISO 8601, plus relative time.
Want a diff like this every time a page changes? That’s page change monitoring.
Page change monitoring watches any URL, yours or theirs, and sends a highlighted diff, an alert and a report on your schedule. $2 a page a month, your whole team included.