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.[1]
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.[2]
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.[2]
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.[3]
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.[1]
Substitution scope
KDiff3 can replace 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.[1][2][3][4][5]
Capabilities & limitations
Folder-merge simulation
supported
Can list proposed operations before a complete folder merge.[3]
File comparison and merging · Linux, Windows, macOS · Platform, edition and remote-storage requirements apply