JSON Formatter
Format, minify, and validate JSON with optional key sorting.
- On your device
- No signup
Paste or drop two JSON documents and run compare. The workspace highlights added, removed, and changed lines and can add $.key hints when a changed line starts with a JSON key. Reordered keys with the same values can still appear as differences because this is a line-level JSON-aware diff.
Private on your device
Your information stays on your device and is not uploaded.
Format, minify, and validate JSON with optional key sorting.
Compare two XML documents and see tag, attribute, and text line changes.
Compare source files such as JavaScript, TypeScript, Java, Python, HTML, CSS, and SQL.
Compare CSV or TSV files, match rows with an optional key column, and highlight changed cells.
Compare two pieces of text and instantly see added, removed, and changed lines.
Compare two web pages by visible content, HTML source, or SEO metadata.
Format, minify, and validate XML with readable indentation.
Encode and decode text with Base64.
Paste or drop two JSON documents to identify added, removed, changed, and type-changed values at exact JSON paths. Formatting and object-property order are ignored by default, while arrays compare by index unless you choose an order or identity-key mode. Comparison runs in your browser.
JSON Compare is a JSON-aware difference checker. Paste two documents and review added, removed, and changed lines without installing a desktop diff tool.
Nested objects and arrays are compared as formatted text. When a changed line starts with a JSON key, the result can include a $.key path hint so you can scan nested fields faster than in a plain text diff.
Key order is not ignored. {"a":1,"b":2} and {"b":2,"a":1} are equal as JSON data, but they usually differ as lines. Reformat both sides the same way if you only want value changes.
A plain text diff has no JSON type and no path hints. JSON mode still uses the shared Compare workspace, so you get the same side-by-side and unified views as Text Compare, with JSON detection and key hints on top.
Paste and file comparison run in your browser. Utilnivo does not store the JSON you paste. Use URL Compare if you need to fetch live pages instead of pasting documents.
1. JSON Compare opens with document type set to JSON. 2. Paste or drop the original document on the left and the updated document on the right. 3. Click Compare. 4. Review added, removed, and changed lines in side-by-side or unified view. 5. Use Samples if you want a quick walkthrough. Comparison runs in your browser.
Example: paste {"timeout": 5000, "retries": 2} on the left and {"timeout": 10000, "retries": 2, "region": "us-east"} on the right. Compare marks the timeout line as changed, keeps retries, and shows region as added. A $.timeout path hint appears when the changed line starts with that key.
Paste or drop two JSON documents. JSON Compare parses both documents and reports added, removed, changed, and type-changed values at their JSON paths while ignoring whitespace and object-property order. Nothing is uploaded.
Results are based on the inputs you provide and may not cover every edge case. This tool is for general use and is not professional advice.
Your data stays on your device and is not uploaded.
FAQ
Yes in this workspace. JSON Compare is a line-level diff with $.key hints on changed key lines. Reordered keys with the same values usually still show as differences unless the lines match.
You still get the same side-by-side and unified views. JSON mode starts with document type set to JSON and can attach $.key path hints when a changed line starts with a JSON key.
No. Paste and file comparison run in your browser. Utilnivo does not store the JSON you paste.
This tool is one step in a longer job. Jump straight to your step or open the full workflow guide.
Page last reviewed: