JSON Formatter
Format, minify, and validate JSON with optional key sorting.
- On your device
- No signup
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 list structural differences.
Format, minify, and validate XML with readable indentation.
Encode and decode text with Base64.
Decode JWT header, payload, and expiry—including Bearer tokens—on your device.
Generate UUIDs for apps, tests, and databases.
Create compact short links for long URLs.
Test regular expressions against sample text.
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 works on your device.
1. Paste source text, code, or data into the JSON Compare input panel. 2. Choose transform or validation options shown for JSON Compare. 3. Run JSON Compare or read automatic output. 4. Review errors or diff output carefully. 5. Copy the transformed result. Processing runs on your device; inputs are not uploaded to our server.
Example: paste a small sample input into JSON Compare, run the transform or validation, and compare the output with the before text—fix any syntax errors reported before copying.
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 works on your device.
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
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. Your information stays on your device and is not saved.
This tool is one step in a longer job. Jump straight to your step or open the full workflow guide.
Page last reviewed: