Text Compare

Compare two texts line by line and see what was added and what was removed.

About this tool

This puts two texts side by side and marks which lines were added and which were removed. Use it to check a revised contract against the original, to find where two configuration files diverge, or to see how far a translation has drifted from its source.

Lines are not compared by number. If a single line is inserted near the top, everything below it would appear to have changed. Instead the longest run of lines the two texts share in order is found first, and only what falls outside it is marked as added or removed.

You can compare while ignoring whitespace or letter case, which helps with code that only changed its indentation or sentences that differ only in styling. Even then the original text is what you see on screen, so nothing about the actual characters is lost. Nothing you paste in leaves your browser.

Back to all tools