How to use this calculator
Compute Adler-32 using the two accumulators defined for the zlib format.
- Enter Text encoded as UTF-8. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Adler 32 UTF 8 checksum explained
Adler-32 processes the UTF-8 bytes in order, updating two modular sums. The result depends on the encoded bytes, so visually identical text can differ when its Unicode encoding differs.
Inputs, symbols, and units
s— Text encoded as UTF-8- Text encoded as UTF-8. An empty string is a valid byte sequence.
Formula and method
A=(1+Σbytes) mod 65521; B=running sum of A mod 65521; checksum=(B<<16)|A.
Symbols use the input definitions below. UTF-8 bytes with initial A=1 and B=0; this is a corruption checksum, not a cryptographic digest..
A worked scenario
Text encoded as UTF-8 = Wikipedia.
- Adler-32: 11e60398 hex
This scenario uses the stated units and assumptions. Displayed values are rounded only after calculation.
Assumptions and edge cases
UTF-8 bytes with initial A=1 and B=0; this is a corruption checksum, not a cryptographic digest.
Frequently asked questions
Why two sums?
The second accumulates positional information from the first.
Is it identical to CRC-32?
No, the algorithms and check values differ.
Do newline bytes count?
Yes.
How do I use the Adler 32 UTF 8 checksum calculator?
Enter Text encoded as UTF-8. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Adler 32 UTF 8 checksum?
Text encoded as UTF-8 = Wikipedia. Adler-32: 11e60398 hex This scenario uses the stated units and assumptions. Displayed values are rounded only after calculation.
Method reference: RFC 1950 Adler-32 definition.
Read our calculation methodology.