This tool helps you compare two JSON objects and visualize their differences.
- Input JSON: Paste your JSON data into the left and right text areas, or use the upload buttons to load from files.
- Beautify: Use the button (or
Ctrl+B
) to format the JSON for readability and validation. Invalid JSON will show an error.
- Compare: Click the "Compare" button (or press
Ctrl+Enter
) to see the differences.
- Results: Differences are highlighted below. Green indicates additions, and Red indicates deletions.
- Options: Use the "Ignore Array Order" checkbox if the order of elements within arrays doesn't matter for your comparison.
- Copy/Download: Use the buttons below the inputs to copy the diff results or download the raw diff data as a JSON file.
- Dev Mode: Type
:dev
at the end of either input area to load sample data.