Text Diff

Paste two texts and highlight the differences character by character or line by line. Processed locally — nothing is uploaded.

Not compared yet.

AddedRemoved

How it works

Character-by-character comparison is best for short texts, sentences, or code snippets where you need fine-grained differences; line-by-line comparison is better for articles, configs, logs, and other multi-line text, marking whole lines as added or removed. Green is text added in the new version; red is text removed from the original.

FAQ

Is there a character limit?
No hard limit — everything is computed locally in your browser. Tens of thousands of characters work fine; more text and more differences just take a little longer.

Character or line comparison — which should I choose?
Use character comparison when only a few words changed; line comparison is clearer for whole paragraphs added, removed, or moved.

Can I compare two files?
Just copy and paste the file contents in; direct file upload comparison isn't supported yet.

Will my text be uploaded?
No. The comparison runs locally in your browser — your text never leaves your device.

Related tools

Format Converter · Code Formatter · Word Counter