JSON Diff
Developer
Plain text diff treats JSON as lines of characters; JSON Diff understands the structure. Paste two JSON documents and get a typed list of changes — added paths in green, removed in red, changed values in amber, each with a dotted-path location like $.address.zip. Reorder keys without seeing 'differences', spot missing fields instantly, and stop scanning whitespace.
~ $.age30 → 31~ $.roles[1]"editor" → "viewer"~ $.address.zip"04000" → "04001"+ $.address.country"KR"
How to use
- Paste the original JSON on the left, the new one on the right.
- Read the path-based change list.
- Parser errors show next to whichever side is invalid.
Frequently asked questions
- Why not just use a text diff?
- Text diff is line-based and confused by re-ordered keys, different indentation, or trailing-comma style. JSON Diff compares parsed structures, so identical data with different formatting reports zero changes.
- What does the path syntax mean?
- JSONPath-style: $ is the root, .key is a property, [n] is an array index. So $.posts[0].tags[1] is the second tag of the first post.
- How are arrays compared?
- By index, item-by-item. If the lengths differ, the extra trailing items are listed as added or removed. Reordering the same items still shows changes at the differing indices.
- Is anything uploaded?
- No — both JSONs are parsed and diffed locally in your browser.
Related tools
JWT Decoder
Decode a JSON Web Token to inspect its header, claims, and expiration.
UUID Generator
Generate random version-4 UUIDs in bulk, with copy.
Hash Generator (SHA)
Generate SHA-1, SHA-256, SHA-384, and SHA-512 hashes from text.
URL Encoder / Decoder
Percent-encode text for URLs, or decode encoded URLs back to text.
Base64 Encoder / Decoder
Encode text to Base64 or decode Base64 back to text, instantly.
JSON Formatter & Validator
Format, beautify, minify, and validate JSON right in your browser.