Tool for comparing 2 binary files in Windows [clos

2019-01-10 05:41发布

问题:

I need a tool for comparing 2 binary files. The files are quite big. Some freeware or trial tools I found on internet are not convenient to use for big files. Can you recommend me any tools?

回答1:

A few possibilities:

  • VBinDiff (binary diff, designed for large files)
  • WinDiff
  • bsdiff
  • HexCmp

See also: Binary diff tool for very large files?



回答2:

If you want to find out only whether or not the files are identical, you can use the Windows fc command in binary mode:

fc.exe /b file1 file2

For details, see the reference for fc



回答3:

Total Commander also has a binary compare option: go to: File \\Compare by content

ps. I guess some people may alredy be using this tool and may not be aware of the built-in feature.



回答4:

My favorite "swiss knife" Beyond Compare from http://www.scootersoftware.com/



回答5:

In Cygwin:

$cmp -bl <file1> <file2>

diffs binary offsets and values are in decimal and octal respectively.. Vladi.



回答6:

I prefer to use objcopy to convert to hex, then use diff.



回答7:

I think hexcmp is instant & easy to use

It is a gui app compared to those command-line, very easy to use yet quite powerful feature-wise. It should be useful for beginners & passing users.

HexCmp HexCmp is a visual binary file compare application and easy-to-use hex editor. It can help you to compare two files as a binary raw quickly and easily. ($29.95)



回答8:

When beeing outside, the "DiffTool" from Googles Play Store can be used too. DiffTool compares text files, binary files and folders if the files are not to extremely large.