Skip to main content

Handy tools

Text Diff Checker

Compare two versions of a text line by line, with removed lines in red and added lines in green. Runs in your browser.

Paste the original text in the first box and the edited version in the second, and the Text Diff Checker marks the differences line by line as you type. Lines that exist only in the original turn red, lines that exist only in the new version turn green, and each pane keeps its own line numbers. Counters show how many lines were added (+N) and removed (−N), and Copy diff puts the result on your clipboard with a + or − at the start of every changed line.

The comparison is exact: extra spaces, tabs and upper/lower case all count as changes, and only the line-ending style (CRLF on Windows, LF on macOS and Linux) is ignored. Because it compares whole lines, a line where a single word changed is shown as one removed line plus one added line; the word itself is not highlighted. Everything runs in your browser and the text is never sent to a server. A long file with a few edits compares instantly, but two long texts that are mostly different can slow the page down.

Frequently Asked Questions

  • Q. How do I compare two texts for differences?

    A. Paste the original in the first box and the new version in the second. The differences appear right away, line by line: removed lines in red, added lines in green.

  • Q. Why does one edited line count as both −1 and +1?

    A. Because the tool compares whole lines. If a line changes even slightly, the old version counts as removed and the new version as added. Individual words inside the line are not highlighted.

  • Q. Does it ignore spaces or capitalization?

    A. No. Spaces, tabs and letter case must match exactly, so "Hello" and "hello" are different lines. The only thing ignored is the line-ending style (CRLF or LF).

  • Q. Is my text uploaded anywhere?

    A. No. The comparison runs entirely in your browser, and the text you paste is never sent to a server.