Getting Started

Comparing two JSON files is a common task when reviewing API responses, configuration changes, or data transformations. This guide walks you through the entire process using Compare JSON — from entering your data to reading the results.

Paste or Upload Your JSON

Open Compare JSON and paste the two JSON values you want to compare into the Base and Contrast editors. You can also drag and drop a file or load JSON from a URL.

Choose Comparison Options

Before comparing, pick the options that match your data:

  • Array comparison method: By Index, LCS, or Unordered.
  • Ignore key case: Treat Name and name as the same key.
  • Ignore value case: Treat string values case-insensitively.

Run the Comparison

Click the Compare button. The tool parses both inputs, normalizes formatting, and recursively compares the structure.

Understanding the Results

After running a comparison, Compare JSON presents differences in a structured, color-coded view.

Added Values

Values that exist in the Contrast side but not in the Base side are shown in green. These represent new fields, array elements, or object properties.

Deleted Values

Values that exist in the Base side but were removed in the Contrast side are shown in red.

Value Changed

When a value exists on both sides but differs, it is marked in yellow. This includes changes to strings, numbers, booleans, or nested structures.

Type Changed

Compare JSON is type-aware. If a value changes from a number to a string, or from null to an object, it is reported as a type change rather than a value change.

Result Sidebar

The sidebar on the result page groups differences by category and full JSON path. Click any entry to jump directly to the corresponding location in the diff.