Esc
↑ ↓ to moveEnter to openEsc to close

Convert and compress tool

AVIF to JPG converter

Got an .avif file that will not open or upload? Make an ordinary JPG copy of it here, decoded and saved by your own browser.

Your image

Processed on your device
Canvas support is required.

Live preview

Try the demo

JPG is set as the output, starting at quality 90. Any clear areas in the AVIF come out white.

Choose your crop

Drag on the preview for a custom crop. The shaded edges will be removed. Need more room instead? Uncrop the photo.

PNG and WebP keep transparency.

Continue with this photo Uncrop a photoResizeCompressAdd text Open a photo first, then pick the next step. Your edit carries over and stays on this device.

Three steps

How to convert AVIF to JPG

  1. Pick the .avif file, or drag it onto the preview area.
  2. Leave the output on JPG and set a quality; 90 is the starting point.
  3. Save the JPG, then read its new size under the download button.

AVIF in, a JPG out that everything opens.

AVIF stands for AV1 Image File Format. It stores a picture compressed with the AV1 video codec inside a HEIF container, and that is why its files are so small: MDN puts lossy AVIF at around half the size of a JPEG of similar quality. Websites like that, so some of the pictures you save from the web arrive as .avif.

JPG is far older, and almost every program, phone, printer and upload form reads it. When something refuses your AVIF, a JPG copy is the dependable fix. This page asks your browser to decode the AVIF, draws the pixels on a canvas and encodes a brand new JPG from them.

None of this leaves your device, and the AVIF itself stays as it was. If the page says the AVIF could not be opened, the file may be damaged, or your browser may be too old for AVIF. Try it in a current Chrome, Edge, Firefox or Safari; if it still fails, ask for a fresh copy of the file.

Why so many saved pictures are AVIF now

Every time your browser fetches a picture, it sends the website a short list of formats it can show. MDN's list of default values shows Chrome, Edge 121 and later, and Firefox all naming AVIF first. A site that stores several versions of each image can then pick the smallest one your browser accepts, and that is often the AVIF. Right-click and save, and you keep exactly that file.

Changing the file name from .avif to .jpg does not help. The data inside is still AVIF, so an app that checks the real format will still refuse it, or show an error. Converting writes real JPG data into a new file.

Opening AVIF is down to the browser. According to MDN, support arrived in these versions, so anything newer works on this page:

BrowserOpens AVIF sinceAsks websites for AVIF by name
ChromeVersion 85Yes, first in its list
EdgeVersion 121Yes, from version 121
FirefoxVersion 93 (animated AVIF from 113)Yes, first in its list
SafariVersion 16.1No: it names WebP, PNG and SVG, then any image type

What we measured converting AVIF to JPG

We made three AVIF test files and converted each one on this page in Chrome at three quality settings. Two are photos from our own samples, a mountain lake of 1,021 x 1,277 pixels and a beach at sunset of 1,167 x 1,167, and one is an 800 x 500 logo on a transparent background. The pixel size stayed the same in every case.

The JPG was always the bigger file: for the photos, about 1.7 times the AVIF at quality 70 and nearly 3 times at quality 90. That is the cost of a format every program opens. If a form caps the size, lower the quality first, then the width and height in Resize; the logo shows that flat graphics stay small either way.

Test fileAVIFJPG at 90JPG at 80JPG at 70
Mountain lake photo, 1,021 x 1,277108 KB307 KB224 KB182 KB
Beach photo, 1,167 x 1,16785 KB253 KB182 KB148 KB
Logo with transparency, 800 x 5005.0 KB22.8 KB17.8 KB15.3 KB

HDR and wide-color AVIF files

AVIF can hold high dynamic range and wide color gamut pictures, with brighter highlights and richer colors than a standard file, as MDN's format guide notes.

The editor draws every picture on a standard canvas, and the HTML Standard makes sRGB the default color space for that canvas. So an HDR AVIF comes out as a standard-range JPG: your browser fits the brightest highlights and the most saturated colors into the normal range. On an HDR screen the JPG can look less bright than the AVIF did. Keep the AVIF if you need the HDR version.

Questions

Why are my images saving as AVIF?

Because the website sent them that way. When Chrome, Edge or Firefox asks a site for a picture, its request lists AVIF first among the formats it accepts, and a site that keeps an AVIF copy can serve that one. Save Image As keeps whatever arrived. Convert it here when the next app wants JPG.

How do I convert AVIF to JPG on Windows?

Open this page in Chrome, Edge or Firefox, choose the .avif file and press Download. There is nothing to install. Edge reads AVIF from version 121, so if the file will not open, update Edge first or use another current browser.

How do I convert AVIF to JPG on a Mac or iPhone?

Use this page in Safari 16.1 or later, or in Chrome or Firefox. Choose the file, keep JPG selected and download. If an older iPhone or Mac cannot open the AVIF here, updating the system brings a newer Safari with AVIF support.

Does converting AVIF to JPG lose quality?

A little. JPG is lossy, so the picture is compressed a second time, and detail the AVIF already discarded cannot come back. At quality 90 the change is hard to spot in photos. Zoom in on fine text and edges before you delete the original.

Why is my JPG bigger than the AVIF?

AVIF packs photos far more tightly. In our test, a 108 KB AVIF photo became a 307 KB JPG at quality 90, nearly three times the size, with the same 1,021 x 1,277 pixels. Lower the quality or the pixel size if you need a smaller file.

What happens to a transparent AVIF?

AVIF can store see-through pixels, but JPG cannot, so this page lays them on white. Our test logo with a clear background came out on a white rectangle. If the transparency has to stay, use AVIF to PNG instead.

Is an AVIF file safe to open?

AVIF is a picture format, not a program, and your browser opens it with the same image decoder it uses for web pages. This page only reads the pixels and writes a new JPG. As with any download, be wary of a file whose name really ends in .exe or another program extension.

Can I convert many AVIF files to JPG at once?

This editor converts one file at a time. For a batch, compress image to KB takes up to 30 images, AVIF included, saves each one as a JPG under the size limit you set and offers one zip download. Pick a generous limit, such as 1 MB, if you only want the format changed.

Sources: Image file type and format guide, AVIF (MDN Web Docs), List of default Accept values, images (MDN Web Docs), HTML Standard: canvas color spaces (the default is sRGB), HTML Standard: animated images drawn on a canvas use one frame

See all tools

Guides for this