Compare Two Texts (Diff Checker)
Everything runs in your browser. Your data never leaves your device.
What this tool does
The text compare tool shows the differences between two versions of a text. Paste the original on one side and the edited version on the other, and every added line appears in green, every removed line in red, and the exact words that changed inside a line are highlighted. Line numbers from both versions help you find each change in your own document.
How to use it
- Paste the older version into Original text.
- Paste the newer version into Changed text. The differences update as you type.
- Choose options if needed: ignore upper/lower case, ignore extra spaces, or ignore Arabic tashkeel.
- Tick Show changed lines only for long documents, or Swap texts to compare in the other direction.
Worked example
Original: The quick fox jumps — Changed: The slow fox jumps. The tool marks the line as removed and added, and highlights only quick (removed) and slow (added), so you do not have to read the whole line twice.
Common uses
- Checking what an editor, teacher or colleague changed in your essay or article.
- Comparing two versions of a contract, policy or translation.
- Spotting differences between two lists, code snippets or configuration files.
- Comparing two copies of Arabic text with and without tashkeel.
The stats show how many lines were added, removed and left unchanged, plus a similarity score for a quick overview.
Frequently asked questions
How does the comparison work?
The tool uses the Myers diff algorithm, the same method behind git diff. It finds the smallest set of added and removed lines that turns the original into the changed text, then compares changed lines word by word so you can see exactly what was edited.
Does it work with Arabic text?
Yes. Arabic lines are shown right to left, and you can tick "Ignore Arabic tashkeel" so that a word with and without diacritics counts as the same, which is useful when comparing two copies of a poem, a hadith or an article.
What does the similarity percentage mean?
It is the share of lines that are the same in both texts. Two lines with one changed word count as different, so a low percentage can still mean small edits spread across many lines.
Is my text sent anywhere?
No. Both texts are compared inside your browser and are never uploaded, so it is safe for contracts, essays and private documents.
Can it check for plagiarism?
It compares two texts you already have, side by side. It does not search the internet for copied content.
Last updated: · What's new