Compare two texts side-by-side and instantly find added, removed, changed and unchanged lines.
Everything is processed directly in your browser. Your text is not uploaded to our server.
How does the diff algorithm work?
The tool compares text line by line using an LCS-based (Longest Common Subsequence) diff approach. Matching lines are identified while unmatched lines are shown as additions or removals. Adjacent removed and added lines are grouped as modifications.
What do the colors mean?
Removed lines are shown with a red-toned indication, added lines with a green-toned indication, changed lines with an amber-toned indication, and unchanged lines remain neutral. Line numbers, markers (− + ~) and labels are also used so the result does not rely only on color.
What's the difference between Side-by-Side and Unified view?
Side-by-Side places the original and new text next to each other, while Unified combines the differences into one list using addition and removal markers — similar to a developer diff format.
What does Ignore Case do?
It treats uppercase and lowercase differences as equivalent during comparison without changing the text shown in the editors.
What does Ignore Whitespace do?
It normalizes relevant whitespace differences for comparison, such as leading, trailing and repeated spaces, without changing your original text.
What does Ignore Blank Lines do?
It excludes blank lines from affecting the comparison while keeping them unchanged in the original text fields.
Can I compare large texts?
Yes. The tool is designed to handle hundreds and thousands of lines directly in your browser. Very large comparisons may take a moment depending on your device.
Is my text uploaded to a server?
No. The comparison is performed directly in your browser. Your text is not uploaded to our server.