Compress to AVIF
AVIF is the smallest of the still-image formats here. It also takes the longest to encode.
Compress to AVIF. Nothing leaves this device.
- UPLOADED
- 0 B
- ACCOUNT
- NONE
- ENGINE
- WEBASSEMBLY
Drop images to compress
JPEG, PNG, WebP, or AVIF. A whole batch is fine.
Nothing is uploaded. Encoding happens on this device.
Nowhere.
They are decoded, re-encoded and saved inside this tab with WebAssembly codecs. A whole batch stays on this device.
The AVIF encoder is libavif, packaged the way Squoosh packages it, running in a worker. Quality 55 is already visually strong because AVIF spends its bits carefully. Push it up for graphics, or down for a thumbnail.
Encoding a large photo can take a little while. The page stays usable because the work is off the main thread. If this browser cannot encode AVIF at all, you will get a clear error instead of a silent JPEG.
Questions
- Why is AVIF slower than JPEG?
- The codec does more analysis per pixel. That is the trade for a smaller file. JPEG is the one to pick when you are in a hurry.
- Can every visitor see an AVIF?
- Current Chrome, Edge, Firefox, and Safari can. If you need ancient clients too, keep a JPEG beside it.
- Does the multithreaded encoder need special headers?
- Yes. This site sends the cross-origin isolation headers so the encoder can use threads where the browser allows them.
Longer videos and batches.
A paid tier is planned. There is nothing to buy, and no account to create. Until then, a coffee keeps smller free.
- + Longer files, no memory warning
- + A queue for more than one video
- + Same on-device encode, nothing uploaded