Go to example tasks

Compare two sample texts and two robots.txt files

Compares a pair of short sample texts and the robots.txt files of two sites, line by line and then word by word. Each pair returns counts, a similarity score, every change, a unified diff and a side by side HTML report. Replace the pairs with your own texts, files or pages.

Try for free
Text Diff: compare texts, files and web pages
Text Diff: compare texts, files and web pagesexamsens.ai/text-diff
Pair
Compared
Identical
Similarity
+9 fields
Text
Number
Boolean
List
Object

Input

Original:The quick brown fox jumps over the lazy dog. Shipping takes 3 to 5 days. Returns are free.
Modified:The quick red fox jumps over the lazy dog. Shipping takes 2 to 4 days. Returns are free. Gift wrap is available.

Output fields

Pair
Compared
Identical
Similarity
Lines added
Lines removed
Lines changed
Words or characters added
Words or characters removed
Changes
HTML report
Unified diff
Error

How it works

Sign up on Apify or log in

The Text Diff: compare texts, files and web pages Actor is ready to run with the inputs already set for "Compare two sample texts and two robots.txt files". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Compare two sample texts and two robots.txt files" task

The Text Diff: compare texts, files and web pages Actor will start running based on the input automatically. You can also change all the input fields, like original and modified, to match your specific use case.

Receive the "Compare two sample texts and two robots.txt files" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as pair, compared, identical, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Compare two sample texts and two robots.txt files" task via API.

Image

Integrate "Compare two sample texts and two robots.txt files" into your workflow

Connect "Compare two sample texts and two robots.txt files" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay