JSON Diff Checker - Local Semantic Compare

Compare two JSON documents locally in your browser. Sort object keys for a semantic diff, ignore key-order noise, and mark added, removed, and modified fields without uploads.

Click for theater mode

Diff Result

Found 3 change(s)

1
Added
0
Removed
2
Modified
4
Unchanged
AddedpaidAt
2026-05-06T12:00:00Z
Modifiedcustomer.tier
pro
enterprise
Modifiedstatus
pending
paid

JSON parsing, sorting, and comparison run locally in your browser and are not uploaded; refreshing clears the current input.

How to Use

  1. Paste the original JSON on the left and the modified JSON on the right, or load the sample.
  2. Use โ€œSort and Formatโ€ when the objects use different key order.
  3. Review the summary: green means added, red means removed, and yellow means modified.
  4. Inspect the path list to locate each change; enable unchanged fields when you need the full structure.
  5. Copy the diff report or download it for API debugging, release notes, or config review.

Core Features

  • Semantic JSON diff: Parse JSON first, then compare by path so normal key-order changes do not flood the result.
  • Sort by keys: Format both sides and sort object keys alphabetically to remove order-only noise.
  • Added / removed / modified highlights: Use green, red, and yellow states to scan API response or config changes quickly.
  • Path-level inspection: Show differences by paths such as profile.city and items[0].sku.
  • Syntax error detection: Validate JSON before comparison and show a clear error when either side cannot be parsed.
  • Local secure compare: Tokens, database settings, and private payloads stay in browser memory and are not uploaded.

Related Tools

FIRE Calculator 2026 (Inflation Adjusted) | Retirement Gap Simulator

The 2026 FIRE Calculator (Inflation Adjusted). Simulate real purchasing power, analyze retirement savings gaps, and generate a visual wealth roadmap. One-click CSV export for your Excel or Notion finance dashboard. 100% Private, client-side calculation.

Position Size Calculator - Risk-Based Trade Sizing

Calculate trade position size from account balance, risk %, entry, and stop loss. Runs locally in your browser with no uploads, so you can compare risk scenarios before you trade.

Compound Interest Calculator | Free APY & Investment Chart

Calculate compound interest from principal, recurring contributions, APY, and time. Visualize principal, interest, and final balance with a local interactive chart.

PUBG Erangel Interactive Map 2026: Secret Basements & Loot Guide

Struggling to find Erangel secret rooms? Use our 2026 interactive map to locate all 15 red-door entries, key spawns, and T3 loot heatmaps. Privacy-first & free.

PUBG Taego Secret Room Map 2026: Key Spawn & Hidden Locations

Definitive Taego map for 2026. With Error Spaces removed, identify "Blue-Roof" houses for crate-tier loot and Self-AEDs. Privacy-first, forever free.

PUBG Vikendi Map 2026: Bear Caves, Lab Camps & Secret Loot

Vikendi 2026 tactical guide. Track deadly Bear Cave entrances, Lab Camp security keys, and Thermal Scope spawn zones. Avoid Polar Bears, grab loot.

PUBG Rondo Interactive Map 2026: Security Keys & Safes Guide

Master Rondo 2026 with our 8x8 tactical map. Locate every Security Door, Keycard spawn, and Safe for maximum gold. Privacy-first & free.

Universal Image Stamper Pro: SVG & WebP Support, Lossless Annotation 2026

Struggling with blurry markups? EasyTools offers a universal stamper supporting lossless SVG scaling and high-quality WebP export. Preserve transparency and export JSON data locally.

Calculation Logic

The tool runs a local semantic JSON comparison:

  • JSON.parse validates both JSON documents.
  • Object keys are sorted alphabetically, while array order is preserved.
  • The structure is flattened into paths and values, such as items[0].sku.
  • Each path is classified as added, removed, modified, or unchanged.
  • Data stays inside the current browser session; refreshing the page clears the input and result.
  • Arrays are not reordered because array position often carries business meaning, and very large JSON files can still be limited by browser performance.

FAQ

Is my confidential JSON uploaded?

No. Parsing, sorting, and comparison all run locally in your browser. Refreshing the page clears the current input.

Why does a normal diff show everything as changed?

A text diff treats key order changes as line changes. This tool sorts object keys first, then compares JSON paths to reduce order-only noise.

Can JSON diff ignore key order?

Yes. Object keys are sorted alphabetically before comparison, so the same content with different key order shows no semantic difference.

Does it ignore array order?

No. Array order is preserved and compared by index because order often has business meaning.

Can it compare invalid JSON?

No. If either side cannot be parsed, the result area shows a syntax error so you can fix the JSON first.

Can I export the diff?

Yes. You can copy the diff report or download it as a .txt file.