Start here
DiffScope is free and has no paid support desk, so self-help comes first:
FAQ
Licence, install, SmartScreen, updates and privacy, in short answers.
Read the FAQDocumentation
How each view works: text compare, 3-way merge, folders and hex.
Open the docsKeyboard shortcuts
Every shortcut, and how to set your own key bindings.
See the shortcutsCommand line
Every switch, the headless mode and the exit codes.
CLI referenceTroubleshooting checklist
Work through the item that matches what you see.
Windows SmartScreen blocks the installer
The installer is not code-signed yet, so running it may show “Windows protected your PC”.
- Check the installer’s SHA-256 against the value on the download page (see Verify your download).
- Click More info, then Run anyway.
- If it will not start at all, right-click the file, choose Properties, tick Unblock and run it again.
On managed company PCs, a policy may block unsigned programs completely. Ask your IT team to allow the file by its hash.
Where DiffScope is installed
| What | Location |
|---|---|
| Program files (Windows) | %LOCALAPPDATA%\Programs\DiffScope |
| Settings (Windows) | %APPDATA%\DiffScope\settings.json |
| Program files (Linux) | /opt/DiffScope, with the diffscope command in /usr/bin |
| Settings (Linux) | ~/.config/DiffScope/settings.json |
On Windows, paste a path into the File Explorer address bar to open it.
Nothing happens when I start it
- Start DiffScope from the Start menu or the desktop shortcut.
DiffScope.exeneeds the files next to it, so copying the exe alone does not work. If files are missing, run the installer again. - Check that you are on 64-bit Windows 10 or 11, or on Debian 12+ or Ubuntu 22.04+ (64-bit).
- On Linux, start
diffscopein a terminal: any error is printed there. If the package was installed withdpkg -i, runsudo apt install -fto add the libraries it needs. - Some antivirus tools quarantine new unsigned programs. Check your antivirus history and restore the file if the installer’s SHA-256 matched.
- If the settings file was edited by hand and is damaged, DiffScope sets it aside with a warning and starts with defaults. To rule settings out, reset them.
Exit codes and paths
When DiffScope is called from a script or another tool, it reports the outcome through its exit code:
| Exit code | Headless diff | Merge |
|---|---|---|
0 | Files are identical | Saved with no conflicts left |
1 | Files differ | Cancelled, or conflicts left |
2 | Error (invalid command line, missing file) | Error, nothing written |
- A merge that returns 1 was closed with conflicts left or without saving. Resolve every conflict and save first.
- Quote every path that may contain spaces:
diffscope "old file.txt" "new file.txt". - Exit code 2 means the command line was rejected. Run the same command with the
diffscopecommand in a terminal to see the message (see the CLI reference).
Reset all settings
Use Tools › Reset All Settings in DiffScope. If the app does not start, close every DiffScope window and delete the settings file instead:
Remove-Item "$env:APPDATA\DiffScope\settings.json"rm ~/.config/DiffScope/settings.jsonDiffScope starts with the defaults the next time. Your own files are not affected.
Uninstall
On Windows, open Settings › Apps › Installed apps, find DiffScope and choose Uninstall. Settings are kept; delete %APPDATA%\DiffScope to remove them too. On Linux, run sudo apt remove diffscope; delete ~/.config/DiffScope to remove the settings.
Report a problem
Please include:
- The DiffScope version. Run this in a terminal:
It prints the version, for exampleTerminal
diffscope --versionDiffScope 1.5.2. Help › About shows it too. - Your system: the Windows version, for example “Windows 11 23H2” (press Win+R and run
winver), or the Linux distribution and version (runcat /etc/os-release). - The exact command line, if DiffScope was started by a script or another tool, and the exit code if you have it.
- What you did, what you expected and what happened, step by step. A screenshot helps for display problems.
- Small sample files that reproduce it, only if they contain nothing confidential.
Security issues
If the problem could affect the security of your computer or data, do not post it publicly. See Reporting a vulnerability.
Contact
Where to send reports
A contact address is coming soon. There is no forum or ticket system yet; this page will say where to send reports as soon as an address is available.
The app sends no data, so we only learn about problems when you tell us. Thank you for taking the time.
