- Home
- Tools
- Developer Tools
- Hash Generator
- CRC-32 Checksum Calculator
CRC-32 Checksum Calculator
Get the CRC-32 of a text or a file: the checksum that zip, gzip and PNG use, as eight hexadecimal characters. Calculated in your browser.
0 bytes as UTF-8
Result
CRC-32
–
CRC-32 in short
CRC-32 is a checksum of 32 bits, written as 8 hexadecimal characters. It is not a cryptographic hash. It was made to catch the damage that happens by accident on a cable or a disk, and it is cheap enough to compute for everything that passes through.
| Length | 32 bits (4 bytes) |
|---|---|
| Written as hex | 8 characters |
| Written as Base64 | 8 characters |
| Of nothing at all (the empty text) | 00000000 |
| Of the word hello | 3610a686 |
Where it is used
Every file in a zip archive carries its CRC-32, and so do gzip files and each chunk of a PNG image. Ethernet frames end with one. When an archive program reports a "CRC error", this is the number that did not match.
This page calculates that same variant: the CRC-32 of the text 123456789 is cbf43926, the standard check value. There are others. The Unix command cksum uses a different CRC-32 and prints it as a decimal number, and CRC-32C, found in iSCSI and several file systems, has another polynomial. When your result doesn't match, find out which variant the other side means.
What it can and can't tell you
It always notices a single flipped bit, and any stretch of damage up to 32 bits long. Other changes slip through once in about 4.3 billion times.
It says nothing about tampering. Anyone can change a file and then adjust four bytes so that the CRC-32 comes out the same. And 32 bits leave plenty of room for coincidence: among about 77,000 different files, the odds are even that two of them share a CRC-32. To recognise files, use SHA-256.
The hash generator shows MD5, SHA-1, SHA-256, SHA-384, SHA-512 and CRC-32 of the same input next to each other.