Just paste two texts to see added and removed lines color-coded, line by line
A text diff compares two pieces of text to find which parts are the same and which lines were added or removed. It is used to check changes in source code or documents, and it color-codes the shared lines, deleted lines, and added lines.
This tool compares line by line. It treats each line separated by a line break as the smallest unit, uses the LCS (longest common subsequence) algorithm to find matching lines, and classifies them as unchanged, deleted, or added. It does not highlight character-level differences within a single line.
No. The diff is computed entirely in JavaScript inside your browser. The text you enter is never sent to or stored on a server, so you can safely compare confidential text.