๐Ÿ“‹

Text Diff Checker

Compare two texts side by side

How to Use

  1. 1

    Paste the original text into the left panel.

  2. 2

    Paste the new or modified version into the right panel.

  3. 3

    Differences are highlighted immediately - green for lines that were added and red for lines that were removed.

Frequently Asked Questions

How does the text comparison work? โ–ผ
The tool uses a longest common subsequence (LCS) algorithm to identify differences between two texts, highlighting added lines in green and removed lines in red, similar to how git diff works.
Is there a size limit? โ–ผ
For best performance, each text should be under 5,000 lines. Very large texts may slow down your browser tab during the comparison calculation.
Can I compare code files? โ–ผ
Yes. The diff tool works with any plain text including source code, JSON, XML, configuration files, Markdown, and prose documents. Paste the content directly from your files.