Features
Deep Comparison
Detect added, removed, modified, and type-changed keys in nested JSON structures.
Side-by-Side View
Compare two JSON documents with synchronized editors for easy visual comparison.
Real-time Validation
Instant error detection with clear messages for invalid JSON input.
Smart Options
Ignore key order, compare arrays by value, or sort keys for flexible comparison.
Diff Summary
Get instant counts of added, removed, and modified keys at a glance.
Expandable Tree
Navigate complex differences with collapsible tree view for nested objects.
Format First
Format each JSON document independently before comparing for clean results.
100% Private
All comparison happens in your browser. Your data never leaves your device.
Frequently Asked Questions
How does JSON comparison work?
JSON Compare performs a deep structural comparison of two JSON documents, detecting added keys, removed keys, modified values, and type changes. It navigates through nested objects and arrays to find all differences.
Can I compare large JSON files?
Yes, JSON Compare can handle JSON files up to 10MB. For optimal performance, we recommend keeping files under 5MB for instant comparison results.
What does 'Ignore key order' do?
When enabled, the comparison treats objects with the same keys in different orders as equal. This is useful when key order doesn't matter in your use case.
How are arrays compared?
With 'Compare arrays by value' enabled, arrays are compared element by element. Disabled, arrays are compared as whole values using string comparison.
Is my JSON data stored or sent anywhere?
No. All JSON comparison happens entirely in your browser using JavaScript. Your data never leaves your device and is never stored or logged.
What do the colors mean in the diff view?
Green indicates added keys, red shows removed keys, yellow highlights modified values, and purple indicates type changes (e.g., string to number).