Text

Text Diff

Compare two pieces of text and see exactly what changed. Switch between line-level and word-level granularity. Insertions are shown in green, deletions in red, with running counts.

+22= 1
a.txt45 chars
b.txt45 chars
diff.patch5 ops
- The quick brown fox
- jumps over the lazy dog.
+ The quick red fox
+ jumps over the sleepy dog.
  
runtime

Browser-local execution

Inputs stay inside the current tab unless you copy, download or explicitly export.

memory

Session handoff

Magic Paste can pass input to a target tool through sessionStorage, never through the URL.

control

User-owned state

Favorites, recent tools and workflow history are local browser data you can clear from the browser.

smart handoff graph

Suggested next moves

session handoff ready
sponsor

Fixed native slots for developer products. No third-party tracking, no popups, no layout shift.

Sponsor this tool
01

How to use

  1. 01Paste the original on the left and the modified version on the right.
  2. 02Pick line- or word-granularity at the top.
  3. 03Read the unified diff in the bottom panel.
02

FAQ

How is the diff computed?
Using a longest-common-subsequence (LCS) algorithm over the chosen tokens (lines or whitespace-separated words). The whole computation runs in your browser.
03

Related tools