CRC32 Checksum Calculator

CRC32 (hex)—
CRC32 (decimal)—
Characters—

How CRC32 Checksum Calculator is calculated: CRC32: start with 0xFFFFFFFF, process each byte through the 256-entry table with the polynomial 0xEDB88320, then invert the result.

What is a CRC32 checksum calculator?

A CRC32 checksum calculator computes the CRC32 checksum of a piece of text — a 32-bit number, shown as 8 hex digits, that summarises the content. The classic test string "123456789" has the CRC32 CBF43926, which is 3421780262 in decimal. Change one character and the checksum changes completely.

Checksums detect accidental change. A file copied over a network, a message stored on a disk, or a download from a server can all pick up a flipped bit, and the checksum catches it: compute the checksum before and after, and a mismatch means the data changed. CRC32 is the checksum of ZIP files, PNG images, and Ethernet frames, which is why it is everywhere.

CRC32 detects accidents, not attacks. It is not a hash for security — an attacker can craft a file with any CRC32 they want. For detecting tampering, use a cryptographic hash instead. For detecting a corrupted download, CRC32 is the right tool, and the fastest one.

How CRC32 works

CRC32 treats the input as a long binary number and divides it by a fixed polynomial, keeping the remainder. The polynomial is 0xEDB88320, the reversed form of the standard CRC-32 polynomial. The division is done one byte at a time through a 256-entry table, which is why the computation is fast even for long inputs.

The process starts with the value 0xFFFFFFFF — all 32 bits set. Each byte of the input is XORed with the low byte of the current value, the table gives the next value, and the result is shifted. At the end, the value is inverted, which is the final XOR with 0xFFFFFFFF. The inversion is what makes the checksum of an empty string 00000000 rather than FFFFFFFF.

The output is 8 hex digits, padded with leading zeros: the default input "123456789" gives CBF43926, and the decimal form is 3421780262. Hex is the usual way to write a checksum, and a hex text converter converts any text to and from hexadecimal. The text is encoded as UTF-8 before checksumming, so a non-English character contributes its UTF-8 bytes, not a single byte. An ASCII converter shows the byte value of each character, which is the input the checksum runs over.

The table is the heart of the implementation, and it is built from the polynomial before any text is checksummed. The polynomial for CRC32 is 0xEDB88320, which is the reversed form of the standard polynomial, and the table holds 256 entries, one for each possible byte value. Each entry is the result of running that byte through eight steps of the polynomial division, which is the work the table does once so the checksum itself can be fast. The checksum then walks the text byte by byte, looking up the table entry for each byte and folding it into the running value.

The check value, explained

Every CRC has a check value: the checksum of the standard test string "123456789". For CRC32 it is CBF43926, which is the value this tool gives for the default input. The check value is how implementations are verified — if a CRC32 implementation gives anything else for "123456789", it is wrong.

The check value is also a useful habit. When you verify a download, compare the published checksum with the one you compute. If they match, the file arrived intact. If they differ by even one digit, the file is corrupted or incomplete, and it should be downloaded again rather than used.

The empty string has a CRC32 of 00000000, which is the result of the final inversion applied to the starting value. A single character changes it: "a" gives E8B7BE43. That sensitivity is the point — a checksum that did not change when the data changed would be useless.

A worked example: verifying text

Take the default input, "123456789" — 9 characters. The calculator gives the hex checksum CBF43926 and the decimal 3421780262. Those two numbers are the same value in different bases, and either one can be compared with a published checksum.

Change one digit — "123456788" — and the checksum becomes a completely different value. That is the avalanche of a good checksum: a one-bit change in the input changes many bits of the output, so even a small corruption is caught. A checksum that changed only slightly would be easy to miss.

Try a real sentence: "The quick brown fox jumps over the lazy dog" gives a checksum of 414FA339. Paste the same sentence with one letter changed and the checksum changes. That is the workflow for a download: compute the checksum of the file you received, compare it with the one the publisher lists, and trust the file only if they match.

Who uses a CRC32 calculator, and why

Developers are the main users. A ZIP file stores a CRC32 for every entry, a PNG image stores one for every chunk, and a network protocol stores one per frame. When a file fails to open or an image fails to load, the CRC32 is the first thing checked, because it names the corrupted piece.

System administrators are the second group. Backups, transfers, and archives are verified with checksums, and CRC32 is the fastest check for large files. A backup that verifies against its checksums is a backup that can be trusted to restore.

Anyone downloading a file is a third group. A software release lists a checksum next to the download link, and comparing it takes seconds. A hash generator gives the stronger SHA-256 checksum for the same job, when the publisher lists one.

