Home › Developer Tools › CRC32 Checksum Calculator

CRC32 Checksum Calculator

Type text or choose a file to calculate its CRC-32 plus CRC-32C, three common CRC-16 variants and Adler-32 in one go. Large files are read in chunks with a progress bar, and nothing is uploaded.

Last updated:

CRC-32 (IEEE 802.3)
–
AlgorithmChecksumParametersCopy
Advertisement

How to use the CRC32 Checksum Calculator

  1. Choose Text or File at the top.
  2. For text, type or paste it. Switch to Hex bytes if you want to checksum raw bytes like 31 32 33.
  3. For a file, click the drop area or drag a file onto it. A progress bar shows how much has been read.
  4. Pick the output format: hexadecimal (with optional uppercase and 0x prefix) or decimal.
  5. Press Calculate Checksum (text updates automatically) and copy the value you need, or Copy all.

CRC parameters and check values

Every CRC variant is defined by its width, polynomial, initial value, whether input and output bits are reflected and a final XOR value. The “check” column is the result for the ASCII string 123456789, which you can use to confirm any implementation.

AlgorithmWidthPolynomialInitReflectedXOR outCheck
CRC-32320x04C11DB70xFFFFFFFFYes0xFFFFFFFFCBF43926
CRC-32C320x1EDC6F410xFFFFFFFFYes0xFFFFFFFFE3069283
CRC-16/CCITT-FALSE160x10210xFFFFNo0x000029B1
CRC-16/ARC160x80050x0000Yes0x0000BB3D
CRC-16/MODBUS160x80050xFFFFYes0x00004B37
Adler-3232A = 1 + Σ bytes, B = Σ A (both mod 65521), result = B·65536 + A091E01DE

How CRC-32 is calculated

CRC-32 treats the data as one long binary number and divides it by the generator polynomial using XOR instead of subtraction; the 32-bit remainder is the checksum. In practice it is computed one byte at a time with a 256-entry lookup table:

  1. Start with crc = 0xFFFFFFFF.
  2. For each byte b: crc = table[(crc XOR b) AND 0xFF] XOR (crc >> 8), where the table holds the reflected polynomial 0xEDB88320 applied to every possible byte value.
  3. At the end, flip all bits: crc XOR 0xFFFFFFFF.

For example, the single letter a (byte 0x61) gives CRC-32 E8B7BE43, and the empty input gives 00000000.

Where each checksum is used

ChecksumUsed in
CRC-32ZIP, gzip, PNG chunks, Ethernet frames, 7-Zip and many download checksums (.sfv files)
CRC-32CiSCSI, SCTP, ext4 and Btrfs metadata, Google Cloud Storage and AWS S3 object checksums
CRC-16/CCITT-FALSETelecom and embedded protocols, some bootloaders and smart cards
CRC-16/MODBUSModbus RTU frames on RS-485 serial lines
CRC-16/ARCARC and LHA archives and other legacy formats
Adler-32zlib streams (inside PNG images and PDF FlateDecode data); rsync uses a rolling variant

Frequently asked questions

What is a CRC32 checksum?

CRC-32 is a 32-bit cyclic redundancy check: a short value computed from data with polynomial division. If even one bit of the data changes, the CRC almost certainly changes, so it is used to detect accidental corruption in ZIP files, PNG images, network frames and downloads.

What is the CRC-32 of "123456789"?

The standard check value of CRC-32 for the ASCII string 123456789 is CBF43926 (decimal 3421780262). CRC-32C gives E3069283, CRC-16/CCITT-FALSE 29B1, CRC-16/ARC BB3D, CRC-16/MODBUS 4B37 and Adler-32 091E01DE. Press the “Use check string” button to see them.

What is the difference between CRC-32 and CRC-32C?

They use different polynomials. CRC-32 (0x04C11DB7) is the classic one from Ethernet, ZIP and PNG. CRC-32C (Castagnoli, 0x1EDC6F41) detects more error patterns and has a dedicated CPU instruction, so it is used by iSCSI, SCTP, ext4, Btrfs and cloud storage APIs.

Which CRC-16 do I need?

