Text

Diff Checker

Compare texts and JSON by line, side by side or inline.

Original

Size: 0 BLines: 0

Modified

Size: 0 BLines: 0

Comparison result

Enter both texts to see the differences.

How to use
  1. Paste the source text on the left (“Original”) and the changed text on the right (“Modified”), or upload files.
  2. Pick a mode: text (by line, word or character) or JSON (as text or structural).
  3. Switch between side-by-side and inline views and jump between differences with the previous/next buttons.
  4. Toggle ignore case, ignore whitespace, line wrapping and line numbers.
  5. 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.