CRC32 Hash Calculator

hash

All hashing runs in your browser. Data is never sent to any server.

Text Input

File Input

📁

Drag & drop a file or click to select

1. How to Use

  1. Enter text or upload a file (e.g., ZIP, PNG) to compute CRC32 checksum.
  2. Click 'Generate CRC32' for the 8-character hex result.
  3. Compare CRC32 with expected checksum for file verification.
  4. Use for ZIP file CRC check or PNG chunk validation.
  5. File upload supported for integrity checking.

2. How It Works

CRC32 is a cyclic redundancy check using polynomial division over GF(2). The polynomial is typically x³²+x²⁶+x²³+x²²+x¹⁶+x¹²+x¹¹+x¹⁰+x⁸+x⁷+x⁵+x⁴+x²+x+1 (0xEDB88320 reversed).

Process: Initialize register to 0xFFFFFFFF. For each byte, XOR with register, then for 8 bits: if LSB=1, register = (register>>1) XOR polynomial; else register >>= 1. Final: register XOR 0xFFFFFFFF.

Logic: CRC(M) = (M(x)·x³²) mod P(x), where P is the CRC-32 polynomial. The quotient is discarded; remainder is the checksum.

Not cryptographic: CRC32 is for error detection (e.g., transmission errors); collisions are easy to find.

3. About CRC32

CRC32 is a 32-bit non-cryptographic checksum used in ZIP, PNG, and Git. It detects accidental errors, not malicious tampering.

This CRC32 checksum calculator computes CRC32 for text and files. Fast and widely supported across formats and tools.

All computation runs locally in your browser.

4. Advantages

  • Fast: Very efficient for large files.
  • Wide support: ZIP, PNG, Ethernet, and many protocols use CRC32.
  • Error detection: Catches burst errors and accidental corruption.
  • Simple: Easy to implement and verify.

5. Real-World Use Cases

  • ZIP file verification: Check CRC32 of compressed files.
  • PNG integrity: PNG chunks store CRC32 for validation.
  • Git: Git uses CRC32 in pack files.
  • Network protocols: Ethernet, Gzip, and others use CRC checksums.