JSON mode fails to parse
Structured diff needs both sides to be valid JSON.
Repair common quote, comma or bracket issues in the JSON Formatter first.
Compare text, code, logs, config files and JSON objects online. Use Text Diff or JSON Diff mode with browser-local processing, no upload and no saved content.
The Text Diff Checker & JSON Diff Tool compares two versions of content and highlights what changed. Text Diff mode works well for code snippets, logs, Markdown, config files and plain text. It shows added, removed and changed lines, with inline highlighting inside changed rows. JSON Diff mode parses both JSON inputs and recursively compares objects, arrays and values, then reports paths such as $.user.email or $.items[0].status.
Diff data is often sensitive: API responses, internal configuration, user fields, feature flags or production logs should not be uploaded just to find changes. KitVerse runs both text diff and JSON diff locally in your browser. You can compare two payloads for free, copy a diff summary and move between related developer tools like JSON Formatter, Base64 and JWT Decoder without sending the input to a server.
Structured diff needs both sides to be valid JSON.
Repair common quote, comma or bracket issues in the JSON Formatter first.
Indentation and repeated spaces can hide meaningful edits.
Use Ignore whitespace in Text Diff, or JSON Diff with sorted keys for JSON payloads.
JSON arrays are compared by index, so reordered lists can show many edits.
Confirm whether array order matters; if not, sort the source data before comparing.
Both modes run locally, but they fit different input types and review workflows.
| Mode | Best for | Output | Notes |
|---|---|---|---|
| Text Diff | Plain text, code snippets, logs, Markdown and config files | Added, removed and changed lines with inline highlights | It compares text and does not understand JSON structure |
| JSON Diff | API responses, JSON config and object arrays | Added, removed and changed fields grouped by path | Both sides must parse as JSON; arrays are compared by position |
{ "user": { "role": "editor" }, "plan": "free" }$.user.role changed: editor -> admin $.plan removed $.limits added
Useful for checking added, removed or changed fields after an API update.
cache: enabled retry: 2 owner: developer
cache: disabled retry: 3 owner: developer
Text Diff mode compares lines and highlights inline changes.
Compare old and new API payloads to locate changed paths and values.
Check feature flags, thresholds and environment values before release.
Quickly compare two code or log snippets without opening a full Git tool.
No. Text Diff and JSON Diff run locally in your browser, and the input is not sent to KitVerse servers.
Yes. JSON objects are compared by structure, with optional sorted key display. Arrays are still compared by index.
Yes. Put the old response on the left and the new response on the right, then use JSON Diff to see added, removed or changed fields.
Yes. Enable Ignore whitespace to normalize repeated spaces and line padding before comparison.
Yes. Text Diff works for code snippets and config files, but it is not a full Git diff and does not perform syntax-aware analysis.
The tool shows whether the left or right side failed to parse. You can use the JSON Formatter first to repair common JSON issues.
No. Diff calculation runs locally in the browser and KitVerse does not store the input.
Yes. JSON objects are compared by structure, with optional sorted key display. Array order is still compared by position.