Line and word-level highlighting
The words that differ inside a changed line are marked, so a renamed variable doesn’t hide in a sea of red.
Features
Text, 3-way merge, folders, raw bytes, tables and images, each in a tab of its own, plus a headless command line for scripts. DiffScope picks the right view for what you open.
Text compare
Two files side by side, with the changed words inside changed lines highlighted. Edit either side and save without touching the encoding.
The words that differ inside a changed line are marked, so a renamed variable doesn’t hide in a sea of red.
Ignore whitespace, case and blank lines, comments in 20+ languages, or your own rules for timestamps, IDs and generated text. What a rule explains is dimmed and skipped.
Syntax colouring, find and replace (Ctrl+F), word wrap and go to line. Type straight into either side, copy a block with Alt+←/→, and undo covers both panes.
UTF-8, UTF-8 BOM, UTF-16 LE/BE and Latin-1 are kept on save, and CRLF stays CRLF. A notice says when only these differ.
Detect Moved Blocks marks code that moved and jumps between the copies. Minified and pretty-printed JSON or XML compare by their real changes.
200,000-line files stay smooth. F7 / Shift+F7 jump between differences; collapse unchanged lines or switch to a one-pane inline view.
3-way merge
Mine, Base and Theirs above the merged result. Changes that don’t overlap merge themselves, so you only spend time on real conflicts.
0 only when saved with no conflicts left, so calling tools and scripts know the result
Folder compare
See what was added, removed or changed across two whole trees, then open any pair in a new tab with a double-click.
*.c;*.h;-obj\, saved filter sets, files your version control ignores hidden
Hex compare
Firmware images, archives and build outputs. Both files are streamed, never loaded whole, so a 100 MB+ image opens without a stall.
DE AD ?? EF) or text with Ctrl+F0x1F0) or decimal (496)
Tables, images & patches
Spreadsheet exports compared cell by cell, pictures side by side, and patch files you can review before they touch anything.
.patch or .diff to see every file it changes, then apply it
CLI & automation
With --headless, DiffScope writes a unified diff, a merged file or a folder report and reports the result through its exit code.
-U N context--diff3 adds the base section--folder, --exclude and --compare=content|size|size-mtime--report/base: /mine: /title1: and --long options, freely mixed--set, --settings and --no-settings control saved settings per run# Unified diff of two files
diffscope --headless old/app.js new/app.js > changes.diff
# 3-way merge; conflicts are written with markers (exit 1)
diffscope --headless --merge --base base.c --mine mine.c --theirs theirs.c -o merged.c
# Folder compare by content, skipping build output
diffscope --headless --folder --exclude node_modules --exclude "*.o" v2.3 v2.4 > tree.txt
# HTML report of two folders
diffscope --report report.html v2.3 v2.4
The diffscope command works in any terminal on Windows and Linux and prints there; exit codes work everywhere.
Menus & keys
A tab per comparison, a full menu bar, a command palette, and settings that are remembered between sessions.
settings.json file
settings.json filePrivacy & quality
The app makes no network connections unless you turn on update checks: no telemetry, no account. DiffScope is built carefully because comparison tools need to be trustworthy.
Your files stay on your machine. It runs the same on an air-gapped build machine as on your laptop.
Windows: a per-user installer, no admin rights. Debian and Ubuntu: a package that installs with apt.
Unit tests and 340+ end-to-end tests of the real app: every view, the command line, screenshots and accessibility.
200,000-line text, 50 MB+ binary streaming and 100 MB hex compare, end to end.
Generated inputs for the diff and merge engines, cross-checked byte for byte against independent reference implementations.
Checklist
Everything below ships today, on Windows and Linux, with the version it arrived in. What’s next is on the roadmap.
| Feature | Since | 1.4 |
|---|---|---|
| Text compare | ||
| Side-by-side diff with line and word-level highlightingSimilar lines paired, whitespace-only changes marked | 1.0 | |
| Ignore whitespace, case and blank linesWhitespace: all, changes only, or leading/trailing | 1.0 | |
| Encoding and line endings preserved on saveUTF-8, UTF-8 BOM, UTF-16 LE/BE, Latin-1; CRLF / LF / CR | 1.0 | |
| Copy blocks left / right, copy and advanceAlt+← / Alt+→ | 1.1 | |
Go to line, compare line endings, clipboard and pasted textCtrl+G, --clipboard, standard input | 1.2 | |
| A code editor in every paneSyntax colouring, find and replace, word wrap | 1.3 | |
| Collapse unchanged lines, inline one-pane view, line details | 1.3 | |
| Comparison rulesPresets, line and text filters, ignored comments, file types | 1.3 | |
| Moved-block detection, manual alignment, prettified JSON / XML | 1.3 | |
| 3-way merge | ||
| Mine, Base and Theirs above an editable outputNon-conflicting changes merged automatically | 1.0 | |
| Take Mine, Theirs, both, or Base, per conflict or for all remainingAlt+1–Alt+5 | 1.0 | |
| Exit code 0 only when saved with no conflicts left | 1.0 | |
Merges without a window, Mark as resolved/automerge, /reviewconflicts | 1.2 | |
| Line picking, the magic wand, compare the result with base, mine or theirs | 1.3 | |
Open a file with conflict markers and resolve it--resolve FILE | 1.3 | |
| Recovery of an unsaved merge after a crash | 1.4 | |
| Folder compare | ||
| Recursive compare by content, size, or size and date | 1.0 | |
| Filters and exclude patternsFilter strings, saved sets, ignore files of version control | 1.3 | |
| Renamed-file detection, peek pane, sortable columnsF3 | 1.4 | |
| Synchronise folders; copy, move, rename and delete with undo | 1.4 | |
| 3-way folder merge and changesets | 1.4 | |
| Hex, tables, images and patches | ||
| Streaming hex compare of 100 MB+ files with go to offset | 1.0 | |
| Aligned insertions and byte or text search in hexCtrl+F | 1.4 | |
Table compare for CSV and TSV, rows matched by key--table, --table-key | 1.4 | |
| Image compare: side by side, blended, swipe | 1.4 | |
| Patch viewer: review and apply .patch / .diff files | 1.4 | |
| Command line and reports | ||
Headless unified diff, merge and folder report with exit codes 0 / 1 / 2--headless, --merge, --folder, --diff3 | 1.0 | |
Saved settings from the command line--set, --settings, --no-settings | 1.1 | |
Patch export and unified diff files/createunifieddiff, -R | 1.2 | |
Reports as HTML, PDF, CSV, XML, JSON or text, and printing--report | 1.4 | |
The diffscope command in any terminalWindows installer and Linux package | 1.4 | |
| Window, menus and settings | ||
| Menu bar with every command and its shortcut, custom key bindings | 1.1 | |
| Home screen with a drop zone, mode cards and recent comparisons | 1.3 | |
| Tabs, saved sessions, restore last sessionCtrl+T, Ctrl+Tab | 1.4 | |
| Command palette and Quick OpenCtrl+Shift+P, Ctrl+P | 1.4 | |
| Settings page, searchableCtrl+, | 1.4 | |
| Welcome tour, high-contrast theme, screen reader support | 1.4 | |
| Platforms and privacy | ||
| Windows 10 / 11 per-user installer, no admin rights | 1.1 | |
| Debian 12+ and Ubuntu 22.04+ package | 1.4 | |
| No telemetry, no account, updates off by default | 1.0 | |

Free, private, and no admin rights needed.