Diff

Text Diff Viewer

Paste two versions of text to see exactly what changed — additions, removals, and unchanged lines — in inline or side-by-side view. Everything runs locally.

Original

Local

Changed

Local
About this tool

About Text Diff Viewer

The Text Diff Viewer compares two versions of text and highlights additions, removals, and unchanged lines, in inline or side-by-side view. It is for developers and writers reviewing edits, config changes, or output differences.

Spotting what changed between two blocks of text by eye is slow and unreliable. A diff shows it precisely, and running it locally keeps both versions private.

How to use

Step by step

  1. Paste the original text on one side.
  2. Paste the revised text on the other.
  3. The viewer marks additions, removals, and unchanged lines.
  4. Switch between inline and side-by-side views to suit the comparison.
  5. Use the result to review or copy the differences.
Key features

What it offers

  • Line-level addition and removal highlighting
  • Inline and side-by-side views
  • Handles multi-line text
  • Runs entirely locally
Common use cases

Where it helps

  • Reviewing changes between two config versions
  • Comparing expected and actual test output
  • Checking edits between drafts of a document
  • Spotting unintended changes before committing
Best practices

Tips for best results

  • Normalise line endings before comparing, or whitespace-only differences can clutter the diff.
  • Side-by-side suits wide changes; inline is easier for small, scattered edits.
  • For code, your version-control diff carries more context, but this is quicker for ad-hoc snippets.
Benefits

Why people use it

Precise changes

See exactly what was added or removed.

Two views

Inline for compactness, side-by-side for clarity.

Private

Both versions stay in your browser.

No setup

Compare text without a version-control tool.

FAQ

Common questions

It uses a line-based longest-common-subsequence algorithm to find the smallest set of additions and removals between the two texts.
Green marks added lines, red marks removed lines, and unchanged lines are shown plainly.
Inline stacks all changes in one column; side-by-side shows the original and changed text in two columns.
No. The comparison happens entirely in your browser.
Private by design

This runs entirely in your browser

No file or text you enter here is uploaded. Encoding and decoding happen on your device using native browser APIs — close the tab and nothing remains on a server.

Install Toolisco Add it to your device for offline, one-tap access.