It depends on the protocol. Modbus RTU uses CRC-16/MODBUS (send the low byte first). CRC-16/CCITT-FALSE is common in telecom and embedded protocols, and CRC-16/ARC (also called CRC-16/IBM) appears in older storage and serial formats. Check your protocol's documentation for the polynomial and initial value.

Is CRC32 a secure hash?

No. A CRC detects accidental errors but is easy to forge on purpose. To check that a file has not been tampered with, use a cryptographic hash such as SHA-256 instead.

Why do I get a different CRC32 for the same text elsewhere?

Usually the bytes differ: another encoding than UTF-8, a trailing newline, or Windows line endings (CRLF instead of LF). Some tools also print the value in decimal, little-endian byte order or without leading zeros.

Can I checksum very large files?

Yes. The file is read in 4 MB chunks directly from your disk, so even multi-gigabyte files work; the speed depends on your device. The file is never uploaded.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Hash GeneratorGenerate MD5, SHA-1, SHA-256 and SHA-512 hashes of text or files.MD5 Hash GeneratorGenerate MD5 hashes of text, lines or files and verify checksums.SHA-256 Hash GeneratorSHA-256 and HMAC-SHA256 hashes of text, lines or files, in hex or Base64.File Info ViewerCheck file size, type, date and MD5/SHA hashes.SHA-1 Hash GeneratorSHA-1 and HMAC-SHA1 of text or files in hex or Base64, plus Git blob hashes and verify.Password GeneratorCreate strong passwords and passphrases.Base64 Encoder DecoderEncode or decode Base64 text and files, and make data URIs.URL Encoder DecoderPercent-encode or decode URLs, query strings and form data.HTML Entity Encoder / DecoderEscape and unescape HTML entities, named or numeric.Bcrypt Hash Generator & CheckerCreate bcrypt password hashes and check a password against a hash.Binary TranslatorConvert text to binary, hex, octal and back.HMAC GeneratorGenerate and verify HMAC signatures with SHA-256, SHA-512, SHA-1 or MD5.JWT DecoderDecode JSON Web Tokens, read the claims and expiry, and verify HS256 signatures.JWT GeneratorCreate and sign HS256, HS384 or HS512 JSON Web Tokens in your browser and verify them.Password Strength CheckerSee how strong a password really is, how long it takes to crack and how to improve it.Caesar CipherEncode and decode Caesar shift ciphers and crack unknown shifts with a ranked brute force.Vigenère CipherEncrypt and decrypt Vigenère and Autokey ciphers, and crack unknown keys with frequency analysis.Atbash CipherEncode and decode Atbash ciphers (A↔Z, B↔Y) in Latin or Hebrew, with a live letter mapping table.ASCII TableFull ASCII code chart 0–255 in decimal, hex, octal, binary and HTML, with search and copy.Unicode Character LookupFind Unicode characters by name or code point and copy them with UTF-8, HTML and code escapes.Punycode ConverterConvert international domain names, emails and URLs between Unicode and xn-- Punycode, in bulk.JSON Escape / UnescapeEscape text for a JSON string, unescape \n and \" back to text, or stringify a whole object.Binary to HexConvert binary to hex instantly with steps and signed mode.Hex to BinaryConvert hex to binary instantly with steps and signed mode.Binary CalculatorAdd, subtract, multiply, divide, AND, OR, XOR and shift binary numbers with decimal values.Hex CalculatorHexadecimal + − × ÷ and AND, OR, XOR, NOT, shifts with decimal and binary equivalents.Base32 Encoder / DecoderEncode and decode Base32 (RFC 4648), Base32hex, Crockford and z-base-32 from text, hex or files.Base58 Encoder / DecoderEncode and decode Base58 and Base58Check (Bitcoin alphabet) from text or hex, with checksum verification.Unicode Escape / UnescapeConvert text to \uXXXX, \u{...}, \x, &#...; or CSS escapes and decode them back.File Hash CheckerGet MD5, SHA-1, SHA-256 and SHA-512 checksums of files and verify them against a hash.TOTP GeneratorGenerate 2FA one-time codes from a secret key, create otpauth QR codes and verify codes.RSA Key GeneratorGenerate 2048, 3072 or 4096-bit RSA key pairs as PEM, PKCS#1, JWK or OpenSSH, locally.SSL Certificate DecoderDecode PEM SSL/X.509 certificates: subject, issuer, expiry, SANs, key and fingerprints.Text Encryption ToolEncrypt and decrypt text with a password using AES-256-GCM, entirely in your browser.Argon2 Hash GeneratorHash passwords with Argon2id, Argon2i or Argon2d and verify them against an encoded hash.Base64 to PDFDecode a Base64 string to a PDF with preview and download, or encode a PDF to Base64.Bitwise CalculatorCalculate AND, OR, XOR, NOT and bit shifts at 8–64 bits with a bit grid and all bases.CSR GeneratorCreate a certificate signing request (CSR) and private key with SANs, RSA or ECDSA, in your browser.UUID Decoder & ValidatorDecode any UUID: version, variant, v1/v6/v7 timestamp and MAC node, plus bulk validation.Base64 to FileDecode Base64 or a data URI to a downloadable file; detects the real file type and previews it.File Encryption ToolEncrypt and decrypt any file with a password using AES-256-GCM, entirely in your browser.Passphrase GeneratorMake strong, memorable diceware passphrases from a 7,776-word list, with entropy in bits.CSR DecoderDecode a PEM certificate signing request: subject, SANs, key size, signature and CA readiness checks.Enigma Machine SimulatorEncrypt and decrypt with a virtual Enigma I, M3 or M4: rotors, rings, plugboard and lampboard.Hex Opacity CalculatorConvert opacity percent to a 2-digit HEX alpha code and full #RRGGBBAA color, with a 0-100% table.Playfair CipherEncrypt and decrypt Playfair ciphers from a keyword, with the 5x5 key square and every digraph step.Pwned Password CheckerCheck if a password appeared in data breaches; only 5 characters of its SHA-1 hash are sent.RSA Encryption ToolEncrypt text with an RSA public key and decrypt it with the private key using RSA-OAEP in your browser.SAML DecoderDecode SAMLRequest and SAMLResponse messages to readable XML, attributes and validity times.SSL Certificate ConverterConvert SSL certificates and keys between PEM, DER, PFX/P12 and P7B in your browser.Checksum CalculatorCompute 8-bit sum, two's complement LRC, XOR/BCC, NMEA, Fletcher and Internet checksums of bytes.PBKDF2 Hash GeneratorDerive PBKDF2 keys from a password, salt and iteration count with SHA-1, SHA-256 or SHA-512.Protobuf DecoderDecode raw Protocol Buffers hex or Base64 without a schema, or add a .proto for field names.XML Escape / UnescapeEscape & < > " ' for XML text and attributes, unescape entities back, or wrap text in CDATA.Binary Search Tree VisualizerInsert, delete and find in BST, AVL and red-black trees with animated rotations and traversals.MongoDB ObjectId to TimestampDecode a MongoDB ObjectId to its creation date, or build ObjectIds from dates for range queries.PGP Encrypt / DecryptEncrypt, decrypt, sign and verify PGP messages with your armored keys, entirely offline.PGP Key GeneratorGenerate an OpenPGP key pair (Curve25519, NIST ECC or RSA) with passphrase and expiry, offline.Quoted-Printable Encoder / DecoderEncode or decode quoted-printable email text (MIME) with UTF-8 and 76-character soft line breaks.Self-Signed Certificate GeneratorCreate a self-signed SSL certificate and key for localhost or dev servers, as PEM or PFX.SHA-512 Hash GeneratorSHA-512 and SHA-384 hashes of text or files in hex or Base64, HMAC and hash verification.SRI Hash GeneratorCreate Subresource Integrity hashes (sha256/384/512) and ready <script> or <link> tags.SSH Key GeneratorGenerate Ed25519 or RSA SSH key pairs in your browser: OpenSSH public key plus private key.String Escape / UnescapeEscape or unescape strings for JavaScript, Java, C#, Python, C, SQL, regex, CSV and shell.UTF-8 Encoder / DecoderConvert text to UTF-8 bytes in hex, decimal, binary, \x or % and decode bytes back to text.
See all 65 Encoders, Hashes & Crypto →