Text Diff Checker

Compare two texts line by line, word by word or character by character, and copy a unified diff patch. Free online diff checker.

About this tool

Compare two texts and highlight what was added and removed, by line, word or character. Copy the result as a unified diff patch.

How to use

  1. Paste the original text on the left and the modified text on the right.
  2. Choose to compare by lines, words or characters.
  3. Review the highlighted differences or copy the patch.

Frequently asked questions

Which mode should I use?

Lines for code and config files, words for prose, characters for short strings.

What is a unified diff?

The patch format used by git diff, with - for removed and + for added lines.

Is there a size limit?

No fixed limit, but very large texts compared character by character can be slow.

Related tools