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
LocalChanged
LocalAbout 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.
Step by step
- Paste the original text on one side.
- Paste the revised text on the other.
- The viewer marks additions, removals, and unchanged lines.
- Switch between inline and side-by-side views to suit the comparison.
- Use the result to review or copy the differences.
What it offers
- Line-level addition and removal highlighting
- Inline and side-by-side views
- Handles multi-line text
- Runs entirely locally
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
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.
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.
Common questions
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.