Compare two texts and see every difference highlighted line by line. Added lines in green, removed in red, unchanged in grey.
ExperToolBox's text diff tool compares two versions of a text and highlights every difference line by line. Added lines (present in B but not A) are shown in green. Removed lines (present in A but not in B) are shown in red. Unchanged lines are shown in grey. The format mirrors the classic Unix diff output used by version control systems like Git.
Optional settings let you ignore case differences, trim leading and trailing whitespace before comparison, and skip empty lines — useful when you want to focus on meaningful content changes.
Text diff tools are used in software development to review code changes before committing to Git. Writers use them to compare drafts and track revisions. Lawyers and editors use them to compare contract versions. Data analysts use them to spot changes between exported reports. Teachers use them to compare student submissions against originals for plagiarism detection.
This tool uses a line-by-line comparison algorithm. For each line position, it checks whether the line in A matches the line in B. If they match, it's unchanged. If B has a line where A doesn't (or vice versa), it's added or removed. For a more sophisticated diff that detects moved blocks and minimal edit distances, the Myers diff algorithm (used by Git) is more accurate — this tool uses a simpler approach optimised for speed and browser performance.