Compare two texts and see the differences
This free diff checker puts two versions of any text side by side and highlights exactly what changed — what was added, what was removed, and what stayed the same. Drop in two revisions of a document, two config files, two API responses, or two drafts of an email, hit Compare, and stop hunting for changes line by line.
How to compare two texts
- Paste the first version into the Original box and the second into Changed.
- Choose a granularity — Line, Word, or Character — to control how finely the diff is broken down.
- Optionally tick Ignore whitespace or Ignore case so only meaningful edits stand out.
- Click Compare to see additions and deletions highlighted, with a summary of the changes.
Use Swap to flip the two sides, Load sample to try it instantly, or Clear to start over.
Common uses
- Reviewing edits between two drafts of an article, contract, or email.
- Spotting what changed between two versions of a config or
.envfile. - Checking code snippets or log output for subtle differences.
- Verifying that a copy-paste or migration kept the content intact.
Private by design — your text never leaves your browser
The comparison is computed entirely in your browser with JavaScript. Nothing you paste is uploaded, logged, or stored, so it is safe for confidential documents, credentials, and client code. Comparing structured data? Tidy it first with our JSON formatter, or normalise capitalisation with the text case converter before you diff.
Need a custom tool or internal utility built for your team? Get in touch with SR Infobiz.