QQuickToolz
All tools

Diff Checker

Compare two texts (word/character/line), structured YAML / CSV / JSON files, merge conflicting edits and export as a patch. Drag a file into either field. Nothing is uploaded.

Drop a file here, or copy it in.

Drop a file here, or copy it in.

change 0 of 0
+0−0= 0
Paste two texts to see the diff — everything runs in your browser.

How it works

Diff Checker compares two texts or two JSON documents and highlights what was added and what was removed. View the changes side by side or inline, and compare by word, character or line. It's useful for checking contract versions, code edits, configs and anything else that has changed.

Quick start

  1. Paste the original text on the left and the new text on the right.
  2. Choose the view and the comparison level.
  3. Review the highlighted differences.

Frequently asked questions

Can anyone else see my text?

No. The comparison runs in your browser and nothing is uploaded.

Which comparison level should I use?

Lines for code and configs, words for regular text, and characters when you're hunting for tiny typos.

Can I compare JSON?

Yes. The built-in JSON mode ignores key order and indentation, so only real data changes show up.

Reading diffs: hunks, context and granularity

How to look at a line diff and know in ten seconds whether it matters. · 5 min read

Side-by-side vs. inline

Side-by-side view shows the before and after as parallel columns: deletions marked with − on the left, additions with + on the right, aligned so that a modified line appears as a matching −/+ pair. It excels when you want to compare structure — did that block simply move, or did it change? Inline view weaves both versions into one stream, highlighting inserted and deleted words inside the sentence, which is faster for prose.

Granularity completes the picture. Line granularity answers 'which lines changed'. Word granularity shows exactly which word inside the line changed, and character granularity zooms further — useful for spotting a single wrong character in a URL, and misleading for prose where it fragments sentences into confetti. A practical habit: scan the file at line level, then re-read the suspicious hunks at word level.

Context, whitespace and the traps

Real diffs group changes into hunks with a few unchanged lines of context around them, because context is what makes a hunk findable in the file. Tools that ignore whitespace can hide the most classic mistake of all: trailing spaces and mixed indentation, invisible to the eye, fatal to YAML and Make. When in doubt, diff once with whitespace strict and once with it ignored — the difference between the two runs is exactly the invisible garbage.

One more habit worth adopting: check whether a change is a pure move. If a line appears as deleted on the left and reappears later as added with identical content, nothing semantic happened — the code just relocated. Many review round-trips are spent debating relocated code.

The unified patch format is a language

The export button here produces a unified diff: ---/+++ headers naming the old and new file, then @@ -x,y +a,b @@ hunk headers pointing at line numbers, then the body with − and + lines. That format is understood by git apply, patch, and every code host in existence — which is why sharing a patch is strictly better than sharing screenshots of two editors side by side: the recipient can apply it mechanically, review it line by line, and reject it cleanly.