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
Supports: PNG, JPG, JPEG, WEBP, AVIF, GIF, BMP, TIFF
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.