# KDiff3

KDiff3 file\-comparison software with documented merge workflows and compatibility limits\.

ID: Q695 · Revision: 743

Type: software · License: GPL\-2\.0\-or\-later[^kd-home] · Status: active

Website: https://apps.kde.org/kdiff3/



KDiff3 is KDE's file and folder comparison and merge tool\. It accepts two or three text inputs, highlights differences at line and character level and supplies an editor for resolving conflicts\. It also supports directory reconciliation and network access through KIO, with platform packaging available for Linux, Windows and macOS\.[^kd-home]

## Comparison transformations

KDiff3 distinguishes a normal preprocessor from a line\-matching preprocessor\. The normal preprocessor changes the text used for display and merging, while the line\-matching stage changes the representation used to align lines\. This provides flexible filtering but means a transformed comparison may no longer show the original input literally\. External preprocessing programs are dependencies of the saved workflow\.[^kd-preprocess]

## Hidden differences

The handbook warns that preprocessing can hide meaningful differences or damage important data if misapplied\. It warns during merging when a normal preprocessor is active, but not for the line\-matching preprocessor\. Hidden whitespace differences can also leave unresolved conflicts\. A reassuring\-looking diff should therefore be interpreted together with its active processing and visibility settings\.[^kd-preprocess]

## Folder merge destinations

Without an explicit output directory, the documented destination defaults to C in a three\-folder merge or B in a two\-folder merge; synchronization can affect either input\. Filters, hidden\-file options and recursion determine which entries participate\. When writing to a new folder, identical files also need inclusion\. The simulation option displays proposed operations without applying them\.[^kd-folder]

## Availability and licensing

The KDE application page lists GPL version 2 or later and provides platform\-specific download routes\. It distinguishes release builds from nightly installers intended for testing\. Its Unicode and encoding support concerns textual comparison, while the documented feature set does not establish a specialized pixel\-difference viewer or editable merging of arbitrary binary documents\.[^kd-home]

## Substitution scope

KDiff3 can replace [Meld](/meld) for two\- or three\-way text comparison, conflict editing and directory reconciliation\. Its preprocessing model and default folder destinations differ from Meld's filters and copy/delete workflow\. It can therefore cover the same broad task without reproducing the same visual alignment or safety defaults; an existing comparison setup needs explicit translation\.[^kd-home][^kd-folder][^kd-preprocess][^meld-home][^meld-filter]

## Capabilities and substitutions

### Folder\-merge simulation — supported

Can list proposed operations before a complete folder merge\.[^kd-folder]

Use case: File comparison and merging · Platforms: Linux, Windows, macOS · Region: Platform, edition and remote\-storage requirements apply

### Preprocessing preserves original merge text — limited

Normal preprocessing changes the text used for merging; line\-matching preprocessing has a different scope\.[^kd-preprocess]

Use case: File comparison and merging · Platforms: Linux, Windows, macOS · Region: Platform, edition and remote\-storage requirements apply

### [Substitute for Meld](/meld) — limited

Covers two/three\-input text and directory workflows with different filtering and destination rules\.[^kd-home][^kd-folder][^meld-home]

Use case: Text conflict resolution and folder reconciliation · Platforms: Linux, Windows, macOS · Region: Platform, edition and remote\-storage requirements apply

## References

[^kd-home]: [KDiff3 KDE application page](<https://apps.kde.org/kdiff3/>) — Two/three\-way text and folder comparison, platforms and GPL2\+ (vendor; retrieved 2026-10-07T01:17:24Z)

[^kd-preprocess]: [KDiff3 preprocessing](<https://docs.kde.org/stable_kf6/en/kdiff3/kdiff3/preprocessors.html>) — Normal versus line\-matching preprocessing; hidden difference warnings (vendor; retrieved 2026-10-07T01:17:24Z)

[^kd-folder]: [KDiff3 folder merge](<https://docs.kde.org/stable_kf6/en/kdiff3/kdiff3/dothemerge.html>) — Default destinations, filters, identical files and simulation (vendor; retrieved 2026-10-07T01:17:24Z)

[^meld-home]: [Meld overview](<https://meldmerge.org/>) — Text and directory comparison, platforms, updater limits and GPL2\+ (vendor; retrieved 2026-10-07T01:17:24Z)

[^meld-filter]: [Meld text filters](<https://meldmerge.org/help/text-filters.html>) — Ordered regex filters and line\-removal limitation (vendor; retrieved 2026-10-07T01:17:24Z)

Source revision: https://substitutefor.net/entities/Q695?revision=743
