CRC-32 and Adler-32 checksum

Compute the CRC-32 and Adler-32 checksums of text or bytes, as decimal and hex.

Input

The input to checksum.
How the input is written: plain text (read as UTF-8), hex digits or base64.

Result

Fill in the input and press Run.

Your input is processed in memory and then discarded. It is not stored or logged. Even so, don't paste live passwords or keys into any online tool.

Use it from code or an agent

curl -s https://setget.net/v1/tools/crc32 \
  -H 'Content-Type: application/json' \
  -d '{"input":{"text":"123456789"}}'
import json, urllib.request

body = {'input': {'text': '123456789'}}
request = urllib.request.Request("https://setget.net/v1/tools/crc32", json.dumps(body).encode(),
                                 {"Content-Type": "application/json"})
print(json.load(urllib.request.urlopen(request))["result"])
const response = await fetch("https://setget.net/v1/tools/crc32", {
  method: "POST",
  headers: {"Content-Type": "application/json"},
  body: JSON.stringify({"input":{"text":"123456789"}}),
});
console.log((await response.json()).result);
Tool: run_tool
Arguments:
{
  "slug": "crc32",
  "input": {
    "text": "123456789"
  }
}
{
  "input": {
    "text": "123456789"
  }
}

Endpoint: POST /v1/tools/crc32. Over MCP: run_tool with slug: "crc32". Machine-readable: input schema, Markdown. Connect an agent.

Inputs

NameTypeRequiredWhat it does
text string yes The input to checksum.
input_encoding string no How the input is written: plain text (read as UTF-8), hex digits or base64. One of: text, hex, base64. Default: "text".

Example

Input
{
  "text": "123456789"
}
Result
{
  "crc32": {
    "decimal": 3421780262,
    "hex": "cbf43926"
  },
  "adler32": {
    "decimal": 152961502,
    "hex": "091e01de"
  },
  "bytes": 9
}

Questions

Which CRC-32 is this?
The common one used by ZIP, gzip, PNG and Ethernet (polynomial 0x04C11DB7, reflected). It is not CRC-32C.
Can I use a CRC for security?
No. Checksums catch accidental damage only. Anyone can craft different data with the same CRC. Use SHA-256 to detect tampering.