Skip to content
Akshar tools

टेक्स्ट तुलना

Text compare

Paste two versions and see exactly what changed, line by line or word by word.

Runs in your browser · nothing uploaded

Paste the original on the left and the changed text on the right.

How to use it

  1. 01Paste the original text on the left and the changed text on the right.
  2. 02Choose to compare by lines or by words.
  3. 03Read the highlighted changes, or copy them as text.
Words

the quick brown fox → the slow brown fox

removed “quick”, added “slow”

About this tool

The comparison uses the Myers difference algorithm, the same approach as git diff, to find the smallest set of changes between the two texts. Removed lines are marked with − and crossed out, added lines with +, so the changes are clear without relying on colour, and screen readers announce each one.

Line mode suits code, lists, contracts and config files; tick “Ignore spaces” or “Ignore upper/lower case” to hide changes that don't matter. Word mode shows edits inside sentences, best for essays and articles. Very large or completely different texts show a clear message instead of freezing the page.

Everything runs in your browser. Your text is never uploaded or stored, so it is safe for drafts, code and private documents.

हिंदी में मदद

दो टेक्स्ट की तुलना करें और देखें कि क्या जोड़ा गया और क्या हटाया गया, लाइन के हिसाब से या शब्द के हिसाब से। आपका टेक्स्ट कहीं अपलोड नहीं होता।

Questions

Can I compare two files?

Open each file, copy its text and paste it into the two boxes. Plain text, code, CSV and subtitles all work.

How big can the texts be?

Up to 50,000 lines each in line mode, or about 120,000 words in word mode. Nearly identical long texts compare fastest.

Why does it say the texts are too different?

When two texts differ in thousands of places, a highlighted view isn't readable and would take a long time to work out. Compare smaller sections instead.

Is my text sent to a server?

No. The comparison runs entirely in your browser.