MyAITools
Comparer

Text Diff

Text Diff is a free online comparer that helps you compare two texts side by side and highlight added, removed and unchanged lines, words or characters. Text Diff uses 3 input fields, returns 4 output values, and runs in your browser on the device.

Key facts

Inputs
3 fields: Text A (original), Text B (modified), and Diff mode
Outputs
4 values: Diff, Added chunks, Removed chunks, and Unchanged chunks
Runtime
your browser on the device
Mode
Comparer
Privacy
Files and text stay in the browser session.
Cost
$0, no account required

How to use Text Diff

  1. 1

    Paste or fill in the input

    Enter your text or values into the input fields on the page.

  2. 2

    Run the utility

    Click Compute to run the utility in your browser and review the result.

  3. 3

    Copy the output

    Copy the output value you need from the result panel.

Text Diff details

First, enter Text A (original) in Text Diff. Next, review Diff, Added chunks, Removed chunks, and Unchanged chunks. Additionally, Text Diff uses 3 input fields and 4 output blocks so the result is easy to scan and copy.

Paste two versions of any text; an old draft and a new one, a quote and a contract, two log files, two emails; and instantly see what changed. Choose line, word or character granularity. Added chunks are prefixed with `+`, removed chunks with `-` and unchanged with two spaces. Counts of added, removed and unchanged chunks appear below. The comparison runs entirely in your browser; nothing is uploaded.

Common searches

  • text diff
  • compare two texts
  • text comparison tool
  • diff text
  • text compare
  • find differences between texts

Tools that work with the same formats — most users open one of these next.

Frequently asked

What is Text Diff?

Text Diff is a free online comparer that helps you compare two texts side by side and highlight added, removed and unchanged lines, words or characters. Text Diff uses 3 input fields, returns 4 output values, and runs in your browser on the device.

What inputs and outputs does Text Diff use?

Text Diff uses 3 input fields: Text A (original), Text B (modified), and Diff mode. Text Diff returns 4 output values: Diff, Added chunks, Removed chunks, and Unchanged chunks.

Do my files and data stay private?

Yes. Text Diff runs entirely in your browser using your device's CPU. Files and text are never uploaded to our servers, so your data stays private.

How do I use Text Diff?

Open Text Diff, paste or fill in the input fields, and the result updates instantly. Text Diff runs in your browser with no upload and no waiting.

Which browsers does Text Diff support?

Any modern browser works in Chrome, Firefox, Safari, and Edge on desktop and mobile. Text Diff uses standard web APIs and does not require any plugin, extension, or sign-up.