Skip to content

Data and security

Text diff checker: see exactly what changed

Paste the original text on the left and the changed text on the right. The tool marks every added and removed line, word or character, with counts, so you can spot a changed figure in a contract, an edited paragraph or a code change. It works with Urdu and English and never uploads your text.

  • Runs in your browser
  • Nothing uploaded
  • Free, no sign-up
  • No ads

How to compare two texts

  1. Paste both versions. Put the original text in the left box and the new text in the right box.
  2. Choose the level. By line suits code and lists, by word suits sentences and contracts, by character shows a changed digit or letter.
  3. Set the options. Ignore case or extra spaces if the differences you care about are in the words themselves.
  4. Read the result. Green is added, red is removed. The summary above gives the counts.

What a diff is good for

  • Contracts and agreements. A reworded clause or a changed amount can hide in a long document. Compare the version you signed or agreed with the one you received.
  • Assignments and drafts. See what an editor or teacher changed in your essay.
  • Code and configuration. Spot the one line that differs between two config files or two versions of a script.
  • Lists and data. Compare two lists of names or numbers to find who was added or dropped.
  • Urdu text. Catch a different spelling, a missing diacritic or the Arabic-versus-Urdu letter problem (see the Urdu text cleaner).

Line, word or character?

LevelBest forOutput
By lineCode, config, lists, poems, any text where lines are meaningfulA column of lines marked + (added) and - (removed)
By wordParagraphs, contracts, essaysThe text with added words highlighted green and removed words struck through
By characterShort strings, numbers, names, codesSingle changed letters or digits highlighted

How it finds the changes

The tool splits each text into pieces (lines, words or characters) and finds the longest sequence of pieces that appears in both texts in the same order. Everything outside that shared sequence is marked as removed (from the original) or added (in the new version). This is the same idea behind tools such as Git's diff. When several explanations are possible, the tool picks one valid answer; it may differ from another tool's answer while being equally correct.

To keep your phone responsive, comparisons are limited to a few million cell calculations. For very long texts, compare by line, or in smaller sections.

Privacy

Many diff sites send both texts to a server. Here, the comparison runs in your browser and nothing is uploaded or stored, which matters for contracts, personal letters and source code.

Limits and tips

  • A moved paragraph shows as removed in one place and added in another; a diff does not track moves.
  • Line endings and trailing spaces can create differences you cannot see. Turn on "ignore extra spaces" to hide them.
  • Different Unicode forms of the same Urdu letter look identical but compare as different. Clean both texts first if you suspect this.
  • A diff shows differences, not whether they matter. Read each change.

Frequently asked questions

How do I compare two Word or PDF documents?

Copy the text from each document and paste it into the two boxes. Compare by word for ordinary prose. Formatting such as bold or tables is not compared, only the text.

Why is a line shown as both removed and added?

Because it changed. A line that differs in even one character is a removed line plus an added line when comparing by line. Switch to By word or By character to see the exact change.

Can it compare Urdu text?

Yes. Urdu is compared like any other text and shown right to left when the text is Urdu. Letters that look the same but use different Unicode code points will show as different.

Is my text sent anywhere?

No. The comparison happens in your browser tab. Nothing is uploaded or saved.

What does ignore case or spaces do?

Ignore case treats A and a as equal. Ignore extra spaces (by line) trims lines and collapses repeated spaces before comparing, so only real wording changes are flagged.

Is there a size limit?

There is a work limit of about 16 million comparisons. Long texts compared word by word may exceed it, in which case compare by line or in smaller sections.

Sources and how we checked

Written and maintained by the DanixSoft team in Lahore. Last reviewed 2026-11-22. Spotted a mistake? Write to hello@danixsoft.com.