← All Tools

FNV Hash Calculator

Compute Fowler–Noll–Vo hashes (FNV-1 & FNV-1a, 32-bit & 64-bit) for text, hex bytes, or files. FNV is a fast, simple non-cryptographic hash used in hash tables, Bloom filters, DNS servers, and Twitter Snowflake-style IDs. Runs entirely in your browser.

Reference

FNV-1: hash = (hash * prime) XOR byte
FNV-1a: hash = (hash XOR byte) * prime — better avalanche, preferred in modern code.
32-bit: offset basis 0x811c9dc5, prime 0x01000193.
64-bit: offset basis 0xcbf29ce484222325, prime 0x00000100000001b3.
Standard check: FNV-1a 32 of "foobar" = 0xbf9cf968; FNV-1a 64 of "foobar" = 0x85944171f73967e8.

Copied!