SplatHash

Any image. 16 bytes. Reconstruct it anywhere.

Compress any image to a 22-character string, then decode it back to a 32×32 blurry preview — in under a millisecond. Fixed size. No dependencies. Works in any language.

16 bytes fixed22 chars base64url0.067ms decode32×32 output

Encode & Decode

Upload an image to get its 22-char SplatHash string, or paste an existing string to preview what it looks like. The hash is always exactly 16 bytes — paste one string anywhere, decode it the same way everywhere.

Encoder

Drop an image — get a 22-char string back. That string is your hash: copy it into a database column, an API response, a URL param — whatever you need.

Decoder

Got a SplatHash string? Paste it here and see what it looks like. Any valid 22-char base64url string decodes to a 32×32 blurry preview in microseconds.

Live Comparison

How does SplatHash stack up against ThumbHash and BlurHash on your image? Upload one to compare preview quality, string size, and encode/decode speed side by side — all running in your browser. Strings are shown in each algorithm's real-world storage format.

AlgorithmPreviewHash StringSizeEncodeDecode
Upload an image above to run the comparison

String formats: SplatHash and ThumbHash as base64url (how you'd store them in a DB or API); BlurHash as Base83 (its native format). Encode times include image scaling to the algorithm's preferred input size.