CRC32 Checksum Calculator
Calculate the CRC-32 checksum used by zip, gzip and PNG, or CRC-32C, as hex, decimal or Base64.
A fast check for accidental corruption.
A cyclic redundancy check (CRC) treats the data as one long binary number and divides it by a fixed polynomial. The 32-bit remainder is the checksum. CRC-32 is good at catching flipped bits and burst errors, which is why zip, gzip, PNG and Ethernet use it.
CRC-32C (Castagnoli) uses a different polynomial that detects errors better and has its own CPU instruction. iSCSI, ext4, Btrfs, Amazon S3 and Google Cloud Storage use it. Neither one is a security hash: anyone can craft data with any CRC they like, so use SHA-256 when you need to detect tampering.
Frequently asked
Is CRC32 a secure hash?
What is the difference between CRC-32 and CRC-32C?
Why does my CRC look different in another tool?
zlib.crc32() and PHP's crc32() return) and Base64 (how S3 and Google Cloud Storage send it). Also check the variant: PHP's hash('crc32') is the bzip2 CRC, and the standard one is hash('crc32b').