# JSON Diff

> Compare two JSON documents and see exactly which keys were added, removed or changed.

A JSON diff walks two documents in parallel and reports every path where they differ — keys added, keys removed, values changed, and values whose type changed. Arrays can be compared by position or as sets, and the result is also emitted in JSON Patch form.

**URL:** https://convertto.tech/t/json-diff
**Category:** Data & Format Tools (https://convertto.tech/c/data-tools)
**Privacy:** Runs entirely in the browser; no upload
**Cost:** Free, no sign-up
**Last updated:** 2026-08-01

## Key facts

- **Privacy:** Runs entirely in your browser — nothing is uploaded
- **Cost:** Free, unlimited, no sign-up

## How to use

1. Enter or paste your first json.
2. Enter or paste your second json.
3. Turn "Ignore array order" on or off as needed.
4. The result appears immediately — copy or download it.

## FAQ

### Why does my diff show changes when the files look the same?

Usually key order or whitespace. Object key order is not significant in JSON but a text diff treats it as a change — sorting both documents first removes that noise and leaves only real differences.

## Related tools

- [JSON Key Sorter](https://convertto.tech/t/json-sorter): Sort object keys and arrays in a JSON document to make two versions comparable.
- [Sample JSON Generator](https://convertto.tech/t/sample-json-generator): Turn a JSON Schema into realistic sample documents, respecting types, enums, formats and constraints.
- [Data Format Converter](https://convertto.tech/t/data-format-converter): Convert between JSON, YAML, XML, CSV, TSV and TOML in any direction, locally in your browser.
- [.env to JSON Converter](https://convertto.tech/t/env-to-json): Convert .env files to JSON and back — for config migrations and CI variables.
- [JSON Flattener](https://convertto.tech/t/json-flattener): Flatten deeply nested JSON into dot-notation keys, or expand flat keys back into nested objects.
- [JSON Formatter & Validator](https://convertto.tech/t/json-formatter): Format, validate, repair and analyse JSON — with errors that point at the exact line.
- [JSON Merge](https://convertto.tech/t/json-merge): Deep-merge several JSON documents, choosing how arrays and conflicts are resolved.
- [JSON to TypeScript Converter](https://convertto.tech/t/json-to-typescript): Generate TypeScript interfaces, Zod schemas, Go structs, Python dataclasses or Rust structs from JSON.
