mustafa
mustafa

Reputation: 3905

Tool for comparing 2 binary files in Windows

I need a tool to compare 2 binaries. The files are quite large. Some freeware or trial tools I found on the Internet are not convenient to use for large files. Can you recommend me some tools?

Upvotes: 215

Views: 469765

Answers (6)

Boris Ivanov
Boris Ivanov

Reputation: 4254

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

Upvotes: 21

Mike Woinoski
Mike Woinoski

Reputation: 3482

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

Upvotes: 277

Dimitry K
Dimitry K

Reputation: 2356

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.

Upvotes: 27

Vladi
Vladi

Reputation: 514

In Cygwin:

$cmp -bl <file1> <file2>

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

Upvotes: 13

BobC
BobC

Reputation: 2078

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

Upvotes: 17

Related Questions