Network engineers are a third group. A protocol that sends data in packets needs a quick check that each packet arrived intact, and CRC32 is that check — it is fast enough to run on every packet, and it catches the errors that a noisy link produces. The calculator is the tool for learning the algorithm: type a short string, see the checksum, change one character, and see how much the checksum changes. The change is large even for a one-character difference, which is the property that makes the checksum useful.

CRC32 vs cryptographic hashes

CRC32 is fast and weak; SHA-256 is slower and strong. CRC32 detects accidental corruption — a flipped bit, a truncated file, a bad sector — and it does so quickly, which is why it is built into file formats. It does not detect deliberate tampering, because an attacker can forge any CRC32 they want.

A cryptographic hash such as SHA-256 detects both. The hash generator on this site computes MD5, SHA-1, SHA-256, and SHA-512, and any of them is the right choice when the question is "was this file tampered with?" CRC32 is the right choice when the question is "did this file arrive intact?"

The two are often used together: a file format stores a CRC32 for speed, and the publisher lists a SHA-256 for security. Use the fast check for routine verification, and the strong check when the stakes are high.

A checksum is not a hash, and the distinction matters when the goal is security. A checksum is designed to detect accidental errors, and it is fast and short. A hash is designed to resist deliberate attack, and it is slower and longer. A CRC32 value is eight hex digits, and a SHA-256 value is sixty-four — the length is the visible sign of the difference. Use the checksum to check a download and the hash to check a signature, and do not use one where the other is needed.

Common CRC32 mistakes

The first mistake is using CRC32 for security. A checksum is not a signature: anyone can compute the CRC32 of a modified file and publish it alongside the file. If the threat is tampering, use a cryptographic hash or an HMAC, not a CRC.

Second: comparing checksums in different formats. A publisher may list the checksum as decimal, hex, or with a 0x prefix. CBF43926 and 3421780262 are the same checksum — check the format before concluding that two values differ.

Third: checksumming the wrong bytes. A text file saved with different line endings — Windows CRLF against Unix LF — has a different checksum, even though the text looks identical. Compare checksums only for files with identical bytes, and check the line endings when a text checksum mismatches.

Fourth: forgetting that CRC32 is 32 bits. Two different files can share a CRC32 by chance, with a probability of about 1 in 4 billion per pair. For a single file the risk is negligible, but for a large archive with millions of files, collisions are expected — which is another reason to use SHA-256 for large-scale verification.

A second mistake is using CRC32 where a cryptographic hash is needed. CRC32 detects accidental changes — a flipped bit, a dropped byte, a truncated file — and it does that well, but it does not detect deliberate tampering, because an attacker who knows the algorithm can change the data and recompute a matching checksum in seconds. The checksum is a check on transmission, not a check on trust. When the question is whether someone tampered with a file, the answer needs SHA-256, and the hash generator on this site computes it.

How to use this CRC32 checksum calculator

Type or paste your text into the box — the default is "123456789", 9 characters, with the checksum CBF43926. The hex and decimal checksums update live in the box below, with the character count above them.

To compare with a published checksum, copy the hex value with the Copy button and compare it digit by digit. A match means the data is intact; a mismatch means it changed, and the file should be downloaded or copied again.

Everything runs in your browser. No sign-up, no account, no data sent anywhere — your text never leaves your device. It works offline once the page has loaded. For a file rather than pasted text, use the file hash checker, which hashes an uploaded file in the browser.

Type or paste the text and the checksum appears at once, in both hex and decimal. The hex form is the one to compare with a published value, and the decimal form is the one a program that stores the checksum as a number will expect. To verify a file, paste its contents — or hash the file itself with the file hash checker — and compare the result with the checksum the publisher listed. If the two match, the text arrived intact.

Frequently Asked Questions

CBF43926 in hex, or 3421780262 in decimal. That is the standard check value for CRC32: every correct implementation gives CBF43926 for the string 123456789, and this tool gives the same value.

No. CRC32 detects accidental corruption, such as a flipped bit or a truncated file, but an attacker can forge any CRC32 they want. For tamper detection, use a cryptographic hash such as SHA-256, or an HMAC when a secret key is involved.

They are the same 32-bit value in different bases. CBF43926 in hex is 3421780262 in decimal. Check the format a publisher uses before concluding that two checksums differ.

00000000. The computation starts with 0xFFFFFFFF and inverts the result at the end, so an empty input gives zero. A single character changes it: the CRC32 of a is E8B7BE43.

More free tools

More calculators and utilities from Sortrun — free, no sign-up.