loot.tools

Text Diff Checker

Paste two versions of some text and get a line-by-line diff showing what was added, removed, or left alone - the same idea as a code review diff or a `git diff`, but for any text. Added lines show in green, removed in red. Toggle case and whitespace sensitivity to focus on the changes that matter. It all runs in your browser, so nothing you paste is sent anywhere.

Paste two versions of some text and see exactly which lines changed. Added lines show in green, removed lines in red. Nothing leaves your browser.

Original
Changed
Diff

Enter text on both sides to compare.

What a diff shows you

A diff lines up two versions of the same text and marks every line that differs. Instead of squinting back and forth between two windows, you see the changes in one place: green for what was added, red for what was removed, and the rest left plain because it didn't move. It's how code reviews, version control, and document comparison all work under the hood.

How to use it

Drop the original text in the left box and the new version in the right. The diff appears below as you type, with line numbers from both sides so you can find each change in the source. Turn on 'Ignore case' to skip changes that are only about capitalization, or 'Ignore whitespace' when reformatting added spaces and tabs you don't care about. If the two texts match, it tells you so instead of showing an empty result.

When it comes in handy

  • Spotting what changed between two drafts of an email, contract, or article
  • Comparing config files or environment settings before a deploy
  • Checking that a copy-paste or find-and-replace did what you expected
  • Reviewing edits a teammate sent back
  • Confirming two log snippets or API responses are the same except for the parts you expect to differ