• Free forever
  • No sign-up
  • Private — runs in your browser

Code Compare

Diff two versions of a file in a unified or side-by-side view, ignore whitespace changes, and export a patch — your code never leaves your browser.

A quick diff without a repository

Not every comparison happens inside Git: a config copied from a server, a snippet from a colleague, two API responses or a file before and after a formatter. Paste both versions (or open the files) and get a git diff-style unified view, with the changed tokens inside each line highlighted.

Features for developers

  • Ignore whitespace hides re-indentation and trailing-space changes.
  • Copy as unified diff produces a standard patch you can paste into a ticket or apply with patch or git apply.
  • Windows and Unix line endings are normalized automatically.
  • Large files (tens of thousands of lines) compare in milliseconds, entirely client-side — safe for proprietary code and secrets.

Related

← Back to the full Diff Checker