XXH128 Calculator
Developer & Author —Egor VolchenkoThis XXH128 calculator generates the 128-bit form of XXH3 from text or encoded bytes. Compare an xxHash128 fingerprint, reproduce a cache-key fixture, or inspect the complete checksum in hex or Base64.
How to calculate an XXH128 checksum
Calculate a reference checksum
Start with a known message so you can check the encoding and result format before comparing your own data.
- Type or paste your message into Input text. Keep any spaces and line breaks that are part of the data.
- Set Input Encoding: to UTF-8 for text, Hex for hexadecimal bytes, or Base64 for Base64-encoded bytes.
- Select Hex (lower), Hex (UPPER), or Base64 in the result options.
- Keep Auto / Live enabled to update the result as you edit the input. Turn it off and click Run for a manual calculation.
- Read XXH128 Result and click Copy. To start again, use Clear where shown or the clear control in a text field; review the mode and encoding settings before the next calculation.
For a quick check, enter abc with Input Encoding: set to UTF-8. Choose Hex (lower). The result is 06b05ab6733a618578af5f94892f3950.
Preserve the complete XXH3-128 value
XXH128 is commonly called XXH3-128. This implementation uses seed 0 and displays 16 bytes as 32 hex characters. There is no seed or custom-secret control in the form.
When another library returns the result as two 64-bit integers, use its canonical 128-bit byte representation before comparing it with this output. Reordering the words or serializing them with a different byte order can change the displayed value.
The current output contains 16 bytes, written as 32 hexadecimal characters. Hex (lower) and Hex (UPPER) change letter case; Base64 represents the same result bytes.
Input encoding determines the bytes being processed. UTF-8 abc, Hex 616263, and Base64 YWJj represent the same three bytes. Leaving UTF-8 selected for 616263 hashes six text characters instead.
The form sends input to the calculation API, so processing requires a network connection. Use public test data when checking an implementation.
Frequently asked questions
XXH128 is a non-cryptographic 128-bit xxHash checksum. It can fingerprint data for caches, indexing, and accidental-change checks when cryptographic authentication is not required.
API — XXH3-128 Checksum Generator
Automate this tool directly from your scripts, CI/CD pipelines, or backend applications via HTTP POST.
https://million.tools/api/v1/run/xxhash128 Request Parameters (JSON / Form Data)
-
input_encodingInput Encoding
hexhex_ignore_non_hexbase64utf-8utf-16leutf-16bewindows-1251windows-1252 -
start(orinput)Input text
-
output_formatOutput encoding format
hexhex_upperbase64
curl -X POST https://million.tools/api/v1/run/xxhash128 \
-H "Content-Type: application/json" \
-d '{"input_encoding":"hex","start":"616263"}' const response = await fetch('https://million.tools/api/v1/run/xxhash128', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"input_encoding": "hex",
"start": "616263"
}),
});
const data = await response.json();
console.log(data.result); import requests
response = requests.post(
'https://million.tools/api/v1/run/xxhash128',
json={
"input_encoding": "hex",
"start": "616263",
},
timeout=15,
)
data = response.json()
print(data['result']) $ch = curl_init('https://million.tools/api/v1/run/xxhash128');
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Content-Type: application/json'],
CURLOPT_POSTFIELDS => json_encode([
'input_encoding' => 'hex',
'start' => '616263',
]),
]);
$response = json_decode(curl_exec($ch), true);
curl_close($ch);
echo $response['result'] ?? ''; {
"status": "success",
"tool": "xxhash128",
"service": "xxhash128",
"result": "06b05ab6733a618578af5f94892f3950",
"results": {
"result": "06b05ab6733a618578af5f94892f3950"
}
}
Hi! I’m a WordPress developer with over 10 years of experience. I love Tailwind CSS, clean code, and intuitive interfaces. I’m currently working on million.tools — a service with convenient online tools for everyday tasks. I’m building it from scratch with great attention to detail and user experience.
Ratings & feedback 0
Share your experience with this tool.
No feedback yet
Be the first to leave a review or rating.