{"schemaVersion":"1.0","record":{"label":"KDiff3","description":"KDiff3 file-comparison software with documented merge workflows and compatibility limits.","aliases":[],"kind":"software","website":"https://apps.kde.org/kdiff3/","overview":"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.","license":"GPL-2.0-or-later","lifecycle":"active","example":false,"features":[{"name":"Folder-merge simulation","status":"supported","detail":"Can list proposed operations before a complete folder merge.","useCase":"File comparison and merging","platforms":["Linux","Windows","macOS"],"region":"Platform, edition and remote-storage requirements apply","evidence":[{"url":"https://docs.kde.org/stable_kf6/en/kdiff3/kdiff3/dothemerge.html","locator":"Default destinations, filters, identical files and simulation","retrievedAt":"2026-10-07T01:17:24Z","kind":"vendor"}]},{"name":"Preprocessing preserves original merge text","status":"limited","detail":"Normal preprocessing changes the text used for merging; line-matching preprocessing has a different scope.","useCase":"File comparison and merging","platforms":["Linux","Windows","macOS"],"region":"Platform, edition and remote-storage requirements apply","evidence":[{"url":"https://docs.kde.org/stable_kf6/en/kdiff3/kdiff3/preprocessors.html","locator":"Normal versus line-matching preprocessing; hidden difference warnings","retrievedAt":"2026-10-07T01:17:24Z","kind":"vendor"}]}],"alternatives":[],"slug":"kdiff3","draftAlternatives":[{"targetSlug":"meld","status":"limited","detail":"Covers two/three-input text and directory workflows with different filtering and destination rules.","useCase":"Text conflict resolution and folder reconciliation","platforms":["Linux","Windows","macOS"],"region":"Platform, edition and remote-storage requirements apply","evidence":[{"url":"https://apps.kde.org/kdiff3/","locator":"Two/three-way text and folder comparison, platforms and GPL2+","retrievedAt":"2026-10-07T01:17:24Z","kind":"vendor"},{"url":"https://docs.kde.org/stable_kf6/en/kdiff3/kdiff3/dothemerge.html","locator":"Default destinations, filters, identical files and simulation","retrievedAt":"2026-10-07T01:17:24Z","kind":"vendor"},{"url":"https://meldmerge.org/","locator":"Text and directory comparison, platforms, updater limits and GPL2+","retrievedAt":"2026-10-07T01:17:24Z","kind":"vendor"}]}],"evidence":[{"url":"https://apps.kde.org/kdiff3/","locator":"Two/three-way text and folder comparison, platforms and GPL2+","retrievedAt":"2026-10-07T01:17:24Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://apps.kde.org/kdiff3/","locator":"Two/three-way text and folder comparison, platforms and GPL2+","retrievedAt":"2026-10-07T01:17:24Z","id":"kd-home","title":"KDiff3 KDE application page","kind":"vendor"},{"url":"https://docs.kde.org/stable_kf6/en/kdiff3/kdiff3/preprocessors.html","locator":"Normal versus line-matching preprocessing; hidden difference warnings","retrievedAt":"2026-10-07T01:17:24Z","id":"kd-preprocess","title":"KDiff3 preprocessing","kind":"vendor"},{"url":"https://docs.kde.org/stable_kf6/en/kdiff3/kdiff3/dothemerge.html","locator":"Default destinations, filters, identical files and simulation","retrievedAt":"2026-10-07T01:17:24Z","id":"kd-folder","title":"KDiff3 folder merge","kind":"vendor"},{"url":"https://meldmerge.org/","locator":"Text and directory comparison, platforms, updater limits and GPL2+","retrievedAt":"2026-10-07T01:17:24Z","id":"meld-home","title":"Meld overview","kind":"vendor"},{"url":"https://meldmerge.org/help/text-filters.html","locator":"Ordered regex filters and line-removal limitation","retrievedAt":"2026-10-07T01:17:24Z","id":"meld-filter","title":"Meld text filters","kind":"vendor"}],"overviewCitations":["kd-home"],"licenseCitations":["kd-home"],"sections":[{"id":"preprocessing","heading":"Comparison transformations","paragraphs":[{"id":"preprocessing-detail","content":[{"text":"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."}],"citations":["kd-preprocess"]}]},{"id":"filters","heading":"Hidden differences","paragraphs":[{"id":"filters-detail","content":[{"text":"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."}],"citations":["kd-preprocess"]}]},{"id":"folders","heading":"Folder merge destinations","paragraphs":[{"id":"folders-detail","content":[{"text":"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."}],"citations":["kd-folder"]}]},{"id":"availability","heading":"Availability and licensing","paragraphs":[{"id":"availability-detail","content":[{"text":"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."}],"citations":["kd-home"]}]},{"id":"comparison","heading":"Substitution scope","paragraphs":[{"id":"comparison-detail","content":[{"text":"KDiff3 can replace "},{"text":"Meld","targetSlug":"meld"},{"text":" 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."}],"citations":["kd-home","kd-folder","kd-preprocess","meld-home","meld-filter"]}]}]},"id":"Q695","revision":743,"updatedAt":"2026-10-13T03:36:37Z","sourceUrl":"https://substitutefor.net/entities/Q695?revision=743"}}