JPG to AVIF converter
Encode JPG photos as AVIF with the libavif encoder running in WebAssembly, for the smallest web-ready files.
Drop JPG files here
JPG files (other image formats work too) · up to 100 at once · converted on this device
Tip: you can also paste a copied image.
Good web quality, much smaller.
Downsizes only; SVG is drawn at this size (default 1024).
AVIF encoding is CPU-heavy: expect a few seconds per photo, more on phones.
Why convert JPG to AVIF?
AVIF gives excellent quality per byte, which is why image CDNs serve it. Encoding it is heavy, so this runs slower than other conversions.
What to expect
- Encoding a 12 MP photo can take several seconds per image on a phone.
- Quality 50–65 on this slider is usually visually close to a JPG at 85.
- Output is 8-bit, 4:2:0 chroma.
How to convert JPG to AVIF
- Tap Choose images or drag your JPG files onto the light box (up to 100).
- AVIF is already selected. Adjust quality or the longest edge if you need to.
- Press Convert to AVIF, then save files one by one or as one ZIP.
Related reading: Check a photo for hidden GPS data before sharing.
The two formats
JPG: JPEG (ISO/IEC 10918-1)
The universal photo format. Lossy compression in 8×8 pixel blocks, no transparency, opens absolutely everywhere.
AVIF: AV1 Image File Format (AOMedia)
The newest widely supported web format. Often smaller than WebP at the same quality, but slow to encode and still unknown to many desktop programs.
JPG to AVIF: questions
Why is AVIF encoding slow?
The AV1 encoder searches many more ways to compress each block than JPEG does. That effort buys the smaller size.
Do all browsers show AVIF?
Current Chrome, Edge, Firefox and Safari all do. Keep a JPG fallback for older devices.
Is anything uploaded?
No, the encoder is downloaded once and runs locally.