🔀
Diff Viewer
Compare two texts side by side or unified, with word-level highlighting inside changed lines and unified patch export.
Utilities
v1.0.0
37 uses
🔀
Diff Viewer
Esc
or
Ctrl+Shift+F
to exit
Input
Original
Changed
About This App
A proper comparison tool for two versions of anything text-shaped — code, config, prose, query output. It computes a real line diff rather than a naive row-by-row comparison, so an inserted line shifts everything sensibly instead of marking the whole remainder as changed. Inside each changed line it runs a second pass at word level, so you can see the three characters that actually moved rather than re-reading the whole line. View it side by side or as a unified listing, collapse long runs of unchanged context down to a few lines, and ignore whitespace or case when that noise is not what you are looking for. Export the result as a unified diff patch you can hand to git apply, or copy it straight to the clipboard. Everything is computed in your browser.
How to Use
- 1 Paste the original text on the left and the changed text on the right
- 2 The comparison updates as you type
- 3 Switch between Side by side and Unified with the view toggle
- 4 Turn on Ignore whitespace or Ignore case to filter out noise
- 5 Collapse context to hide long unchanged stretches
- 6 Word-level highlights show exactly what moved inside a changed line
- 7 Export a unified patch, or copy it to the clipboard
- 8 Swap sides if you pasted them the wrong way round
More Apps in Utilities
🔍
Regex Lab
UtilitiesBuild and debug regular expressions with live match highlighting, a plain-English breakdown, capture group inspection, replace preview, and code generation for eight languages.
🗂️
JSON Workbench
UtilitiesInspect, query, reshape and convert JSON — collapsible tree, path queries, inferred schema, and export to CSV, YAML or TypeScript types.
📦
Zip File Manager
UtilitiesCreate, open, edit, encrypt, split, merge, and recover passwords for ZIP files. Full-featured browser-based archive manager.