Handytool
Developerუფასოახორციელდება ადგილობრივად

Diff viewer

Compare two pieces of text side by side — line, word, or character diff — privately in your browser.

Compare by
Original
Changed
+ 0 added·- 0 removed·1 unchanged

Diff viewer შესახებ

Handytool's diff viewer compares any two pieces of text — code, prose, JSON, log lines — and highlights what was added, removed, and unchanged. Switch between line, word, and character granularity, ignore case or whitespace differences, and copy a unified diff with one click. Everything runs locally with a longest-common-subsequence diff algorithm, so even large pastes stay private and instant.

Diff viewer მახასიათებელი

  • 01

    Line, word and character modes

    Line diff is best for code and config; word diff is great for prose and copy edits; character diff catches one-letter typos and punctuation changes.

  • 02

    Ignore case and whitespace

    Toggle case-insensitive and whitespace-insensitive comparisons to see only meaningful differences when comparing reformatted code or rewritten copy.

  • 03

    Copyable unified diff

    The result is rendered with classic +/- prefixes, ready to paste into a code review, a bug report, or anywhere else.

Diff viewer ხშირი კითხვები

How big can the inputs be?
Diffing is O(n·m) so very large inputs (tens of thousands of lines) will get slow, but most everyday code, prose, and log comparisons are instant. For huge files prefer line mode and ignore whitespace.
Does this leave my texts on a server?
No. The diff is computed in your browser — no network requests are made. Safe for proprietary code, internal docs, and confidential prose.
What's the difference between line, word and character diff?
Line diff treats each line as a unit and is ideal for code; word diff splits on whitespace and is best for prose; character diff is the finest grain and is useful when you want to see typos or punctuation changes.
Why are some lines marked as both added and removed?
When a line changes in the middle, the diff algorithm represents it as a removed old line plus an added new line. Switch to word or character mode to see exactly what changed inside the line.

დაკავშირებული ინსტრუმენტები

Developer

სხვა ინსტრუმენტების გამოკვლევა

ყველა ინსტრუმენტი