LogIn
I don't have account.
Original JSON
Empty
Modified JSON
Empty
Result
Paste JSON in both panels to see the differences
The comparison updates as you type. Key order is ignored; added, removed and changed values are highlighted.
About this tool

Free Online JSON Compare & Diff Tool

Compare two JSON documents and see every difference instantly. The JSON diff aligns both files side by side and highlights added, removed and changed values with their exact JSON path, so you can debug API responses and config changes fast.

  • 100% free
  • No sign-up to compare
  • Runs in your browser
  • Key order ignored
  • Ignore keys & array order
  • Share with a link

How to Compare Two JSON Files Online


Find the differences between two JSON documents in five steps. Nothing to install and no sign-up needed. A free account is only required to create share links.

  1. Add both JSON documents: Paste the original JSON on the left and the modified JSON on the right, upload two .json files of up to 10 MB each or click Sample.
  2. See the differences instantly: The comparison runs as you type. If either side is invalid, you see the line, column and reason for the error so you can fix it first.
  3. Choose what to ignore: Turn on Ignore array order or Ignore case, or list keys to skip, such as id or updatedAt, so timestamps and generated IDs don't hide real changes.
  4. Review each change: Read the aligned side-by-side diff, or switch to the Differences list to filter added, removed and changed values. Use Prev and Next to jump between changes.
  5. Copy or share the result: Copy a plain-text report of every difference with its JSON path, or sign in and create a link that opens the same comparison.

Features of DevBrainiac's JSON Compare Tool


A free JSON diff tool that compares JSON by meaning, not just by text. Use it as a JSON comparator, JSON difference checker or API response diff tool.

Side-by-Side JSON Diff

Both documents are pretty printed and aligned line by line, with added lines in green, removed lines in red and changed values in yellow.

Semantic Comparison

Objects are compared by key, not by text, so reordered keys and different formatting never show up as differences.

Smart Array Matching

Arrays are aligned item by item, so inserting one element shows one addition instead of marking every following element as changed.

Exact JSON Paths

Every difference shows its path, such as $.plans[1].price, ready to copy into code, tests or a bug report.

Ignore Noise

Skip keys like timestamps and IDs, ignore array order or ignore letter case to focus on the changes that matter.

Type Change Detection

Spot values that changed type, such as the number 4.6 becoming the string "4.8", a common cause of API bugs.

Built-in JSON Validator

Each side is validated as you type, with the line and column of the first syntax error and a button that jumps to it.

Share a Comparison

Sign in to create a link to both JSON documents. Anyone with the link can open the comparison without signing in.

Private and Free

The comparison runs in your browser and needs no sign-up. Your JSON is only sent to our server when you sign in and share it.

Comparison Options Explained


OptionWhat it doesExample
Ignore array orderArrays with the same items in a different order are treated as equal.[1, 2, 3] equals [3, 1, 2]
Ignore caseObject keys and string values that differ only in upper and lower case are treated as equal. Ignore keys then matches key names in any case too.{"Status": "Active"} equals {"status": "active"}
Ignore keysThe listed keys are skipped at every level and shown faded. Names match exactly unless Ignore case is on.id, updatedAt, requestId

Text Diff vs. JSON Diff


A normal text diff compares JSON line by line, so reformatting a file or reordering its keys shows up as a change on every line. A semantic JSON diff parses both documents first and compares the data itself. That means:

  • Whitespace, indentation and line breaks are ignored.
  • Objects with the same keys in a different order are equal.
  • 1.0 and 1 are the same number.
  • A change is reported once, at its exact path, instead of as a block of changed lines.

When to Use a JSON Compare Tool


  • Debugging APIs: compare responses between environments, versions or before and after a deployment.
  • Reviewing config changes: see exactly which settings changed in package.json, feature flags or other JSON config files.
  • Writing tests: find why an expected and an actual JSON payload don't match, using the exact path of each difference.
  • Checking data migrations: verify that exported records match the source after a transformation.
  • Code reviews and bug reports: share a link to the comparison instead of pasting two large JSON documents.

Need to clean up or validate a single JSON document first? Use the JSON Formatter & Validator.

Frequently Asked Questions


How do I compare two JSON files online?

Paste or upload the original JSON on the left and the modified JSON on the right. The differences appear instantly below, highlighted side by side and listed with their JSON paths. No sign-up is needed.

Does key order matter when comparing JSON?

No. JSON objects are unordered, so this tool compares objects by key. Two objects with the same keys and values in a different order are reported as equal.

Does array order matter?

By default, yes, because array order is meaningful in JSON. Turn on Ignore array order to treat arrays with the same items in a different order as equal.

How do I ignore fields like timestamps or IDs?

Type the key names, separated by commas, into the Ignore keys box, for example id, updatedAt. Those keys are skipped wherever they appear in either document.

What do the colours mean?

Green lines were added in the modified JSON, red lines were removed from the original JSON and yellow lines contain a value that changed.

Can I compare large JSON files?

Yes. You can upload files of up to 10 MB on each side. Long unchanged sections are folded so you can jump straight to the differences.

Is my JSON data safe?

Yes. The comparison runs in your browser and files you upload are read on your device. Your JSON is only stored on our server if you sign in and click Share to create a link.

Can I share a JSON comparison?

Yes. Once both sides are valid, click Share, sign in (creating links needs a free account), add a title and description and click Get Link. Anyone with the link can open the comparison without signing in.