Documentation

DiffScope documentation

How to compare files, folders and binaries, resolve 3-way merges, and automate DiffScope from the command line.

Applies to DiffScope v1.5.2 Updated Oct 2026

Guides

New to DiffScope? Read Getting started below first. After that, each page covers one part of the app.

Getting started

DiffScope runs on Windows and on Debian or Ubuntu Linux. It needs no account and connects to the network only for update checks on Windows, which are off unless you turn them on.

Requirements

  • Windows 10 or 11, 64-bit (x64). The installer is 107.7 MB; no admin rights are needed.
  • Linux: Debian 12 or newer, or Ubuntu 22.04 LTS or newer, 64-bit (amd64). The package is 120.1 MB and installs with sudo.

Download and install

On Windows:

  1. Download DiffScope-Setup-1.5.2.exe. The download page lists its SHA-256 checksum if you want to verify the file.
  2. Run the installer. It installs to %LOCALAPPDATA%\Programs\DiffScope, adds Start-menu and desktop shortcuts and the diffscope command; no admin rights needed.
  3. DiffScope starts when setup finishes and the home screen opens. Later, start it from the Start menu or the desktop shortcut.

Windows protected your PC

The installer is not code-signed yet, so SmartScreen may warn when you run it. Click More info, then Run anyway. To be sure the file is the one we published, check the SHA-256 on the download page first.

On Debian or Ubuntu:

  1. Download diffscope_1.5.2_amd64.deb.
  2. In a terminal in your download folder, run sudo apt install ./diffscope_1.5.2_amd64.deb. apt also installs the few system libraries DiffScope needs.
  3. Start DiffScope from the applications menu, or type diffscope in a terminal.

Change settings on the settings page (Tools › Settings, Ctrl+,); they are saved in %APPDATA%\DiffScope\settings.json on Windows and ~/.config/DiffScope/settings.json on Linux. Uninstall steps for both systems are on the download page.

The home screen

DiffScope home screen: a drop zone with a Choose files button, cards for file, merge, folder and hex compares, and the recent comparisons with a pinned one on top DiffScope home screen in the light theme, with the drop zone, the mode cards and the recent comparisons
Home: the drop zone, a card per mode, and your recent comparisons.

When you start DiffScope without arguments, Home opens:

Drop zone
Drop files or folders here, or click Choose files… (Ctrl+O). The arrow next to it offers folders, your favourite locations and or paste text to compare two snippets.
Start a comparison
One card per mode: File compare (Ctrl+O), 3-way merge (Ctrl+Shift+M), Folder compare (Ctrl+Shift+O) and Hex compare (Ctrl+Shift+H). Click a card to pick the files step by step, or drop files onto it to force that mode.
Recent, Pinned and Sessions
Your recent comparisons reopen with a click or Enter. Pin the ones you repeat (Ctrl+D), search the list with Ctrl+K, and keep a comparison with its options as a saved session. Missing files are greyed out.

The menu bar lists every command with its shortcut, and the command palette (Ctrl+Shift+P) runs any of them by name. The first start shows a short welcome tour; Help › Welcome Tour shows it again.

Your first comparison

  1. Drag two files from your file manager onto the DiffScope window. The comparison opens straight away, in a new tab.
  2. Press F7 to jump to the next difference and Shift+F7 to go back.
  3. Press Alt+→ to copy the current difference from left to right, then Ctrl+S to save.
  4. Press Ctrl+T or click + in the tab bar to start another comparison.

Drag and drop

On Home you can drop files and folders anywhere in the window:

You dropDiffScope does
Two files or two foldersOpens the comparison.
One itemKeeps it as the first side and waits for the second; drop or choose it next.
Three filesOpens the merge setup with base, mine and theirs guessed from the names (or the dates). Check them, then click Merge.
Three foldersOpens a 3-way folder merge.
Onto a mode cardUses that mode, for example a hex compare of two text files.

A file and a folder, or more than three items, cannot be compared; Home says why.

How DiffScope picks the view

You never choose the mode up front. DiffScope looks at what you open:

  • Two folders open the folder compare; three folders a 3-way folder merge.
  • Two text files open the text compare. Files that look binary (a NUL byte in the first 8,000 bytes that is not UTF-16 text) open the hex compare.
  • Two images (PNG, JPEG, GIF, WebP, BMP, ICO, AVIF, SVG) open the image compare, and .csv, .tsv or .tab files the table compare.
  • One .patch or .diff file opens the patch viewer: every file it changes, and what applying it would do.
  • Base, mine and theirs open the 3-way merge. All three must be text files.

From the command line you can override the choice with --text, --hex, --folder, --table or --image. See the command-line reference.

Tabs and closing

Every comparison opens in a tab of its own, and Home stays open in its tab. A file pair opened from a folder compare gets a new tab too. Ctrl+Tab and Ctrl+1…9 switch tabs, Ctrl+W closes one, and File › Move Tab to New Window gives a comparison a window of its own. If a tab has unsaved edits, DiffScope asks whether to save first.

Comparisons started from the command line or by another program join the running DiffScope as tabs; the program still waits for its own tab and gets that tab's exit code.

Next steps