# Diff two texts

- 🔍Compare two texts side by side — paste into both panels
- 📋Line-by-line diff with character-level highlights on changed portions
- 🟢Identical lines are hidden — only differences are shown
- ⚡Up to 500,000 characters per side — diff updates live

Text A

0 characters

Text B

0 characters

Legend

+greenOnly in this panel's text (not in the other)

−light redOnly in the other text (missing from this panel's text)

no colorSame in both texts (identical lines are hidden entirely)

Diff Text A

Enter text in Text A and Text B above. The line diff for Text A will show here, with +/− markers to the left.

Diff Text B

Enter text in Text A and Text B above. The line diff for Text B will show here, with +/− markers to the left.

## How to compare two texts online

Paste the original text in the left panel and the modified version in the right panel. A line-by-line diff is generated instantly: green lines are additions, red lines are deletions, and identical lines are hidden to keep the view focused on what changed. Each side supports up to 500,000 characters.

Common uses: comparing two versions of a contract or policy to identify what changed, reviewing edits in a text file without version control, spotting differences between two scraped web pages, or verifying that a copied passage matches the original source exactly.
