KDiff3 for Mac — free diff and merge tool for two or three files

KDiff3 is a free, open-source tool from the KDE community that compares and merges two or three text files or folders. It shows differences line by line and character by character and can merge automatically.

No ratings yet
Version
1.12.6
License
Free
Requires
macOS 13+
Chip
Apple Silicon & Intel
Developer
KDE
Website
invent.kde.org

Last checked: 2026-11-29

KDiff3 compares two or three versions of a text file and merges them into one. Given three inputs, it treats the first as the common base, applies by itself the changes that do not collide and leaves only the real conflicts to you.

What it does well

  • Three-way merge. Merges changes automatically where it can and offers an editor for resolving the conflicts that remain.
  • Fine-grained differences. Shows changes line by line and character by character, and can highlight or hide changes in white space or comments.
  • Folder comparison. Compares and merges two or three folders as well as single files.
  • Encodings and printing. Supports Unicode, UTF-8 and other file encodings, and can print the differences.

Who it is for

Developers who resolve merge conflicts and want a free tool that works the same way on Mac, Windows and Linux.

Good to know

KDiff3 is a Qt application from the KDE project, so on a Mac it works but does not look or behave like a native app. It deals with text only: to compare images or tables, Beyond Compare does more, though it is paid. Meld is the other free option.

How to install

  1. The project page links to the binaries on download.kde.org; download the disk image for your chip (arm64 is Apple Silicon, x86_64 is Intel).
  2. Open the disk image and drag KDiff3 to Applications.
  3. The first time you open it, macOS asks you to confirm an app downloaded from the internet; click Open.
Free Download

FAQ

Is KDiff3 free?

Yes. KDiff3 is free and open source under the GNU General Public License.

Does KDiff3 run natively on Apple Silicon?

Yes. KDE publishes two disk images, one for Apple Silicon (arm64) and one for Intel (x86_64).

Can I use KDiff3 as a merge tool for Git?

Yes. Git knows KDiff3 by name as a merge tool. On a Mac the program sits inside the app bundle, so you have to tell Git where it is with the mergetool.kdiff3.path setting.

Is it safe?

License: FreeScan on VirusTotalOfficial download link

Apps downloaded outside the App Store make macOS ask for confirmation on first launch. If macOS blocks the app, see our security-warning guide.

Does it run on your Mac?

No reports yet. Tried it? Be the first to say how it went.

macOS 27 26 Tahoe 15 Sequoia 14 Sonoma 13 Ventura 12 Monterey ≤11
Apple Silicon
Intel
Tried it on your Mac?

Not sure? Apple menu → About This Mac → "Chip" (M1–M5) or "Processor" (Intel).

Installation & Troubleshooting

How do I disable SIP and grant Terminal Full Disk Access?

System Integrity Protection shields core macOS files. Leave it on unless a developer's own instructions call for changing it; Terminal needs Full Disk Access to run some install scripts.

Full guide

How do I open an app that Gatekeeper blocks?

Gatekeeper and quarantine trigger "damaged" or "unidentified developer" warnings. Allow the app with Open Anyway in System Settings → Privacy & Security, or clear the quarantine flag with xattr.

Full guide

Why do I see security warnings when opening an app?

"Unidentified developer" and "cannot verify" warnings appear for apps Apple has not notarized. After the first blocked launch, click Open Anyway in System Settings → Privacy & Security.

Full guide

What if the app is damaged or the disk image is corrupted?

"App is damaged and can't be opened" comes from quarantine flags; clear them with xattr -cr on the app. A corrupted DMG usually means an interrupted download.

Full guide

What is Rosetta 2 and how do I install it?

Rosetta 2 lets Apple Silicon Macs run Intel apps. Install it with softwareupdate --install-rosetta in Terminal.

Full guide

Why can't I install this app on an Intel Mac?

Some releases are Apple-Silicon-only and will not install on Intel due to architecture mismatch. Use a universal build or an Intel-matched release.

Full guide

How to fix Adobe app installation errors?

Most Adobe install failures on Apple Silicon come from a missing Rosetta 2 or a stuck Creative Cloud helper. Install Rosetta, quit CCXProcess in Activity Monitor and run the installer again.

Full guide

What to use instead of Launchpad on macOS 26?

macOS 26 replaced Launchpad with the Apps view in Spotlight. Use Spotlight, the Apps view or a third-party launcher to find and open apps.

Full guide

Leave a comment

Comments are reviewed before they appear. Your email address is not published.