Azlaan Electric AC Solar Center — Solar, CCTV, AC & electrical work, Faisalabad Call: 0300-8987448

Git Diff Viewer

Paste the before and after versions of your text below, then press Compare. You will get a clear side by side line diff with added and removed lines highlighted. Everything runs in your browser — nothing is uploaded.

0 lines
0 lines

Diff result

+0 added -0 removed 0 unchanged
#Before#After

                        

How it works

  • Both texts are split into lines and compared with a longest common subsequence (LCS) algorithm.
  • Green rows are lines added in the new version, red rows are lines removed from the old version.
  • Unchanged lines stay white, so you can scan exactly what changed and where.
  • Your text never leaves your browser — the diff is computed locally with JavaScript.

Frequently Asked Questions (FAQ)

How do I compare two versions of a text?

Paste the before version in the left box and the after version in the right box, then press Compare. You get a side by side line diff with added lines in green and removed lines in red.

Is my text uploaded anywhere when I use this diff tool?

No. Everything runs in your browser. The diff is computed locally with JavaScript and your text never leaves your device.

Can I ignore whitespace changes in the comparison?

Yes. Tick the ignore option to ignore leading and trailing spaces when comparing lines, so spacing-only edits do not show as changes.

What do the green and red rows mean in the diff?

Green rows are lines added in the new version, red rows are lines removed from the old version. Unchanged lines stay white so you can scan exactly what changed and where.