text-diff logo

text-diff

by AlexWebsiteUpdated Oct 8, 2026

Compare two texts and find differences. Also calculate similarity percentage.

diff
text
compare
+3
|

How to pay

Pick whichever fits your workflow — you can switch any time.

Subscribe

Monthly billing

$5/month

Predictable monthly cost with included usage. Best for steady, high-volume traffic.

  • Unlimited tools within plan limits
  • One API key, billed once a month
  • Cancel any time

Pay-per-call

Agent-native

$0.01 per call

Charge agents in USDC the moment they call a tool. No subscriptions, no signup — pay only for what you use.

  • 2 priced tools available
  • Settled in USDC on Base
  • No account or API key required

Text Diff

Compare two texts and find differences. Calculate similarity percentage.

What it does

diff_text — compares two texts line by line.

  • Returns: added lines, removed lines, unchanged lines
  • Shows which line numbers changed

similarity — calculates how similar two texts are.

  • Returns: similarity percentage, common words count
  • Useful for detecting near-duplicates

Why use it

  • Version control — compare document versions
  • Data cleaning — detect duplicate records
  • Content review — track changes between drafts
  • Plagiarism detection — find similar texts

Pricing

  • Free: 50 requests/day
  • Pro: $5/month — 1,000 requests
  • Pay-as-you-go: $0.01 per request

📦 Part of Text Utilities Pack

Get text-diff + 4 more tools for $15/mo — instead of $25/mo separately.

Included in the pack:

  • case-converter
  • slug-cleaner
  • url-cleaner
  • html-entity-converter
  • text-diff (this tool)

Save 40% on the full text processing stack.