Skip to content
toolgrid

No tool found. Try another word.

Text Diff Checker

Compare two texts and see what was added, removed or changed, line by line or word by word. Free, private and instant.

0
Added
0
Removed
0
Unchanged

The texts are identical.

Runs in your browser. What you enter is kept for 30 days to improve Toolgrid, then deleted.

How to use the Text Diff Checker

  1. 1 Paste the original text on the left and the changed text on the right.
  2. 2 Choose to compare by line or by word, and whether to ignore case or extra spaces.
  3. 3 Read the highlighted differences: green was added, red was removed.

About the Text Diff Checker

The diff checker compares two versions of a text and shows exactly what changed. Use it to see what a colleague edited in a contract or article, to compare two versions of a configuration file, to check whether two lists are the same, or to spot the one changed word in a long paragraph.

Comparing by line is best for code, lists and structured files: every line is added, removed or unchanged, with line numbers for both versions, inline or side by side. Comparing by word is best for prose: the changed text is shown with removed words struck through in red and added words highlighted in green.

The comparison uses the longest common subsequence, the same approach as the diff tools that programmers use, so it finds the smallest set of changes. You can ignore differences in capitals or in spaces and tabs to focus on the changes that matter. Both texts stay in your browser, so it is safe to compare confidential documents.

Frequently asked questions

How do I compare two texts?

Paste the original text in the left box and the new version in the right box. The differences appear below immediately.

Should I compare by line or by word?

By line for code, lists, CSV and configuration files; by word for normal prose such as articles, e-mails and contracts, where a changed word should not mark the whole paragraph as changed.

What do the colors mean?

Green is text that is only in the changed version (added), red is text that is only in the original (removed). Text without color is the same in both.

Can I ignore differences in spaces or capitals?

Yes. Turn on "Ignore case" to treat A and a as equal, and "Ignore whitespace" to ignore extra spaces, tabs and spaces at the start or end of lines.

Are my texts uploaded?

No. The comparison runs entirely in your browser; neither text is sent to a server.