Text to hash
CRC-32 checksum

About the CRC-32 Checksum Generator

What is a CRC-32 checksum?

CRC-32 is a checksum, not a cryptographic hash. It produces a 32-bit value, written as 8 hexadecimal characters, that is extremely fast to compute and excellent at catching accidental changes to data. It is the checksum built into the ZIP and gzip formats, PNG images, Ethernet frames and much more.

Because it is designed for error detection rather than security, CRC-32 makes no attempt to resist a deliberate attacker: it is easy to modify data while keeping the same CRC, so never use it for integrity in a security sense. What it does superbly is flag corruption from a bad disk, a dropped network packet or a truncated download. This tool uses the standard IEEE polynomial, so its output matches PHP's crc32(), ZIP archives and command-line tools, and it runs entirely in your browser.

How to Use This Tool

  1. Enter your input. Type or paste text on the Text tab, or switch to the File tab and drop in a file. The CRC-32 checksum appears instantly.
  2. Choose the output. The result is shown as the standard 8-character hexadecimal value.
  3. Verify a checksum. Paste a hash you were given into the compare box and the tool tells you instantly whether it matches.
  4. Copy the result. One click copies the CRC-32 checksum to your clipboard.

Common Use Cases

  • Archive and file integrity: ZIP and gzip store a CRC-32 per entry; reproduce it to check an extracted file.
  • Matching PHP crc32(): get the exact value PHP's crc32 function returns for a given string.
  • Detecting corruption: a fast way to notice that data changed in transit or on disk.
  • Short deterministic IDs: a compact fingerprint when cryptographic strength is not needed.

Frequently Asked Questions

Is CRC-32 a secure hash?

No, and it was never meant to be. CRC-32 detects accidental errors extremely well, but anyone can alter data and recompute or preserve the CRC, so it provides no protection against deliberate tampering. For security use SHA-256 or another cryptographic hash.

Does this match PHP's crc32() function?

Yes. This tool uses the standard IEEE 802.3 polynomial, the same one PHP's crc32(), ZIP archives and most tools use, so the 8-character hex result matches. Note that PHP's crc32() returns a signed integer on 32-bit builds; the unsigned hex value shown here is the canonical form.

How long is a CRC-32 checksum?

CRC-32 is 32 bits, written as 8 hexadecimal characters. The classic check value for the string "123456789" is cbf43926, which is a handy way to confirm any CRC-32 implementation.

Why do ZIP files use CRC-32?

ZIP stores a CRC-32 for each file so the archiver can verify that extraction produced the original bytes. It is fast and reliable for catching corruption, which is exactly what an archive format needs, and security is handled separately by encryption if required.

Can two different inputs share a CRC-32?

Yes, easily; with only about four billion possible values, collisions are expected for large numbers of inputs, and they can be constructed deliberately. That is fine for error detection but another reason CRC-32 is not a security tool.

Can I checksum a file with this?

Yes. Switch to the File tab and drop in any file. It is read locally in your browser and produces the same CRC-32 that a ZIP tool or command-line utility would.