Compare two text inputs and see the differences highlighted line by line. Runs in your browser — your data never leaves your machine.
Compares text line by line using a longest common subsequence algorithm. See exactly which lines were added, removed, or unchanged.
Added lines are highlighted in green and removed lines in red, making differences instantly visible at a glance.
Line numbers are displayed alongside the diff output so you can quickly locate changes in large texts or code files.
Paste your original text in the left panel and the modified text in the right panel. The diff output instantly highlights the differences — green for lines that were added and red for lines that were removed. Line numbers help you pinpoint the exact location of each change.
A diff (short for difference) compares two texts and shows what changed between them. Lines prefixed with a plus sign (+) are additions — they exist in the new text but not the original. Lines prefixed with a minus sign (-) are removals — they existed in the original but not the new text. Unchanged lines provide context around the changes.