Your files stay on your device

# ThumbHash encoder and decoder

Turn an image into a tiny placeholder code of about 25 bytes, and preview it back.
From an imageFrom a hash

Drop an image to hash

PNG, JPG, WebP, AVIF and more · up to 50 MB · stays on your device
Choose an imageor paste

## Hash size and what it keeps

A ThumbHash packs a small color layout, a rough brightness pattern, and an alpha channel into about 25 bytes. In hex, that is 50 characters, since each byte takes two hex digits. Base64 needs about 34 characters for the same bytes.

## Decoding from the hash alone

Decoding needs only the hash, not the original image, so the preview is a soft color layout rather than the picture itself. Paste a hash into the decode tab to see it. A string that is not a valid ThumbHash fails with the message that the bytes do not decode as a ThumbHash.

## More image tools

- [BlurHash](/images/blurhash)
- [LQIP placeholder](/images/placeholder)
[All image tools](/images)

Was this tool useful?
YesNo

---

Canonical HTML: https://nutter.tools/images/thumbhash
Markdown version: https://nutter.tools/images/thumbhash.md
Plain-text version: https://nutter.tools/images/thumbhash.txt
Agent index: https://nutter.tools/llms.txt

