devjar tools
English

Text Diff Checker

Paste the original and the changed text.

Differences

How to use

  1. Paste the original on the left and the changed version on the right. On a phone they are stacked.
  2. The comparison appears below. Red lines were removed, green lines were added, and the part that changed inside a line is highlighted more strongly.
  3. Use “Ignore whitespace” for lines that differ only in indentation and “Ignore case” for lines that differ only in capitals.

Adding a line “0” above three lines “1, 2, 3” shows 1 added and 0 removed. Unlike a naive line-by-line check, it finds the shortest edit (Myers diff), so the lines after an insertion are not marked as changed. “Copy” gives the result with + and - prefixes like diff -u.

FAQ

Does it handle inserted or deleted lines?

Yes. It finds the alignment that keeps the most lines in common, so inserting or deleting one line in the middle shows only that line as changed.

How long can the texts be?

Up to 20,000 lines on each side. When two texts are almost completely different, the middle part may be shown as one replaced block to keep it fast.

Is my text stored?

It is never sent to a server. Your last input is kept on this device for convenience, except a box with more than 50,000 characters.