Text Diff Compare: Added, Removed & Changed Lines + Similarity avatar

Text Diff Compare: Added, Removed & Changed Lines + Similarity

Pricing

from $2.00 / 1,000 texts compareds

Go to Apify Store
Text Diff Compare: Added, Removed & Changed Lines + Similarity

Text Diff Compare: Added, Removed & Changed Lines + Similarity

Compare two texts (paste or URL) and see exactly what changed: added, removed and changed lines with line numbers, a similarity percentage and a ready unified diff. Options to ignore case and spacing. For contracts, drafts, web pages and AI outputs. No API key. Pay per pair compared.

Pricing

from $2.00 / 1,000 texts compareds

Rating

0.0

(0)

Developer

KOTARO project

KOTARO project

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Categories

Features

Limited permissions

Share

🔍 Text Diff Compare — see exactly what changed between two texts

Paste two versions of a text (or give two links). Get back every added, removed and changed line with its line numbers, a similarity percentage, and a ready unified diff. Useful for contracts and terms, article drafts, product descriptions, web page copies, translations and AI outputs. No API key.

What it does

  • ➕➖✏️ Added, removed and changed lines, each with old and new line numbers
  • 📊 Similarity percentage (character level) and line similarity
  • 🧾 Unified diff (the format used by Git and code review tools), with adjustable context lines
  • 🔡 Ignore case and ignore spacing options, so trivial edits don't count
  • 🌏 Any language, including Japanese; Windows and Mac line endings handled
  • 🔒 Links: only public http(s), every redirect is checked, private and internal addresses are refused

Input

FieldWhat it is
oldText / newTextPaste the two versions
oldUrl / newUrlOr links to plain text files
ignoreCaseTreat upper and lower case as the same
ignoreWhitespaceIgnore differences in spaces and tabs
contextLinesUnchanged lines shown around each change in the unified diff (default 3)
{ "oldText": "We bake soft bread on rainy days.\nOpen from 5 pm.", "newText": "We bake soft, moist bread on rainy days.\nOpen from 5 pm.\nReservations by phone are welcome." }

Output

{
"ok": true,
"identical": false,
"similarityPercent": 84.1,
"lineSimilarityPercent": 72.7,
"oldLines": 5,
"newLines": 6,
"addedLines": 1,
"removedLines": 0,
"changedLines": 1,
"changes": [
{ "type": "changed", "oldLine": 2, "newLine": 2, "oldText": "We bake soft bread on rainy days.", "newText": "We bake soft, moist bread on rainy days." },
{ "type": "added", "newLine": 5, "text": "Reservations by phone are welcome." }
],
"unifiedDiff": "--- old\n+++ new\n@@ -1,5 +1,6 @@\n Rainy Day Bread\n-We bake soft bread on rainy days.\n+We bake soft, moist bread on rainy days.\n …",
"oldSource": "pasted",
"newSource": "pasted"
}

Pricing

Pay per event: one comparison event per pair of texts compared. Failed runs and empty runs are free.

Limits

  • Up to 2 million characters per text (10 MB per linked file)
  • Up to 2,000 changes are listed one by one; the counts and the unified diff always cover everything
  • Compares lines of plain text. For Word or PDF files, extract the text first