Diff Checker

Compare an original and a revised version and see what changed. Choose what you want to compare below.

Runs in your browser. Your files are not uploaded.

Compare text

Paste text into both boxes, or open a plain-text file on each side. Lines are compared one by one.

Options
View
Limits and how text is compared
  • Each line of the revised text is matched against the original using a standard difference algorithm. A line that was edited is shown as changed, with the edited words highlighted.
  • Symbols are shown alongside colours: + added, − removed, ~ changed.
  • Ignore whitespace treats runs of spaces and tabs as one space and ignores spaces at the start and end of lines. Line breaks still count.
  • Windows (CRLF) and Unix (LF) line endings are treated as the same.
  • Files must be plain text in UTF-8 or UTF-16 (with a byte-order mark).

    Private by design

    Your text and files are read and compared by code running in this browser tab. Nothing you compare is sent to our server or anywhere else. Read the privacy page.

    Clear when you are done

    Clear both removes the inputs and results from the page and stops any comparison in progress. It cannot clear your device's clipboard if you copied a result.

    Keyboard friendly

    Use Tab to move between controls and the arrow keys to switch between the comparison types. Every result uses symbols and labels as well as colour.