Skip to content
raster.gg
Menu

Convert

JPG to AVIF Converter

Convert JPG to AVIF to cut photo file size by a third or more with similar visual quality. Conversion runs in your browser and nothing is uploaded.

Conversion options
Convert to

Your images never leave your device

Add images to get started.

How to use JPG to AVIF

  1. Drop your JPG files on the page or pick them from your device.
  2. Wait while each file is converted to AVIF. AVIF encoding is slow, and large photos can take several seconds.
  3. Download the AVIF files one by one, or all together as a zip.

Frequently asked questions

How much smaller will the AVIF be?

Often 30 to 50 percent smaller than the JPG at similar visual quality, though it varies by image. Photos with smooth areas gain the most.

Why does JPG to AVIF take longer than JPG to WebP?

AVIF encoding spends far more computation searching for the smallest representation. Large photos can take several seconds each on your device, while WebP finishes quickly.

Can I use AVIF everywhere I use JPG?

No. Modern browsers display it, but many programs and upload forms do not accept AVIF. Use it on websites you control, and keep JPG for sharing.

Are my JPG files uploaded anywhere?

No. The conversion runs in your browser using WebAssembly, so your JPG files stay on your device. There is no signup, no watermark and no cost, and you can convert a whole batch and download it as a zip.

About JPG to AVIF

AVIF is the strongest compression available for photographs in a browser today, commonly producing files 30 to 50 percent smaller than JPG at comparable quality. For image-heavy pages such as galleries, portfolios and stores, that can be the difference between a fast page and a sluggish one, which is why performance-minded sites convert their JPG photos to AVIF and serve them where browsers can display them.

Show more

AVIF encoding is slow, and large photos can take several seconds each, so a big batch needs patience. Both formats are lossy, so converting a JPG to AVIF compresses the photo twice; for the cleanest result, encode from the camera original if you have it. The conversion removes metadata and applies orientation. AVIF opens in current browsers, but not in many editors, mail programs, print services or upload forms, so keep the JPG for those.

JPG is lossy, using discrete cosine transform compression; AVIF is lossy or lossless, compressed with AV1. JPG has no transparency, so the AVIF result is fully opaque and looks the same on any background. For scale, a 12-megapixel photo is typically 2 to 5 MB as JPG and 1 to 2.5 MB as AVIF. Compatibility: Recent versions of Chrome, Edge, Firefox and Safari display it. Support in editors, email clients and upload forms is still patchy.