vextil
Back to JSON Tools

JSON Compare

Compare two JSON objects and instantly see all differences. Ideal for developers who need to compare configurations, API responses, or data structures.

JSON 1
Paste first JSON
JSON 2
Paste second JSON
How to use
  1. 1Paste the first JSON
  2. 2Paste the second JSON
  3. 3See the differences color-coded
Features
  • Compare JSON

    Compares two JSON structures and shows differences.

  • Color Highlighting

    Differences are highlighted (green = added, red = removed).

  • Deep Comparison

    Recursively compares nested objects and arrays.

  • Auto-Format

    Automatically formats invalid JSON for better readability.

FAQ

How does the comparison work?

Comparison is done key by key. Different values, missing or extra keys are highlighted.

Are arrays compared too?

Yes, arrays are compared element by element. Order is considered.

What happens with invalid JSON?

The tool tries to fix the JSON. If that's not possible, an error message is shown.

Note: All processing happens in your browser. Your files are not uploaded to any server.