JSON Formatter
Format, minify, and validate JSON with optional key sorting.
- Browser-based
- No signup
Developer
Paste JSON on the left and right to compare them structurally. Object keys are matched by name (order ignored), and array items by index. Differences are listed as added, removed, or changed paths with values. Comparison runs entirely in your browser.
Object key order is ignored. Array order matters.
Results update as you type. Nothing is stored or sent to a server.
ageLeft: 30
Right: 36
cityRight: "London"
tags[1]Left: "writer"
Right: "poet"
Paste JSON on the left and right to compare them structurally. Object keys are matched by name (order ignored), and array items by index. Differences are listed as added, removed, or changed paths with values. Comparison runs entirely in your browser.
Use the JSON Compare form near the top of this page. Enter the values you know, run the tool, and review the results panel. You can change inputs and run it again. Processing stays in your browser and is not uploaded to Utilnivo servers.
Example: open JSON Compare, enter a realistic set of inputs for your situation, and note the primary result. Change one input—such as an amount, rate, or option—and compare how the output changes so you can choose a scenario that fits your needs.
Second example: try edge cases that matter for your task—such as zero values, a different unit system, or a second file—and confirm the tool shows a clear result or a helpful validation message.
Paste JSON on the left and right. Both sides are parsed, then compared structurally: object keys are matched by name (order does not matter), and array items are matched by index. Differences are listed as added, removed, or changed paths. Comparison runs entirely in your browser.
This tool runs in your browser for convenience. Results are estimates or transformations based on the inputs you provide and may not cover every edge case.
No. Object keys are matched by name, so {"a":1,"b":2} and {"b":2,"a":1} are equal. Array item order does matter.
Each difference is marked as added (only on the right), removed (only on the left), or changed (present on both sides with different values or types).
No. Comparison runs locally in your browser and input is not stored.