This tool helps you compare two JSON objects or text blocks and visualize their differences.
Input Data: Paste your JSON or text data into the left and right input areas (with line numbers!), or use the upload buttons to load from files (.json or .txt).
Beautify (JSON only): Use the button (or Ctrl+B) to format the input *if it's valid JSON*. It won't work on plain text.
Compare: Click the "Compare" button (or press Ctrl+Enter) to see the differences.
Results: Differences are highlighted below (see legend above results). Green indicates additions, Red indicates deletions, and Blue indicates modifications.
Options (JSON only): Use the "Ignore Array Order" checkbox if the order of elements within arrays doesn't matter for your comparison. This only applies if *both* inputs are valid JSON.
Copy/Download: Use the buttons below the inputs to copy the diff results or download the raw diff data (as JSON, even if inputs were text).
Dev Mode: Type :dev at the end of either input area to load sample JSON data.