Text Diff

Compare two text blocks line by line. Highlights additions and deletions.

Text A (Original)
Text B (Modified)

About the Text Diff

Compare two blocks of text and see exactly what changed. Each line is marked as added, removed or unchanged, which makes it fast to spot the one modified value in a config file or the edited sentence in a document. The comparison runs in your browser, so contracts, logs and source files stay local.

How to use the Text Diff

  1. Paste the original text

    Put the earlier or reference version in the first pane.

  2. Paste the version to compare

    Put the newer or modified version in the second pane. The comparison runs automatically.

  3. Read the highlighted result

    Removed lines, added lines and unchanged context are marked distinctly so the actual change stands out.

When to use it

Reviewing config changes

Compare two versions of an environment or deployment file to confirm exactly which setting differs.

Checking document revisions

Find the edited clauses between two drafts of a contract or a policy.

Comparing log output

Diff a working run against a failing one to isolate where the behaviour diverges.

Frequently asked questions

Is my text uploaded to a server?

No. The comparison is computed in your browser, so it is safe to diff contracts, logs or proprietary source.

Does it compare word by word or line by line?

Line by line. That is the right granularity for code and configuration, though a single changed word marks the whole line as modified.

Does it ignore whitespace?

No. Trailing spaces, indentation changes and differing line endings are treated as real differences — which is often exactly what you need to find.

Why do two apparently identical files differ?

Usually invisible characters: CRLF versus LF line endings, a trailing newline, a byte order mark, or a non-breaking space pasted from a document.