Code Diff Viewer

Compare two blocks of text or code to see a visual representation of the differences.

About this tool

Compares two blocks of text or code and highlights exactly what changed — additions, deletions, and unchanged lines — the same kind of view you get from `git diff`, without needing a repo.

How to use it

  1. Paste the original text into the left panel and the changed version into the right.
  2. The diff is computed automatically and rendered with additions and deletions highlighted.
  3. Scan the highlighted view to spot exactly what changed between the two versions.

FAQ

Does this do a line-level or character-level diff?

Line-level, matching how most code review diffs work — it's built for comparing versions of text/code, not fine-grained word changes within a sentence.

Is either input sent anywhere?

No, the diff is computed entirely client-side in your browser.