What is CRC32?
CRC32 is a 32-bit cyclic redundancy check (8 hex characters): a polynomial remainder that catches accidental corruption such as flipped bits and truncated transfers. Anyone can forge data with a chosen CRC32, so it never proves authenticity.
Compare the value with the CRC column of a ZIP listing (unzip -v) or a protocol log; there are other CRC-32 variants (CRC-32C in iSCSI and ext4), which the hash tool also lists.
This page opens the hash generator with CRC32 on top and highlighted. The text is encoded as UTF-8 and hashed in your browser as you type; nothing is sent anywhere.
CRC32 at a glance
| CRC32 | |
|---|---|
| Digest size | 32 bits (8 hex characters) |
| Standard | IEEE 802.3 (Ethernet) |
| Secure against attackers | no: it is an error-detecting code, not a cryptographic hash |
| Where it is used | ZIP, gzip and PNG chunks, Ethernet frames, quick change detection |
| Good for passwords | no: use bcrypt or Argon2 |
How to calculate a CRC32
- Type or paste the text in the input box.
- Read the CRC32 row, at the top of the list; it updates as you type.
- To check a known CRC32, paste it in the comparison field: the matching row lights up.
Example
CRC32 of three inputs, computed by the same code as the tool:
| Input | CRC32 (hex) |
|---|---|
hello world | 0d4a1185 |
| (empty text) | 00000000 |
stdlib.tools | c652c9d0 |
A single invisible line break changes everything: hello world followed by a newline (what echo prints) gives af083b2d. When your value does not match, check trailing spaces and line breaks first.
CRC32 in code
Python
import zlib
format(zlib.crc32(b"hello world"), "08x")Node.js 22+
import { crc32 } from 'node:zlib';
crc32('hello world').toString(16).padStart(8, '0');Go
fmt.Printf("%08x\n", crc32.ChecksumIEEE([]byte("hello world")))Frequently asked questions
Is CRC32 still secure?
No: it is an error-detecting code, not a cryptographic hash. Typical uses today: ZIP, gzip and PNG chunks, Ethernet frames, quick change detection.
How long is a CRC32 hash?
32 bits: 8 hexadecimal characters, or 8 characters in Base64 (with padding), such as DUoRhQ== for hello world.
Why does my CRC32 differ from another tool?
The input differs: a trailing newline, spaces or another text encoding (UTF-8 here). Hex is case-insensitive.