ZapKit

Compare files

Find out instantly whether two files are exactly the same, such as two downloads, two backups or two versions, and if not, where they differ.

What is a file comparison tool?

A file comparison tool checks two files against each other to see whether their contents match. It's used to confirm a copy or download is intact, to tell which of two backups is newer, to check whether a document changed, and to find where a file was corrupted.

Choose two files to get a clear identical or different verdict, both SHA-256 fingerprints, both sizes, the offset of the first difference and the number of differing bytes. Text files show a line diff; other files show a side-by-side hex view around the first change.

How to use the Compare files

  1. 1.Choose file A and file B

    Any types, up to 1 GB each.

  2. 2.Read the verdict

    Identical, or different, with the first changed byte.

  3. 3.Look at the changes

    Text files show changed lines; others show bytes around the difference.

Example: two copies of a config file

settings.json from two servers, both 2,140 bytes:

Verdict
different
First difference
byte 1,021
Text changes
+1 / −1 line: "timeout": 30 vs 60

You see at once that only the timeout setting differs between the servers.

Byte for byte

Each file's SHA-256 fingerprint is calculated; identical fingerprints mean identical contents, whatever the files are called or when they were saved. For same-sized files, every differing byte is counted.

Text files under 5 MB, such as code, CSV, configuration and logs, also get a line-by-line diff with added lines in green and removed lines in red, while long unchanged stretches are collapsed.

Frequently asked questions

Two files have different names and dates. Can they still be identical?

Yes. Only the contents are compared.

Why is the byte count "Sizes differ"?

When lengths differ, everything after an insertion shifts, so a byte count isn't meaningful.

Can it compare Word documents?

It tells you if they're identical; for wording changes, compare the text in the text diff tool.

Are my files uploaded?

No. Both stay on your device.

More Files tools

Organise files