Utilities

Diff Tool

Compare two texts — line, word, or character precision, split or unified view.

Two versions of anything — configs, SQL, JSON, a paragraph — and every difference between them, highlighted.

Decorative animation of Diff Tool. Step-by-step instructions follow in the text below.

Compare two texts

  1. Open Diff Tool.
  2. Paste the original on the left, the changed version on the right.
  3. Click Compare — or flip on live diff and watch the comparison update as you type.

Choose your precision

  • Line — the classic: which lines were added, removed, changed. Best for code and configs.
  • Word — highlights the changed words inside lines. Best for prose and docs.
  • Character — down to single characters. Best for spotting the one-character typo between two API keys.

Two ways to look at it

  • Split view — original and changed side by side. Best for reading.
  • Unified view — one column with + and - lines, like git diff. Best for sharing.

Copy the result

Copy unified diff puts a standard patch-style diff on your clipboard — paste it into a PR comment, a ticket, or a message and everyone will understand it.

Tip: diff JSON reliably

Run both JSON blobs through the JSON Formatter with Sort keys first. Formatting differences disappear; real differences remain.