JSON Diff
TrendingSemantic, order-independent diff of two JSON documents: added, removed and changed values by path.
Paste or type your input here, JSON Diff is loading…
About JSON Diff
JSON Diff compares two JSON documents by meaning rather than by text. It lists every added key, removed key, changed value with its old and new version, and change of type, each grouped under its path, with colour coding and a count of each kind of change.
Because it is semantic, the order of keys in an object is ignored: two configs that contain the same data in a different order are reported as identical, which a plain text diff gets wrong. For arrays you choose: keep order comparison on for ordered lists, or switch it off when the array is really a set.
Both inputs are validated first, and an invalid document is reported with its error position, so a stray comma cannot masquerade as a difference.
It is ideal for comparing two API responses, two versions of a configuration file, or the before and after of a refactor, and especially for catching a key that was dropped or a number that quietly became a string.
| Price | Free, no signup, no paywall, no watermark |
|---|---|
| Works on | Any modern browser: desktop, tablet, and mobile |
| Processing | In your browser, files never leave your device |
| Account required | None |
| Category | Developer Tools |
Using JSON Diff, Step by Step
Paste the original JSON on the left and the modified JSON on the right
Review the grouped list of added, removed and changed values
Copy or download the diff
Features Built Into JSON Diff
Semantic, order-independent diff of two JSON documents
Reports added keys, removed keys, changed values (old → new) and type changes, grouped by path
Object key order is ignored; optional ignore-array-order mode
Colour-coded results with added/removed/changed counts
Validates both sides and pinpoints invalid JSON
When to Use JSON Diff
Comparing two API responses or config versions
Reviewing what changed between two JSON snapshots
Spotting accidental key removals or type changes
Diffing JSON where key order differs but content shouldn't
Expert Tips for JSON Diff
Use it after a refactor to confirm a config change didn't drop or retype any values.
Keep array order comparison on for ordered lists, off for sets.
Frequently Asked Questions About JSON Diff
Common questions about this tool, its workflow, and what to expect before you use it.
Standards and references for JSON Diff
- RFC 8259: The JSON Data Interchange Format
IETF
Defines valid JSON, which is what the validator checks your input against.
Ratings and reviews
No ratings yet. Be the first to say how JSON Diff worked for you.
Reviews appear here once our team has read them, so everything you see is from someone who signed in and used the tool.
Stay Updated
Get notified about new tools, features, and tips. No spam, unsubscribe anytime.
Related Tools You May Like
View all 36 toolsMock Data Generator
Generate realistic fake JSON, CSV or SQL test data from a simple field schema: names, emails, dates, UUIDs and more.
Open toolcURL Command Builder
Build cURL commands from a request and convert them to fetch or axios code, and parse cURL back.
Open toolJSON Formatter
Beautify, minify, sort, repair and validate JSON with precise error location, a collapsible tree view and path queries.
Open toolBase64 Encoder/Decoder
UTF-8-safe Base64 encode & decode with a URL-safe variant, line-wrapping and file-to-Base64 (data URI).
Open toolURL Encoder/Decoder
Encode and decode URLs and components, with a live breakdown of query parameters.
Open toolJWT Decoder
Decode and inspect a JWT's header, payload and claims with human-readable timestamps and live expiry status.
Open toolHash Generator
Generate MD5, SHA-1, SHA-256, SHA-384, SHA-512 and HMAC digests for text or files.
Open toolRegex Tester
Test and debug regular expressions with live match highlighting, capture groups, replace and example patterns.
Open toolFeature this tool on your site
Writing a roundup or tutorial? Embed the live JSON Diff so readers use it right on your page, or drop in a ready-made card that links to it. Free to use, always.
Preview
Semantic, order-independent diff of two JSON documents: added, removed and changed values by path.
Use JSON Diff free →Live tool (iframe)
Readers use the real, working tool right on your page, with a small credit line underneath.
Embed card (HTML)