Text Comparator

Original Text
0 lines · 0 chars · 0 B
Target Text
0 lines · 0 chars · 0 B

How to Use

1. Paste text into the "Original Text" and "Target Text" boxes, or load/drag in text files.

2. Click "Compare" (or just wait a moment - comparison runs automatically).

3. Differences are highlighted: red for removed lines, green for added lines, and changed lines show character-level highlights.

4. Use the up/down arrows to jump between differences, or switch to the unified view.

Tips

1. Both boxes can hold large files; file loading supports up to 20 MB.

2. Everything runs in your browser with pure JavaScript - no data is uploaded to any server.

3. Enable "Ignore case" or "Ignore spaces" to filter out cosmetic differences.

4. Use "Swap" to exchange the two texts in one click.

Questions and answers

Text Comparator FAQ

Is the comparison performed locally?

Yes. Diffing runs in pure JavaScript in your browser; no text is uploaded.

What is the maximum file size?

Each side accepts text or files up to 20 MB.

What does the diff highlight?

Removed lines are red, added lines are green, and changed lines show character-level differences.

Can I ignore case or whitespace?

Yes. Toggle Ignore case, Ignore leading/trailing spaces, or Ignore empty lines to filter cosmetic differences.