NEW CASE
Antana

We create digital solutions that work for businesses


Give us a call +38 (066) 35-14-529

Let's take the first step towards your website — write to us

Close
Tools

Text Comparison

Find every difference between two text versions.

The comparison runs in your browser — the texts are never sent anywhere. Handy for seeing exactly what an editor or contractor changed in your copy.

Where comparison helps

Two versions side by side with the differences highlighted. The eye misses these; the tool does not.

Contract revisions A new draft arrives with “just a small change”. The comparison shows what actually moved.
Website copy versions A copywriter sends edits as a separate file. Instead of rereading everything, only changed paragraphs show.
Configuration files A working version and one that broke. A single-character difference turns up in seconds.
Translations The source changed but the translation did not. Comparing source versions shows what still needs translating.

What the highlights mean

Added Text absent from the first version. Highlighted as a new fragment.
Removed What disappeared in the second version. The critical part in contracts — removed obligations hide here.
Changed A fragment was rewritten. Both the old and new wording appear side by side.
Unchanged Identical text you can skip — which is the whole point of comparing.

Who needs text comparison and why

Two texts that look identical rarely are. The tool shows exactly what changed — additions in green, deletions in red — and counts how many words or lines the edit touched. Typical situations:

  • Editors and copywriters. The author returned the text after edits without track changes. Paste both versions and every change is visible, including moved commas and swapped synonyms the eye would miss.
  • Lawyers and contracts. The counterparty sent "the same" draft with one digit changed in the penalties clause. Word-level comparison highlights exactly that. The text never leaves your browser, so confidential documents can be compared safely.
  • Developers. Two configs, two SQL dumps, two versions of .env: line comparison shows where they diverge without installing diff utilities.
  • SEO specialists. Title and description before and after a rewrite, old and new page text before judging what moved the rankings.
  • Translators. The original and the editor's corrections, to see what was fixed and avoid repeating the mistake.
  • Teachers and students. A draft and the final version, two answers to the same assignment.

Lines or words

This is the main choice, and it decides how readable the result is.

By line — each line is compared as a whole. If one letter in a line changed, the entire line is marked as "deleted" and "added". This is the right mode for code, configs, lists, tables, CSV: anything where a line is a logical unit.

By word — the text is split into words and only changed words are highlighted. For prose, contracts and articles this is the only sensible mode: editing one word in a paragraph does not turn the whole paragraph into a red-and-green blot.

Rule of thumb: paragraphs, compare by word; a line break on every line, compare by line.

Comparison options

  • Ignore case. "Contract" and "contract" count as one word. Useful when the editor only fixed capitalisation at sentence starts and you want the substantive edits.
  • Ignore extra whitespace. On by default. Double spaces, tabs and trailing spaces do not count as changes. Turn it off when comparing code where indentation matters (Python, YAML).

Reading the result

At the top, a summary: how many units were added, removed, unchanged. Below, the text with highlights. Green exists only in the new version, red only in the old, plain in both. A red word immediately followed by a green one is a replacement. The similarity percentage in the summary above the result shows how alike the texts are overall: 95% means cosmetic edits, 40% means effectively a different text.

Limits and privacy

Comparison runs in your browser: texts are not sent to a server and are not stored anywhere. That is why contracts, letters and anything confidential can go here. There is no formal size limit, but on texts beyond a few hundred thousand characters the browser may stall; split large files into parts.

The tool works with plain text. To compare two Word documents, copy their contents; formatting — bold, italics, tables — is not compared, only words. For JSON there is a separate formatter: align both files with it first, then compare by line, and changes become far easier to see.

Rate this tool
It tells us what to improve first
Be the first to rate 5.0 of 5 0 votes

FAQ

What is the difference between line and word comparison?
Line mode suits code, configs and structured documents: you immediately see which lines were added or removed. Word mode is better for prose: if one word changed inside a paragraph, line mode highlights the whole paragraph as changed, while word mode points at that exact word. For reviewing an editor’s corrections, use the second option.
Why the “ignore extra spaces” option?
Because copying from Word, a PDF or a browser often introduces double spaces, tabs and non-breaking characters that a human never sees. Without this option the tool honestly marks such lines as changed even though their meaning is identical. Turn it on for prose and off when comparing code, where indentation matters.
Is there a size limit?
Yes, we compare up to 1200 lines or words on each side. The limit is deliberate: the difference algorithm builds a matrix, and on very large texts the browser would freeze for several seconds. For bigger volumes, split the text into parts or use a version control system such as Git.
Are the texts I paste stored anywhere?
No. Comparison runs in JavaScript in your browser; nothing is sent to a server or written anywhere. You can verify it: disconnect from the internet after the page loads and the tool keeps working. That is why contracts, proposals and correspondence are safe to paste here.
How do I compare two Word or PDF documents?
Open both, select all text (Ctrl+A), copy and paste into the fields. The tool compares words, not formatting: bold, italics and tables are not considered. Documents heavy with tables will give a less readable result because cell text merges into lines.
What does the similarity percentage mean?
The share of units (words or lines, depending on mode) present unchanged in both texts. 95% and above means cosmetic edits: punctuation, a few swapped words. 70–90% is substantial editing with the structure preserved. Below 50% the texts are different, even if about the same thing. This is not a plagiarism check, which judges similarity of meaning; here only literal matches count.
How do I compare two texts online?
Paste the original into the first field, “Before — original”, and the new version into the second, “After — new version”. The result appears as you type, with no button: additions are highlighted in green, deletions in red, and a summary with the similarity percentage sits on top. For articles and contracts switch to “By word”; for code and lists keep “By line”. It is free and needs no sign-up.
Will the comparison catch a single changed letter or comma?
Yes, but the unit of comparison is a whole word or line, not a single character. In “By word” mode a word with a changed letter, or with a comma added or removed, is shown twice: the old form in red, the new one in green. In “By line” mode the entire line is highlighted, so small edits in prose are easier to spot by word. A change of capital letter alone is ignored while “Ignore case” is on.
Telegram Viber Call us