Text Diff
Compare two blocks of text line by line.
Compare two blocks of text line by line.
This tool answers a narrow question: which lines in one block of text are also in another, and which are not. Paste the first version into the top box and the second version into the box below it. The result lists every distinct line once, with a two-space prefix when the line exists in both blocks, a minus sign when it appears only in the first, and a plus sign when it appears only in the second.
That makes it a good fit for lists rather than prose. Two exports of email addresses, two sets of configuration keys, two lists of file names or a before and after copy of a checklist all compare well, because order is not what matters. You can see at a glance which entries were removed and which were added without scanning both columns by eye.
It is important to understand that this is not the kind of diff used in version control. It does not align lines by position, detect moved or changed lines, or highlight edits inside a line. A line that was edited by one character simply shows up as one removed line and one added line. For code review of a changed file, a full diff tool is a better choice.
Take a list of customers, tags or IDs from last month and one from this month. The plus and minus markers show who is new and who dropped off, without sorting either list first.
You have two versions of a to-do list, glossary or set of release notes. Paste both and look for lines marked with a plus to see what was added, and a minus to see what was removed.
Compare the keys in a sample environment file against your real one. Lines that appear only in one block reveal settings that were forgotten or left behind.
When a line should be identical in two documents but a search turns up a mismatch, comparing the blocks reveals which exact line differs, including stray spaces or a changed letter case.
The comparison runs in your browser. The text you paste is not intentionally uploaded to a server.
It splits each box into lines and checks whether every distinct line exists in the other box. Lines found in both are shown with a two-space prefix, lines only in the first box get a minus, and lines only in the second get a plus.
No. A Git-style diff aligns the two versions in order and shows exactly what changed, including moved and edited lines in context. This tool just compares sets of lines, so it suits lists and unordered items better than source code or essays.
No. A line is considered present in both blocks wherever it appears. If you only reorder lines, the result shows no differences, so use a different tool if the sequence of lines is part of what you need to verify.
The tool has no concept of a changed line. The old wording exists only in the first block and the new wording only in the second, so you see one line with a minus and a near-identical one with a plus.
No. The comparison is exact, so a capital letter or a trailing space makes two lines different. If you want a looser match, convert both blocks to the same case and trim the whitespace before comparing.
There is no file picker. You open each file in a text editor, copy its contents and paste them into the two boxes. This works well for plain text, CSV rows, log lines and similar line-based content.