ThumbHash encoder and decoder
Turn an image into a tiny placeholder code of about 25 bytes, and preview it back.
Drop an image to hash
PNG, JPG, WebP, AVIF and more · up to 50 MB · stays on your device
or 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
All image toolsWas this tool useful?