Skip to content
TabKiwiTabKiwi

Text Diff

Compare two versions of text side by side and see every added, removed or changed line and word.

TextRuns in your browser. Your files never leave this device.
Loading tool…

About this tool

Paste an original and an edited version to see exactly what changed. Line mode lines the two versions up side by side and highlights the changed words inside modified lines; word and character modes show edits inline. You can ignore case or whitespace changes and download the result as a standard patch file.

How to use Text Diff

  1. Paste the original text on the left and the changed text on the right.
  2. Pick whether to compare by lines, words or characters.
  3. Review the highlighted differences, or download a patch.

Frequently asked questions

Is the comparison done on a server?

No. Both texts are compared in your browser, so it's safe for contracts, code and other private documents.

What does "ignore whitespace changes" do?

Lines that differ only in indentation, trailing spaces or the number of spaces between words are treated as identical.

What is the patch file?

It's a unified diff, the format used by Git and the patch command, which you can share or apply to the original file.

More Text tools

View all 60 →