FREE · NO SIGN-UP

Text Diff Checker

Compare two versions of a text to find added, removed, and changed lines, with character-level highlighting for edits within a line.

COMPARE TWO TEXTS

See added, removed, and changed lines

Your text stays in your browser and is not uploaded.

Try an example

Examples load only when both boxes are empty. Reset first if you already have text here.

How to use the text diff checker

  1. Paste the earlier version into “Original text.”
  2. Paste the newer version into “Revised text.”
  3. Choose “Compare text” to see the changes.
  4. Turn on “Show unchanged lines” when you need more context.
  5. Turn on “Show spaces and tabs” if a spacing change is hard to see.

See line changes and edits within a line

Entirely new lines are labeled “Added,” while lines that are no longer present are labeled “Removed.” When an original line and a revised line are similar, the checker pairs them as a change and highlights the edited characters.

Unchanged lines are hidden by default, so you can focus on the differences. Line numbers show where each change appears in the original and revised text.

Example

Open “Try an example” below the inputs to load a change to a meeting time or a spacing example. Examples load only when both boxes are empty.

If “The meeting starts at 10:00.” changes to “The meeting starts at 10:30.”, the checker pairs the two lines and highlights the changed time instead of treating the whole sentence as unrelated text.

Frequently asked questions

Is my text uploaded or saved?

No. The comparison runs in your browser, and your text is not sent to or stored on our server. On a shared device, remember that copied text may remain on the clipboard.

Does it detect spaces and tabs?

Yes. Spaces and tabs are compared as part of the text. Windows and Unix line endings are treated as the same type of line break.

How does it decide between “Changed” and “Added” or “Removed”?

When a removed line and an added line are similar, they are shown together as the before-and-after versions of a change. Lines with very different content remain separate additions and removals.

This is based on text similarity, not meaning or the writer’s intent. Moved lines have no separate label. Very long lines or large sets of edits may be highlighted in larger blocks rather than as individual character changes.