Text
Diff Checker
Compare texts and JSON by line, side by side or inline.
How to use
- Paste the source text on the left (“Original”) and the changed text on the right (“Modified”), or upload files.
- Pick a mode: text (by line, word or character) or JSON (as text or structural).
- Switch between side-by-side and inline views and jump between differences with the previous/next buttons.
- Toggle ignore case, ignore whitespace, line wrapping and line numbers.
- Copy the unified diff or download it as a .diff file; each source text can also be downloaded separately.
- The limit is 2 MiB per text. A comparison that is too heavy is stopped after a while, so the page never freezes.
- Structural JSON comparison ignores key order but respects array order, value types and the difference between null and a missing key.
- Unified .diff is available for text and for JSON “as text”: structural comparison normalizes the documents, so such a patch could not be applied to the original files. The patch contains every difference; the ignore case and whitespace options do not affect it.