About the CRC32 Checksum Calculator
CRC-32 checksums detect accidental corruption in ZIP archives, PNG images, gzip files, network packets and file transfers. This calculator computes the CRC-32 of text as you type or of any file you choose, in hexadecimal and decimal, alongside the Adler-32 checksum: the text hello gives 3610a686. Paste an expected value to check a file instantly. CRC is designed to catch accidental errors, not deliberate tampering, so use a cryptographic hash such as SHA-256 when security matters.
CRC stands for cyclic redundancy check. It is designed to catch the errors that happen in storage and transmission, such as flipped bits and burst errors, and it is very fast to compute. That makes it ideal for checking that a copy is intact, matching files quickly or verifying values listed in a ZIP file or a game modding tool.
CRC-32 is not a cryptographic hash: it is easy to create different data with the same checksum on purpose, so it must not be used to protect against tampering. For security, use SHA-256. This tool uses the standard IEEE 802.3 polynomial, the one in ZIP and PNG, and calculates everything in your browser without uploading anything.
For cryptographic hashes, use the SHA-256 generator or the MD5 generator. To compare two texts directly, try the text diff tool, and for number conversions, the hex to decimal converter.
How to use the CRC32 Checksum Calculator
- Choose the inputPick Text or File.
- Enter the dataType or paste text, or choose a file from your device.
- Read the checksumsCRC-32 is shown in hex and decimal, with Adler-32 below.
- ComparePaste a known CRC-32 to check whether it matches.
CRC32 Checksum Calculator features
- CRC-32 (IEEE 802.3, as in ZIP and PNG)
- Adler-32 (as in zlib)
- Hex and decimal output
- Text or file input
- Compare with a known value
- Live update as you type
- Fast, even for large files
- Nothing is uploaded
Common uses
- Verifying file copies and transfers
- Checking values listed in ZIP archives
- Debugging PNG chunk checksums
- Matching files in modding and emulation tools
- Learning how error-detecting codes work
CRC-32 in practice: the standard check value, broken ZIP downloads, byte order, cloud storage variants and matching many files
CRC-32 is the quiet workhorse of error detection, checking ZIP archives, PNG images, network frames and countless file transfers. It is fast and good at catching accidental damage, and it is also easy to misread when comparing values from different tools. This guide shows how to confirm that two tools use the same variant, explains what a CRC error in an archive means, and covers byte order, leading zeros, cloud storage checksums and the limits of 32 bits when matching large numbers of files.
A worked example: the standard check value
Every CRC variant has a published check value: the result for the nine characters 123456789. For the standard CRC-32 used by ZIP and PNG, it is CBF43926. The text hello gives 3610A686, and Hello with a capital gives F7D18982. If another program or library gives CBF43926 for the check string, it uses the same variant as this tool, and any other differences come from the input rather than the algorithm.
CRC errors in ZIP files
ZIP archives store the CRC-32 of every file they contain. When an extraction tool reports a CRC error, the data it unpacked does not match the stored value, which almost always means the archive was damaged or only partly downloaded. Interrupted downloads on unstable connections are a common cause. Testing the archive first, using the test option in 7-Zip or unzip -t on Linux, and downloading it again if the test fails, is usually the whole fix.
Damaged images
PNG files store a CRC for each internal chunk of data. A PNG that fails to open with a message about a CRC or a bad chunk has been altered or truncated, often by an incomplete transfer or a faulty storage card. Recovering an earlier copy is more reliable than trying to repair the file.
Leading zeros
A CRC-32 is a 32-bit number, written as exactly eight hexadecimal digits. Some programs drop leading zeros, displaying 0A1B2C3D as A1B2C3D. When comparing values from different tools, pad both to eight digits first, otherwise matching checksums appear to differ.
Byte order
CRC values are sometimes shown in reverse byte order. ZIP headers, for example, store the number with its least significant byte first, so a hex viewer shows 3610A686 as the bytes 86 A6 10 36. If two values contain the same pairs of characters in opposite order, they are the same checksum read in different byte orders, not a mismatch.
Cloud storage and other variants
Not every system uses the same polynomial. Google Cloud Storage reports CRC32C, a different variant also used in some file systems and storage protocols, and often displays it in Base64. Its values will never match standard CRC-32 for the same file. Check which variant a system uses before comparing, and use its own documented tools when verifying uploads there.
Matching many files
CRC-32 has about 4.3 billion possible values. With a handful of files, an accidental match is extremely unlikely, but by the birthday effect a collection of around 77,000 files has roughly an even chance of containing two different files with the same CRC-32. For identifying duplicates across large collections, use CRC-32 only as a quick first filter and confirm matches with a longer hash.
Speed
Many processors calculate CRC values in hardware, which is one reason the algorithm is used so widely in networks, disks and archives. When you need to check thousands of files quickly against accidental corruption, it is hard to beat. When tampering is possible, its speed and simplicity are exactly what make it unsuitable.
Common mistakes
- Comparing values without padding them to eight hex digits.
- Mistaking reversed byte order for a different checksum.
- Comparing CRC32C values from cloud storage with standard CRC-32.
- Relying on CRC-32 alone to find duplicates in very large collections.
Related tools
To compare several hash algorithms, use Hash Generator. For a longer legacy hash, try SHA1 Generator, and to convert the decimal form to hexadecimal, Decimal to Hex Converter.
Checking files on your computer
On Windows, 7-Zip adds a CRC SHA entry to the right-click menu that shows a file's CRC-32 without opening any program. In Python, zlib.crc32(data) returns the value as a number, and format(value, '08x') writes it as eight hexadecimal digits with leading zeros. Comparing either with this tool for a small sample confirms they agree.
Large files and streams
A CRC can be calculated piece by piece, passing the result so far into the calculation for the next chunk. This means very large files and data streams can be checked without loading everything into memory at once. Python's zlib.crc32 accepts the previous value as a second argument for exactly this purpose.
Spotting changed files quickly
Storing the CRC-32 of configuration files, cached downloads or generated reports lets a script tell instantly whether they have changed since the last run, without comparing entire contents. For files only you and your own systems write, this is fast and dependable. Where someone else could alter files deliberately, use a cryptographic hash instead.
Privacy
Checksums are calculated in your browser. Text and files are processed on your device and never uploaded.
Frequently asked questions
What is a CRC32 checksum?
A 32-bit value calculated from data using a cyclic redundancy check. Any accidental change to the data, such as a flipped bit during transfer, almost certainly changes the checksum, so matching CRC values show a copy is intact.
Which CRC-32 variant does this tool use?
The standard IEEE 802.3 CRC-32 with the polynomial 0x04C11DB7 in reflected form, as used by ZIP, PNG, gzip and Ethernet. Other variants, such as CRC-32C used by iSCSI, give different values.
Is CRC32 secure?
No. It detects accidental errors very well, but anyone can deliberately create data with a chosen CRC. Use SHA-256 or another cryptographic hash when you need protection against tampering.
What is Adler-32?
Another fast 32-bit checksum, used by the zlib compression format. It is quicker than CRC-32 but slightly weaker at detecting errors in short data. It is shown here because many tools report both.
Why is the decimal value so large?
The checksum is a 32-bit number between 0 and 4,294,967,295. The decimal form is the same value as the hex, which some programs display instead, and it is always shown here as an unsigned number.
How large a file can I check?
Files of several hundred megabytes work in most browsers, limited only by your device's memory. The file is read on your device and processed in one pass.
Is my data uploaded?
No. Everything is calculated by code running in this page on your own device. Your text, files and keys are never uploaded, stored or logged, so it is safe to use with private data.
Where are CRC32 checksums used?
Everywhere data is stored or sent: ZIP and gzip archives store a CRC-32 for every file, PNG images protect each chunk with one, Ethernet frames carry one, and many download sites and game mod managers list CRC values to check files.
Can two different files have the same CRC32?
Yes. With only about four billion possible values, different data will sometimes share a checksum, and collisions can also be made on purpose. For a stronger comparison of files, check a SHA-256 hash as well.