Skip to main content
忆云竹

Text diff checker

Compare two texts line by line, see added and removed content with line numbers, and download the differences.

View

Updates as you type or change an option

Result

Processed in this browser. Nothing is uploaded or saved.

About this tool

Compare two texts line by line, see added and removed content with line numbers, and download the differences.

How to use

Enter the original text on the left and the updated text on the right, or open a file on each side. Matching lines are aligned, so inserting one line does not mark every later line as changed.

Comparison is case- and whitespace-sensitive; CRLF and CR are normalized to LF. Each input allows 3,000 lines and 256 KiB, with a maximum line-count product of 4 million. Downloads use +, - and a space to mark line changes.

Switch between side-by-side and unified views. Changed characters are highlighted within paired lines. Collapse long unchanged sections, expand them when needed, and jump between changes. Ignoring trailing whitespace is optional; other whitespace and letter case still matter. The download always includes the full comparison.

Comments

0
to join the discussion.
No comments yet.
Reply thread

Follow the complete conversation chronologically; each reply identifies the specific message it answers.