Text Diff is a free strings & text tool that runs entirely in your browser — compare two blocks line by line. No upload, no account, no limits.
Loading Text Diff…
How to use Text Diff
Open the Text Diff tool.
Paste or type your text into the input field.
The output updates as you type — adjust the options if you need a different format.
Copy the result, or share the URL to hand the exact input to someone else.
About Text Diff
Compare two blocks of text line by line and see exactly what changed. A longest-common-subsequence diff marks every added and removed line and tallies the totals, so edits stand out at a glance.
What people use it for
Spot the difference between two versions of a config, query or paragraph.
Review what changed between a pasted 'before' and 'after'.
Check that two lists are identical.
Frequently asked questions
Is the comparison line-based?
Yes — it aligns matching lines and highlights insertions and deletions, with running added/removed counts.
Does my text get uploaded?
No. The diff runs entirely in your browser.
Is it private?
Every calculation happens on this page, in your own browser. Your input is never sent to a server, never logged and never used for training — which also means the tool keeps working when you are offline.