Skip to main content

Text Diff Checker

Compare two versions of a text and see precisely what was added, removed, or changed between them.

Comparison runs in your browser, which matters given what people usually diff: contract revisions, configuration files, and drafts that are not public.

This tool runs entirely in your browser

This tool runs entirely in your browser. The data you paste is processed on your device and never sent to Filorra.

That is not a small detail for developer tools. API responses, tokens, config files, and log excerpts routinely contain credentials and customer data, and pasting them into a server-side tool means disclosing them to a third party.

The two things most commonly compared are contract versions and configuration files — one confidential, the other full of credentials. Both stay on your device.

How to use Text Diff Checker

  1. Paste the original text

    The version you are comparing from.

  2. Paste the revised text

    The version you are comparing to.

  3. Review the differences

    Additions and removals are highlighted so changes are easy to scan.

Why diffs sometimes show far more change than you made

A one-word edit that produces a wall of highlighted differences almost always means something invisible changed alongside it.

Line endings are the usual cause. Windows uses carriage return plus line feed; Unix and macOS use line feed alone. Open a file in an editor that normalises them, save it, and every single line registers as modified even though not one visible character changed.

Trailing whitespace does the same on a smaller scale, as does a change in indentation from tabs to spaces — an editor with "convert tabs on save" enabled will rewrite an entire file the first time you touch it.

The other frequent cause is reflowed text. If a paragraph was rewrapped to a different line width, every line in it moved, so a line-based comparison reports the whole paragraph as changed even when a single word differs.

Line diffs and word diffs answer different questions

Comparison granularity determines what the output is good for.

A line-based diff treats each line as a unit: any change makes the whole line show as removed and re-added. This is what version control uses, and it works well for code, where lines are short and semantically meaningful.

A word or character diff highlights the specific tokens that changed within a line. This is far more readable for prose, where a paragraph is one long line and a line diff would tell you only that the paragraph changed — which you already knew.

For reviewing a contract or an edited document, word-level output is what you want. For code, line-level matches the way you already think about it.

Comparing a document against what was signed

A practical use worth naming: verifying that a returned contract is the document you sent.

Copy the text of both versions and compare. Genuine negotiated edits appear as clear, localised changes. What you are looking for is the change nobody mentioned — a payment term altered by a digit, a notice period shortened, a liability cap adjusted, an added clause buried in a long section.

Reading two long documents side by side reliably fails to catch these; a diff does not get bored. Because this runs locally, the contract text is not disclosed to a third party in the process, which would rather undercut the exercise.

When to use Text Diff Checker

  • Checking exactly what changed between two contract drafts.
  • Comparing a working configuration file against a broken one.
  • Reviewing edits made to a document by someone else.
  • Verifying that a copied block of text is identical to its source.

Common problems

Everything shows as changed.
Almost always line endings — a Windows/Unix mismatch marks every line as modified. Normalise them before comparing.
A whole paragraph is highlighted for a one-word edit.
The text was rewrapped, so every line moved. A word-level comparison shows the real change.
Identical-looking text reports differences.
Invisible characters — trailing spaces, non-breaking spaces, or tabs versus spaces. Strip whitespace and compare again.
The comparison is slow on large documents.
Diff algorithms scale with input size and it runs in your browser. Compare the relevant sections rather than entire documents.

Frequently asked questions

Is my text sent to a server?
No. The comparison runs in your browser, so contracts and config files stay on your device.
Why does every line show as different?
Mismatched line endings between Windows and Unix. Normalise them and the real differences become visible.
Can it compare Word documents or PDFs?
It compares text. Copy the text out of each document and paste it in — formatting differences are not compared, only content.
Does it show moved blocks as moves?
No. A relocated paragraph appears as a removal in one place and an addition in another, which is standard diff behaviour.