JSON Diff Viewer (Compare Two JSON Documents)

Paste two JSON documents side by side and keep only the structural differences.

Added, removed, changed, and type changes are separated so reviews stay fast and readable.

server උඩුගත කිරීමක් නැති browser-only සැකසීම
අරා-සැලකිලිමත් modes සමාලෝචන noise අඩු කරයි
JSON Patch සහ JSON Merge Patch අපනයනය කරන්න
Your JSON is compared only in this browser and never uploaded to a server.

නිර්දේශිත වැඩ ප්‍රවාහය

  1. Consistency අවශ්‍ය නම් මුලින් JSON Formatter හෝ JSON Key Sort සමඟ JSON පිරිසිදු කරන්න හෝ වර්ග කරන්න.
  2. වම් සහ දකුණු JSON ලේඛන paste කරන්න හෝ උඩුගත කරන්න, පසුව Compare ධාවනය කරන්න.
  3. සමාලෝචනයට ගැළපෙන අරා mode, match keys, tolerance, සහ path rules තෝරන්න.
  4. සාරාංශය, වෙනස් වූ මාර්ග, ගස, සහ අපනයනය කළ හැකි patch ප්‍රතිදානය සමාලෝචනය කරන්න.

Sample

මෙම නියැදියෙන් පෙන්වන්නේ අනුපිළිවෙළ වෙනස් වූ අරා, කාලමුද්‍රා වෙනස්කම්, ඉතා කුඩා floating-point වෙනස්කම්, සහ එක් අයිතමයක් එකතු වීම match keys, tolerance, සහ path rules සමඟ කෙසේ හකුළා දැක්විය හැකිද යන්නයි.

Left JSON

ආදානය
{
  "orderId": "A-1001",
  "updatedAt": "2026-04-16T08:00:00Z",
  "customer": {
    "name": "Acme Corp",
    "tags": ["vip", "beta"]
  },
  "items": [
    {
      "sku": "A-1",
      "qty": 2,
      "price": 10
    },
    {
      "sku": "B-2",
      "qty": 1,
      "price": 4.5
    }
  ],
  "summary": {
    "currency": "USD",
    "total": 24.5
  }
}

Right JSON

ආදානය
{
  "orderId": "A-1001",
  "updatedAt": "2026-04-16T08:05:00Z",
  "customer": {
    "name": "Acme Corporation",
    "tags": ["beta", "vip"]
  },
  "items": [
    {
      "sku": "B-2",
      "qty": 1,
      "price": 4.5
    },
    {
      "sku": "A-1",
      "qty": 2,
      "price": 10.0001
    },
    {
      "sku": "C-3",
      "qty": 1,
      "price": 7
    }
  ],
  "summary": {
    "currency": "USD",
    "total": 24.5001
  }
}

නියැදියෙන් පෙන්නන දේ

මෙම නියැදියෙන් පෙන්වන්නේ අනුපිළිවෙළ වෙනස් වූ අරා, කාලමුද්‍රා වෙනස්කම්, ඉතා කුඩා floating-point වෙනස්කම්, සහ එක් අයිතමයක් එකතු වීම match keys, tolerance, සහ path rules සමඟ කෙසේ හකුළා දැක්විය හැකිද යන්නයි.

How to use it

  1. Paste JSON into the left and right editors.
  2. Adjust key order, array order, and display mode if needed.
  3. Run compare, then copy or download the report when you are done.
  4. අවසන් වූ විට වෙනස් වූ මාර්ග, patch, merge patch, හෝ වාර්තාව පිටපත් කරන්න හෝ බාගන්න.

What it does

  • Compares JSON structures recursively.
  • Separates added / removed / changed / type_changed entries.
  • Switches between tree and list views.
  • Copies the report or downloads it as JSON.
  • JSON Patch, JSON Merge Patch, වෙනස් වූ මාර්ග, සහ Markdown වාර්තාව අපනයනය කරන්න.
  • වෙනස් නොවූ nodes collapse කර, අදාල මාර්ගයට කෙලින්ම පැන යන්න.

Spec

  • Key order does not affect the default comparison result.
  • Arrays are compared in order by default, but the behavior can be changed.
  • This tool does not validate JSON Schema.
  • All processing stays in the browser. Nothing is sent to a server.
  • Very large JSON documents depend on browser performance.
  • විශාල input summary-first rendering භාවිත කරන අතර auto-compare ක්‍රියා විරහිත කළ හැක.

FAQ

Can key order be ignored?

Yes. The default behavior avoids key-order noise in the result.

Are array positions compared?

Yes, by default. You can change the behavior in the settings panel.

Does it validate JSON Schema?

No. It focuses on structural diffing only.

Is anything uploaded to a server?

No. Comparison happens entirely in your browser.

කිසිවක් server එකකට යවන්නේද?

නැහැ. සංසන්දනය, සාමාන්‍යකරණය, සහ අපනයනය සියල්ල ඔබගේ බ්‍රවුසරය තුළ දේශීයව සිදු වේ.

මට අපනයනය කළ හැක්කේ මොනවාද?

JSON Patch, JSON Merge Patch, වෙනස් වූ මාර්ග, සහ Markdown වාර්තාව.