Text Diff Checker

Compare two texts and instantly see what changed - added text in green, removed in red.

What is a text diff checker?

A diff checker compares two pieces of text and highlights what changed between them - added content in green, removed content in red. It is the quick way to review an edit, compare two versions of code or copy, see what a colleague changed in a document, or confirm two files are identical. This one runs entirely in your browser using the jsdiff library, so nothing you paste is uploaded.

You control how fine the comparison is. Line mode is best for code and structured text; word and character modes drill into exactly which words or letters moved. Add ignore-case and ignore-whitespace to filter out cosmetic differences and surface only the changes that matter.

How to use the diff checker

  • 1. Paste the original text on the left and the changed text on the right.
  • 2. Choose how to compare - by line, word or character - and optionally ignore case or whitespace.
  • 3. Review the highlighted result, then copy or download it.

Features

  • Three granularities: line, word and character diff.
  • Ignore-case and ignore-whitespace toggles.
  • Added and removed text color-coded inline.
  • Copy or download the result.
  • Runs in your browser - your text never leaves the page.

When to use it

Compare two drafts of an article, check what changed between two config files, review a pasted code snippet against the original, or verify a copy-paste came through unchanged. Anywhere you need to see the delta between before and after.

FAQ

What is the difference between line, word and character mode?

Line mode flags whole lines that changed and is best for code and structured text. Word mode pinpoints the exact words within a line. Character mode is the most granular and is useful for catching a single typo or punctuation change.

What does ignore whitespace do?

It normalises runs of spaces and tabs and trims each line before comparing, so reindented or reflowed text that reads the same is not reported as a change. Turn it off when spacing itself matters.

Is my text uploaded anywhere?

No. The comparison runs in your browser with the jsdiff library, so both texts stay on your device.

Can it compare code?

Yes. Line mode works well for source files, and the ignore-case and ignore-whitespace options help you focus on real logic changes instead of formatting noise.

Related tools