JSON Compare
Drop a document into each pane to see added, removed and changed lines side by side. Both sides are formatted first so only real differences show up.
Type or paste JSON. Validation runs as you type and reports the exact line and column of any error.
Type or paste JSON. Validation runs as you type and reports the exact line and column of any error.
Side-by-side comparison
| # | Before | # | After |
|---|
Warnings
- Size
- 0
- Lines
- 0
- Depth
- 0
- Nodes
- 0
- Keys
- 0
Frequently asked questions
Is jsontool free to use?
Yes. Validation, formatting, minification, schema checks, conversion and comparison are free and unlimited, and no account is required.
Is my JSON uploaded anywhere?
Your document is sent to the server only to be parsed, and the result is returned immediately. Nothing is stored unless you explicitly save it to your history or create a share link.
Why does the tool report an error that my editor accepts?
Many editors accept JavaScript object notation, JSON5 or JSONC. Strict JSON forbids comments, trailing commas, single quotes and unquoted keys — jsontool follows RFC 8259 exactly.
What are duplicate keys and why are they only a warning?
RFC 8259 allows an object to repeat a key, but every parser keeps just one value — usually the last. That silently loses data, so the tool flags it and offers one-click removal.
How large a document can I validate?
The default limit is two megabytes per document, which covers the overwhelming majority of API responses and configuration files.
Which JSON Schema version is supported?
The schema validator implements the draft-07 core keyword set, including types, numeric and string bounds, object and array shapes, combinators, conditionals and local $ref pointers.