Your files stay on your device

# ThumbHash Encoder and Decoder (~25-Byte Placeholders)

Hash any image into roughly 25 bytes, alpha included, and render the placeholder back as hex, Base64, or CSS, with the average color and aspect ratio.

A 25-byte placeholder for any image

or click to browse from your device
Select Files

Supports: PNG, JPG, JPEG, WEBP, AVIF, GIF, BMP, TIFF
encodedecode

ThumbHash (MIT) hashes RGBA, alpha included. Into roughly 20-25 bytes. This tool box-filters the input to 100 px on the long edge first (the codec ceiling); the hash is the same for a 4000 px original and its 100 px sample.
Clear

## Next door in Photos

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

---

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

