Tools
Get Pro

JSON Diff & Compare

Paste two documents. Key order never counts, array items are matched by id — you only see real changes.

AOriginal
BModified

Example: compare two API responses

The modified response lists its keys in a different order, has a new user at the top of the array and a fresh updatedAt on every item. A line-by-line diff marks almost every line as changed. With Smart array matching and updatedAt in “Ignore fields”, CurlyJSON reports 2 changes:

Original
{
  "users": [
    {
      "id": 1,
      "name": "Ada",
      "role": "admin",
      "updatedAt": "2026-10-01T08:00:00Z"
    },
    {
      "id": 2,
      "name": "Grace",
      "role": "editor",
      "updatedAt": "2026-10-01T08:00:00Z"
    }
  ],
  "version": 3
}
Modified
{
  "version": 3,
  "users": [
    {
      "id": 3,
      "name": "Linus",
      "role": "viewer",
      "updatedAt": "2026-10-25T12:00:00Z"
    },
    {
      "role": "admin",
      "name": "Ada",
      "id": 1,
      "updatedAt": "2026-10-25T12:00:00Z"
    },
    {
      "id": 2,
      "name": "Grace",
      "role": "admin",
      "updatedAt": "2026-10-25T12:00:00Z"
    }
  ]
}
ChangePathBeforeAfter
Changed$.users[id=2].role"editor""admin"
Added$.users[id=3]{"id":3,"name":"Linus","role":"viewer","updatedAt":"2026-10-25T12:00:00Z"}

Users are paired by their id, so the new item at the top doesn’t shift the others. Arrays without an id-like field are aligned by content, which means reordered items do show up as changes — choose “Ignore order” under Arrays to disregard order completely. Need to apply the change in code? The JSON Patch view turns the same comparison into RFC 6902 operations. To check one document against a contract instead, use the JSON Schema validator; to pull out a single field first, try the JSONPath playground.

A JSON compare that shows only what matters

Built for comparing API responses, configs and fixtures — without the noise of text-based diff tools.

Structure, not text
Reordered keys and different formatting never show up as changes.
Smart array matching
Items are paired by id, uuid, sku… so inserting one item doesn’t flag the whole list.
Ignore the noise
Skip timestamps and request IDs anywhere with wildcards like *At — with one-click suggestions.
Readable paths
Every change shows its exact location, like $.users[id=42].email — click to copy.
Reports & patches
Copy a Markdown table for a ticket or PR, or a standard JSON Patch for code.
Private & free
Runs in your browser. Big numbers stay exact. AI summaries with Pro.

Frequently asked questions

Why does this find fewer differences than other JSON compare tools?+

Most tools compare text line by line, so reordered keys or one item inserted at the top of an array make everything look changed. CurlyJSON compares structure: key order never counts, and array items are matched by their id (or by content), so you only see real changes.

How are array items matched?+

Smart mode looks for a field that uniquely identifies every item — like id, uuid, sku or userId — and matches items by it, wherever they are in the array. Without one, it aligns unchanged items and reports only what was inserted, removed or edited. You can also pick a key yourself, compare strictly by position, or ignore order completely.

Can I ignore timestamps and request IDs?+

Yes. List field names in “Ignore fields” — wildcards work, so *At ignores createdAt and updatedAt everywhere. CurlyJSON also suggests fields that look like timestamps when they change.

Is my data uploaded?+

No. Both documents are compared in your browser. Share links keep the data after the # in the URL, which is never sent to a server. The AI summary (Pro) runs on-device in desktop Chrome, and uses cloud AI elsewhere only after you approve it.

What is the JSON Patch output?+

A standard RFC 6902 patch: a list of add, remove and replace operations that turns the original document into the modified one exactly. Use it in APIs, tests, or to store changes compactly.