Kharabeesh
On-device ع

Text Diff (Compare Two Texts)

Compare two versions of an Arabic or English text and see added and removed lines plus the words that changed inside a line, in a unified or side-by-side view with + and − markers and change counts.

Free, no sign-up Your data stays on your device Works offline after first open

The tool

Loading the tool…

How to use

  1. Paste the original text in the first box and the changed text in the second.
  2. Differences appear right away: − for removed, + for added, with changed words marked inside the line.
  3. Switch between unified and side-by-side views, and copy the diff if you need it.

Privacy & how it works

Processes your data in the browser and stores nothing.

  • Engine: lightweight in-page code, no external libraries.
  • Works offline after you open it once.

Frequently asked questions

How are the differences calculated?

The two texts are compared line by line with the Myers algorithm (the same idea behind developer diff tools) to find the fewest additions and removals. Similar lines are then compared word by word to mark the words that changed.

Why does a line with one changed word show as removed and added?

An edited line is shown as a removed line (−) and an added line (+), with the changed words marked in both. If the two lines are very different, no words are marked and both are shown in full. Note that if a whole paragraph sits on one line, any edit makes the whole paragraph “changed”.

Does it detect plagiarism or similar meaning?

No. It only compares the characters and words as written. Rephrasing or moving paragraphs around shows up as removals and additions.

Is there a size limit?

No fixed limit. Texts with thousands of lines work, but only the first 1,500 rows are drawn to keep the page fast; turn on “Hide unchanged lines” for long texts.

Are my texts saved or sent anywhere?

No. The comparison happens in your browser and the texts are gone when you close the page.

Related tools