Skip to main content

JPG to AVIF

Drop your JPG files here or click to browse

100% in-browser. Your files never leave your device.

AVIF compresses photographs far more efficiently than JPG, so converting gives you a noticeably smaller file at matching visual quality, a meaningful win for any page carrying several photos. The encoding runs entirely in your browser.

A 1,536 × 1,024 px JPG saved at quality 92 (159.9 KB) converted to AVIF at the default quality 90: 122.5 KB (−23.4%). The close-ups are 1:1 crops of the area marked by the box.Sample image: ImgCompress.app blog illustration (owned by ImgCompress.app)

Why AVIF wins on the same photo

JPG’s block-based compression, designed in the early 1990s, has to make broad trade-offs that show up as blockiness and haloing once you push file size down. AVIF, built on the AV1 video codec’s more advanced prediction, can represent the same visual detail using substantially fewer bytes and handles smooth gradients with far less banding, since it works with much larger and more flexible prediction blocks.

In our own benchmark on three photos, AVIF at quality 50 came out 47–59% smaller than JPEG at quality 75 with similar SSIM scores, and the two were difficult to tell apart at normal viewing size.

What the size saving costs you

The main trade is encoding time: producing an AVIF takes noticeably longer than a JPG of the same image, since the format’s compression techniques are more computationally demanding. That barely matters here, since the conversion runs once in your browser rather than being generated on the fly for every page visitor, so the only cost is a slightly longer wait during conversion itself, not any ongoing performance penalty.

Support is the other consideration: while every current browser displays AVIF, some older software, a handful of design tools and a few content management systems still cannot open it directly, so keep the source JPG as a fallback if the image needs to be edited somewhere that doesn’t yet support AVIF.

① The JPG is decoded to pixels. ② A WebAssembly AVIF encoder writes the AVIF at the quality you set, 90 by default. Sample: a JPG at quality 92 (159.9 KB) became 122.5 KB at AVIF quality 90 (−23.4%), 44.4 KB at 75 and 25.6 KB at 60. At 90 the encoder keeps almost everything; most of the saving comes from lowering the quality.Sample image: ImgCompress.app blog illustration (owned by ImgCompress.app)

Colour depth and gradient handling

AVIF supports up to 10-bit colour per channel against JPG’s fixed 8-bit, which mostly matters for smooth gradients (a sunset sky, a soft shadow, a subtle colour transition), where JPG can show visible banding at lower quality settings and AVIF renders the same transition smoothly. For most everyday photos this difference is subtle, but it becomes noticeable on exactly the kind of image that photographers and designers care most about getting right.

Processed on your own device

The JPG is decoded and re-encoded to AVIF locally in your browser, so a personal or client photo is never sent to a server to shrink it. Convert a single photo or a whole folder of them in one sitting, adjusting the quality slider to balance size against detail, and download the results individually or as a ZIP without creating an account.

How to convert JPG to AVIF

  1. Add your files

    Drag and drop your JPG files, or click to pick them from your device.

  2. Convert to AVIF

    Adjust the settings if you need to, then start the conversion.

  3. Download

    Save your AVIF files one by one or all at once.

Frequently asked questions

Why choose AVIF over JPG?
AVIF reaches the same perceived quality as JPG at a substantially smaller size, and handles gradients and flat colour with noticeably less banding. The trade-off is somewhat slower encoding and less support in older tools.
Is the conversion lossy?
Yes, at the default setting, much like JPG itself. Raise the quality slider to keep more detail, or lower it to shrink the file further.
How much smaller will the AVIF actually be?
In our benchmark, roughly half the size: 47–59% smaller than an equivalent-quality JPG on three photos. The exact saving depends on the image content and the quality setting chosen.
Will the AVIF open everywhere the JPG does?
Every current browser displays it natively. Some older desktop software and a few design tools still lack AVIF support, so keep the JPG if the file needs to work outside a browser.
Can I convert several JPGs at once?
Yes. Add a batch of photos and each is encoded to AVIF separately at your chosen quality, then handed back individually or as a ZIP, entirely on your own device.
Will the AVIF be upright, and is the EXIF data kept?
The browser applies the JPG’s rotation tag as it decodes, so the AVIF is saved the right way up. The rest of the EXIF block, including GPS position and camera model, is not copied, because the AVIF is encoded from the pixels alone.