How-to guide

How to Compare Two Texts Online: Added, Removed, Same

Updated 2026-12-041181+ wordsFree tools · no signup

To compare two texts online, paste the original version into one box and the changed version into a second box, then read the result line by line: lines marked + were added, lines marked - were removed, and unmarked lines are unchanged. Hellagape's Text Diff Checker does this in your browser and shows a count summary (for example "added 3 removed 1 unchanged 0") above the result. Nothing you paste is uploaded — the page states the comparison runs client-side, which makes it safe for drafts, configs and code you would not send to a server.

How to compare two texts in the hellagape checker

  1. Open the Text Diff Checker. You will see two boxes: Original text and Changed text.
  2. Paste the older version into Original text and the newer version into Changed text. Order matters: swapping them flips every + into a -.
  3. Read the count line above the result — added / removed / unchanged — to see the scale of the change at a glance.
  4. Read the result lines: + means the line exists only in the changed text, - means it exists only in the original, and a line with no marker is identical in both.
  5. If the counts say everything changed but the texts look the same, check for invisible differences first (trailing spaces, tabs vs spaces, a missing final newline) before assuming the content really changed.

The tool is free with no account and no daily limit, per the page's own FAQ. It works on phones too, though very large pastes are limited by your phone browser's memory.

Worked example (counts verified)

Original text (5 lines):

Meeting notes - Tuesday
Budget approved at $5,000
Deadline is March 15
Owner: Sarah
Status: draft

Changed text (6 lines):

Meeting notes - Tuesday
Budget approved at $6,500
Deadline is March 15
Owner: Sarah
Status: final
Next step: email the team

Result — added 3, removed 2, unchanged 3:

  Meeting notes - Tuesday
- Budget approved at $5,000
+ Budget approved at $6,500
  Deadline is March 15
  Owner: Sarah
- Status: draft
+ Status: final
+ Next step: email the team

Read it as a story: the budget line was edited (one removal + one addition — a line diff cannot show "edited" as a single state), the status line was edited the same way, and one brand-new line was appended. Three lines survived untouched. The counts were verified with Python's difflib (the same line-matching family the tool uses): 3 added, 2 removed, 3 unchanged. If you paste these two blocks into the checker you should see the same counts.

How the comparison works, in plain words

A text diff does not compare line 1 with line 1, line 2 with line 2. It finds the longest sequence of lines that both texts share in the same order (the longest-common-subsequence idea behind git diff and the Unix diff command), keeps those as unchanged, and reports everything else as removed from the original or added in the changed version. Two consequences worth knowing:

  • Inserting one line does not mark everything below it as changed. The shared lines still match, just shifted down.
  • An edited line shows as one - plus one +. If only one word changed inside a long line, the whole line is reported — read the pair side by side to spot the actual edit.
  • Moved blocks look like a deletion plus an addition. A line-based checker reports a cut-and-pasted paragraph as removed in one place and added in another, even though the words are identical.

Tips and common mistakes

  • Wrong order pasted: if every change reads backwards, you swapped the boxes. Original = before, Changed = after.
  • Everything highlighted: one side indents with tabs and the other with spaces, or one side has trailing spaces. The texts differ invisibly; normalise whitespace before comparing.
  • One giant changed line: minified JSON, XML or code with no line breaks diffs as a single line. Format both sides first (the JSON Formatter helps), then compare.
  • Line endings: text copied from Windows files (CRLF) vs Unix files (LF) can flag lines that look identical. Re-paste both sides from the same source if counts look impossible.
  • Privacy: hellagape's checker "processes everything locally with JavaScript" and closing the tab clears the data — but that guarantee is per-tool. Before pasting contracts or tokens into any online checker, confirm it runs client-side like this one.
  • Related hellagape tools: the Word Counter for length checks after an edit, and the Case Converter when a "change" is only capitalisation.

Most-asked questions

How do I compare two texts online for free?

Open the hellagape Text Diff Checker, paste the original into the first box and the changed version into the second, and read the +/- result. It is free, needs no account, and runs entirely in your browser.

Is my text uploaded when I compare it online?

Not with this checker: the page states your input "is processed in memory on your own device and is never uploaded, logged or shared." Other online tools differ, so check before pasting anything private.

How do I check if two texts are identical?

Paste both versions in. If the summary shows added 0 and removed 0, the texts match line for line. If a line is flagged but both sides look the same, an invisible character (trailing space, tab vs spaces) differs.

Can I compare two text files instead of pasting?

Yes — open each file in a text editor, copy its contents, and paste one into each box. Plain-text formats (.txt, .md, .csv, .json, .log, source code) work directly; binary files like PDFs and images do not.

What do the + and - signs mean in a diff?

+ marks a line present only in the changed text (added), - marks a line present only in the original (removed), and an unmarked line is unchanged. This is the same convention git diff and diff -u use.

Why does one edited sentence show as a removal and an addition?

Because the comparison works line by line: a changed line is not the same line, so the old version is reported as removed and the new version as added. Read the -/+ pair together to see what actually changed inside the line.

How do I compare two documents in Microsoft Word instead?

In Word, open the Review tab, choose Compare, then pick the original and revised documents. Word creates a third document showing differences as tracked changes, including formatting — better than a text diff when formatting matters.

How do I compare two files in VS Code or with git?

In VS Code, run code --diff a.txt b.txt or select two files and choose Compare Selected. In a terminal, git diff --no-index a.txt b.txt or diff -u a.txt b.txt prints the same +/- format for scripts and patches.

Try it now

Text Diff Checker

Compare two texts and highlight added, removed and unchanged lines.

Open the free tool