Are there any gratis tools to help me compare the differences between two source code files? (for Python, and C++)on Windows 10?

  • Do you mean morse code? If not, please explain in greater detail 1) What kind of code 2) On what operating system. Thanks! – Nicolas Raoul May 15 at 1:32
  • @NicolasRaoulN,sorry, I am first to ask question in the community and I am not good at English grammar. – Andy May 15 at 3:35
  • Should it be gratis? If yes, please edit your question to say it. Thanks! – Nicolas Raoul May 15 at 4:27
  • What do you mean by "similarities"? Code changes (i.e. you're looking for a diff tool like WinDiff or Meld), coding style, used algorithms/components, …? – Izzy May 15 at 5:28

From my answer to this question - two days ago HINT: you can search our site for questions similar to the one that you plan to ask.

I don’t think that you will get a better open source application than WinMerge (although it would do no harm to look at Kdiff3.

Neither of them will handle your int i; for (i ...) -> for (int i ...) example, but they are open source, so you might give it a try, or request the feature from the author.

enter image description here

• Supports Microsoft Windows XP or newer
• Handles Windows, Unix and Mac text file formats
• Unicode support
• Tabbed interface

File Compare
• 3-way File Comparison New!
• Visual differencing and merging of text files
• Flexible editor with syntax highlighting, line numbers and word-wrap
• Highlights differences inside lines <= ============================================
• Difference pane shows current difference in two vertical panes
• Location pane shows map of files compared
• Moved lines detection

Folder Compare
• Regular Expression based file filters allow excluding and including items
• Fast compare using file sizes and dates
• Compares one folder or includes all subfolders
• Can show folder compare results in a tree-style view
• 3-way Folder Comparison Work in progress

Image Compare New!
• Support many types of images
• Can highlight the differences with blocks
• Overlaying of the pictures is possible
Version Control
• Creates patch files (Normal-, Context- and Unified formats)
• Resolve conflict files

• Shell Integration (supports 64-bit Windows versions)
• Archive file support using 7-Zip
• Plugin support
• Localizable interface
• Online manual and installed HTML Help manual

  • 1
    Happy user of KDiff here (well, I'd be happier on a Linux workstation but ...) glad to see it mentioned – ivanivan May 15 at 16:53
  • Kidiff - it's not just for Linux any more :-) – Mawg May 15 at 20:01

CudaText editor is gratis. It has plugin "Differ", it can be installed from "Plugins - Addon Manager - Install". To call plugin, use "Plugins - Differ" menu.

Differ plugin in action

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.