Tkdiff


title: "Tkdiff" type: doc version: 1 created: 2026-02-28 author: "Wikipedia contributors" status: active scope: public tags: ["free-file-comparison-tools"] topic_path: "general/free-file-comparison-tools" source: "https://en.wikipedia.org/wiki/Tkdiff" license: "CC BY-SA 4.0" wikipedia_page_id: 0 wikipedia_revision_id: 0

::figure[src="https://upload.wikimedia.org/wikipedia/commons/b/bc/Tkdiff_screenshot.png" caption="tkdiff uses colors to suggest differences between files and within shared lines."] ::

tkdiff is a graphical diff viewer based on the Tk framework. It is capable of inter-operating with source-control systems like CVS and Subversion to show the differences between the local copy and the repository version. Such a line-by-line comparison is often considered to be good software engineering practice before committing code changes.

Tkdiff highlight specific differences within a line shared by both files, rather than simply indicating that the whole line differs.

Example usage

  • tkdiff — to compare the two files and
  • tkdiff — to compare the local version of the given file to the most recent version in the CVS/Subversion repository

tkdiff can also compare two older revisions of a file, etc.

References

References

  1. [https://sourceforge.net/projects/tkdiff/ tkdiff home page]
  2. [http://linux.math.tifr.res.in/manuals/man/tkdiff.html tkdiff manual page]

::callout[type=info title="Wikipedia Source"] This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page. ::

free-file-comparison-tools