Fletcher Checksum Calculator
Compute Fletcher-16 and Fletcher-32 checksums for any text, using its UTF-8 bytes. Results show in hex and decimal.
1 Paste or type your text
2 Your answer
Your answer shows here as you type.
How to use the Fletcher Checksum Calculator
- Type or paste the text you want to checksum.
- Read the Fletcher-16 and Fletcher-32 values, in hex or decimal.
- Compare with the other system's checksum. Encoding (UTF-8) and 16-bit word order must match.
Frequently asked questions
How is a Fletcher-16 checksum calculated?
Two running sums are kept, starting at 0. For each byte, the first sum adds the byte, and the second sum adds the first sum. Both sums are taken modulo 255. The checksum is the second sum times 256 plus the first sum.
What is the difference between Fletcher-16 and Fletcher-32?
Fletcher-16 works on single bytes with modulus 255 and gives a 16-bit value. Fletcher-32 works on 16-bit words with modulus 65535 and gives a 32-bit value, so it catches more errors.
Is the Fletcher checksum a secure hash?
No. Fletcher checksums only detect accidental changes such as corrupted bits or transposed bytes. They are easy to forge, so use SHA-256 or another cryptographic hash to check for deliberate tampering.
Why can two tools give different Fletcher-32 values?
Fletcher-32 reads data as 16-bit words, and tools differ on whether a pair of bytes is big-endian or little-endian. This tool uses big-endian pairs and pads an odd final byte with zero.
Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.