Tolket

Skip to content

Convert JPG and PNG to AVIF

AVIF often gives the smallest files of any web image format at the same visual quality. Tolket encodes AVIF on your own device with WebAssembly, so even large batches stay private.

JPG, PNG, WebP to AVIFWebAssembly encoderTransparency keptFree

Drop images here or browse files

JPG, PNG, WebP · up to 30 images · you can also paste with Ctrl+V
70–80% is ideal for websites.
PNGs are optimised losslessly with OxiPNG; WebP or AVIF give the biggest savings.
Larger images are scaled down.
Each image is saved just under this size.

Pre-set for you: output format AVIF at quality 60, which is visually close to a high-quality JPEG. AVIF encoding is slower than JPG or WebP, so allow a few seconds per large photo. More settings are in the full Image Compressor.

What is AVIF?

AVIF is an image format based on the AV1 video codec, developed by the Alliance for Open Media. It compresses photos far more efficiently than JPG, and often beats WebP too, while also supporting transparency and wide colour. For websites this means hero images and galleries that load faster with no visible difference.

Browser support is now broad: current versions of Chrome, Edge, Firefox and Safari all display AVIF. For older browsers, websites usually serve AVIF with a JPG or WebP fallback.

How to convert images to AVIF

  1. Drop JPG, PNG or WebP files in the box above.
  2. Keep the quality at 60, or raise it to 70 for images with fine text or gradients. Lower values give smaller files.
  3. Press Compress images. The engine line under the settings shows WebAssembly when the AVIF encoder is active.
  4. Download your .avif files.

Good to know: AVIF needs WebAssembly. If your browser blocks it, Tolket tells you and saves WebP instead, so you still get a smaller modern file.

AVIF, WebP or JPG?

AVIFWebPJPG
File sizeSmallestSmallLarger
Encoding speedSlowFastFast
TransparencyYesYesNo
Best forModern websitesWebsites, appsEverything else

Frequently asked questions

Can I upload AVIF to WordPress?

Yes. WordPress has supported AVIF uploads since version 6.5, provided your server’s image library supports it. Check that your theme displays it correctly before replacing all images.

Why does AVIF take longer than WebP?

AVIF tries many more ways to describe each block of the image, which is what makes its files so small. On a phone a large photo can take several seconds.

Can Windows and macOS open AVIF files?

Recent versions of Windows 11 and macOS can preview AVIF, and every modern browser can open them. Some older photo editors cannot, so keep your originals.

Related tools

More quick tools

JPG to WebPCompress PNGPNG to JPGCompress to 200KBCrop to 16:9

Scroll to Top