Turn an AVIF file into a JPG in your browser

Content last reviewed:

Add your AVIF files, pick a quality and download finished JPGs. Your browser does all the work on your own machine. At the default 85% setting a photo that weighs 272.6 KB as AVIF comes out as a 637.0 KB JPG, because JPG stores the image with an older method. The converter shows that difference for every file.

Set JPG quality

Lower value = smaller files, higher = better quality. 80–85% is a good balance.

Convert and download

Files in queue

Add AVIF files on the left to start converting to JPG.

to

What is AVIF, and what is JPG?

AVIF is an image format built on the AV1 video codec. It was published in February 2019 by the Alliance for Open Media, the same group that had created the codec itself. An AVIF file holds a single AV1 frame inside a HEIF container, the same box for data that an iPhone uses for HEIC photos[1]. That is where its strength comes from: at comparable image quality an AVIF file is roughly half the size of the same picture stored as JPG[2]. AVIF also stores transparency, animation, 10- and 12-bit colour and HDR, meaning an extended range of brightness[1].

JPG, also written JPEG, is twenty-seven years older. The Joint Photographic Experts Group published it in September 1992 under two designations at once: ISO/IEC 10918 and ITU-T T.81[3]. JPG divides the picture into square blocks and describes each of them with a discrete cosine transform, DCT for short, dropping some of the finest detail along the way. Each of the three colour channels gets eight bits, and the format stores no transparency at all[2].

What separates them day to day is availability. Every browser, every operating system and every graphics program opens JPG, and the JPEG committee still calls it the most dominant still image format around[3]. AVIF needs software from the last few years, and on Windows a separate add-on[4]. That is why an AVIF file often has to become a JPG before the program you work in will open it.

How do you convert an AVIF file to JPG?

Drag your AVIF files onto the Add files field, or click it and pick them from your device. Use the Set JPG quality slider to choose a value between 60 and 95 per cent; it sits at 85 by default. Click Convert and every item in the queue on the right turns to a green Done badge.

There are two ways to collect the results. The Download button next to an item saves that one file, while Download all saves the whole queue. The name stays the same and only the extension changes to .jpg. Clear all empties the queue when you want to start over.

Under the buttons the converter reports Total input size and Total output size, with the difference between them below. You see the same figures per file, in the Before and After lines. Take a photo that weighs 272.6 KB as AVIF. At the default 85% quality it comes out as a JPG of 637.0 KB. The converter labels that file 134% more.

Why does the JPG come out heavier than the AVIF?

Both formats store pictures lossily, throwing away part of the information so the file takes up less room. They go about it differently. JPG uses a method described in 1992[3], while AVIF uses the tools of the AV1 codec, which arrived more than a quarter of a century later and describes the same picture in fewer bytes. MDN states the gap plainly: at similar visual quality an AVIF file is around half the size of a JPG[2].

So the weight goes up. Your file is already stored by the thriftier method, and the converter unpacks the picture into a full grid of pixels and writes it again with the older one. At the default 85% quality we measured growth of 2.1 to 3.3 times. The exact figure depends on the picture: the more large, even areas it holds, the bigger the gap, because those areas are precisely what the AV1 codec stores most efficiently.

The quality slider is what gives you control. Setting it to 60% brings the result down to 1.3–2 times the weight of the source, and the difference then shows up mostly on flat surfaces such as a clear sky. If you want the lightest possible file and the person receiving it accepts other formats, the same picture ends up smaller with the AVIF to WebP converter.

How much does a photo weigh after AVIF to JPG conversion?

We took five pictures of different kinds and saved each of them as AVIF at quality 50 on a scale of 0 to 100, the setting used by the systems that prepare photographs for websites. Then we ran them through this converter and wrote down the weights it reported itself.

Source imageAVIF fileJPG at 60%JPG at 85%JPG at 95%
Landscape photo, 1920 × 1280 px272.6 KB377.4 KB637.0 KB985.8 KB
Architecture photo, 1920 × 1080 px310.5 KB411.3 KB649.2 KB967.3 KB
Product photo on white, 1836 × 1836 px62.6 KB117.0 KB207.1 KB387.5 KB
Graphic with a transparent background, 1280 × 1169 px40.4 KB73.8 KB118.4 KB198.0 KB
Screenshot, 1200 × 630 px19.8 KB39.5 KB58.5 KB84.2 KB
In all five cases the JPG came out heavier than the AVIF, even at the lowest slider setting. The product shot on an even background and the screenshot grow the most, because large flat areas are exactly what the AV1 codec stores most efficiently. We measured in a browser built on the Chromium engine, the one behind Chrome, Edge and Opera.

How does AVIF differ from JPG?

The table lines up eleven properties that show what each format can store and where it opens. The browser row gives the first version in which the format works with no extra settings.

PropertyAVIFJPG
Year the standard was published20191992
Lossy storageyesyes
Lossless storageyesonly in a mode nobody uses day to day
Transparency, the alpha channelyesno
Animation in a single fileyesno
Bits per colour channel8, 10 or 128
HDR and wide colour gamutyesno
Picture appears gradually while downloadingnoyes, in progressive mode
File weight at comparable image qualityabout halfabout double
First browser version with supportChrome 85, Edge 121, Firefox 93, Safari 16.4every version of every browser
Support built into Windowsno, a free add-on is neededyes
The lossless row needs a word of explanation: the JPEG standard describes such a mode, but graphics programs and cameras do not use it, so a file ending in .jpg is lossy in practice[3]. The browser versions come from Can I use[5], and the Windows line from Microsoft's own documentation[4].

Which quality should you set on the slider?

The Set JPG quality slider accepts values from 60 to 95 per cent and recalculates the files after every change. The last two columns give the weight of the same screenshot and the same landscape photo from the table above, saved at each setting.

Slider settingWhat it suitsScreenshot from 19.8 KB AVIFLandscape from 272.6 KB AVIF
60%An email attachment or a form with a size limit39.5 KB377.4 KB
65%A thumbnail in a product grid or a preview in a list42.0 KB410.5 KB
70%An illustration inside a blog post45.0 KB452.0 KB
75%A gallery photo viewed at modest magnification48.2 KB495.9 KB
80%A product photo in an online shop52.9 KB557.8 KB
85%The default setting, sound for most photographs58.5 KB637.0 KB
90%A photography portfolio or a file heading for further editing67.5 KB760.1 KB
95%Print material and an archive of working files84.2 KB985.8 KB
Across the full range of the slider the weight of the same file more than doubles. The landscape goes from 377.4 KB at 60% to 985.8 KB at 95%, and the screenshot from 39.5 KB to 84.2 KB. For photographs headed to a website it therefore pays to start in the lower half of the range and raise the value once visible blocks appear on even surfaces.

What opens an AVIF file on your computer?

There are a few places where you can look at an AVIF file before turning it into a JPG.

  1. A web browser

    Drag the .avif file onto an empty browser tab and the picture fills the screen. This works in Chrome from version 85, Firefox from 93, Edge from 121 and Safari from 16.4[5]. The converter on this page rests on the same ability, because it is your browser that reads the AVIF.
  2. Windows, the Photos app and File Explorer

    The image codecs built into Windows cover JPEG, PNG, TIFF, GIF, BMP and JPEG XR, and AVIF is not on that list[4]. That is why an .avif file gets a plain file icon in File Explorer, with no preview of its contents. The free AV1 Video Extension from the Microsoft Store adds the support; once it is installed, thumbnails and the Photos app start reading .avif files.
  3. A picture saved from a website

    This is how an AVIF file most often reaches you. The site serves the picture in that format, and Save image as writes down exactly what the browser downloaded, extension included. The file is perfectly valid; it just needs a program that knows the format.
  4. A change to a format everything opens

    The converter on this page writes JPG, and that opens in every graphics program and every operating system. If the picture has a transparent background and you want to keep it, reach for the AVIF to PNG converter, because PNG stores the alpha channel.

What happens to transparency, EXIF data and a very large photo?

Transparent areas are filled with white. JPG has no alpha channel, so every pixel has to be given a definite colour, and white suits most uses. We checked this on a graphic with a transparent background: a pixel described in the AVIF as fully transparent comes out of the JPG as clean white. When the background has to stay transparent, use the AVIF to PNG converter.

EXIF data does not carry over to the output file. EXIF is the record that a camera or phone attaches to a photograph: the device model, the exposure time, the date and, with location switched on, the coordinates of the place the picture was taken. We measured this on an AVIF file with a record deliberately written into it, and the resulting JPG holds no trace of it. What remains is the picture itself with an sRGB colour space description, so a photo you pass on no longer carries information about where and with what it was taken.

A single file can weigh up to 100 MB. Pictures wider or taller than 16,384 pixels, and those holding more than 268 million pixels in total, are scaled down proportionally to that limit before they are saved. This affects panoramas and large-format scans; an ordinary photograph from a camera or a phone sits well inside the range.

Convert other files to JPG

Convert AVIF to other formats

Sources

  1. AV1 Image File Format (AVIF), version 1.2.0Alliance for Open Media
  2. Image file type and format guideMDN Web Docs
  3. JPEG 1 – ISO/IEC 10918 and ITU-T T.81JPEG Committee
  4. Windows Imaging Component – codecs built into WindowsMicrosoft Learn
  5. AVIF image format – browser supportCan I use

The file sizes in the tables were measured by running finished images through this converter in a browser, and we report them the way the tool counts them. What the page says about either format rests on the sources listed above.

Content last reviewed: · written and checked by the Arteon team

Common questions about converting AVIF to JPG

Will the JPG be heavier than the AVIF?

Yes, at the default slider setting almost always. Across five measured pictures a JPG saved at 85% quality came out 2.1 to 3.3 times heavier than the AVIF. It follows from the difference between the formats: AVIF describes the same picture with fewer bytes. Setting the slider to 60% brings the result down to 1.3–2 times the weight of the source.

Why does the picture I downloaded have an .avif extension?

Because the site you saved it from serves its pictures in that format, and the browser wrote to disk exactly what it downloaded. Sites are moving to AVIF so that pages load faster. The file is fine; it just needs a program that knows the format.

What opens an AVIF file on Windows?

A browser is quickest: drag the file onto an empty tab in Chrome, Edge or Firefox. To get thumbnails in File Explorer and have the picture open in the Photos app, install the free AV1 Video Extension from the Microsoft Store. The codecs built into Windows cover JPEG, PNG, TIFF, GIF and BMP, and AVIF is not among them.

Does converting to JPG make the photo look worse?

Both formats are lossy, so saving to JPG is a second compression of the same picture and some detail goes. At 85% quality the difference only shows at heavy magnification, mostly on even surfaces. Keep your original AVIF files, because the detail dropped on the way to JPG cannot be recovered from the JPG.

What happens to a transparent background?

Transparent areas get a white fill, because the JPG format stores no alpha channel. If the background has to stay transparent, run the file through the AVIF to PNG converter.

Do my photos reach your server?

No. The whole conversion runs in your browser, on a canvas element, and the output file is created in your own device's memory. Closing the tab releases that memory.

How many files can I convert at once?

You can drag in a whole folder and click Convert once, because we set no limit on the number of files. The limit applies to a single file, which may weigh up to 100 MB. Files are processed one after another, and the progress bar shows how many are already done.

Does EXIF data stay in the JPG?

No. The camera model, exposure time, date and location coordinates do not carry over to the output file. What remains is the picture with an sRGB colour space description. For a photo you are passing on that works in your favour, because the information about where it was taken goes with the record.

What is the difference between JPG and JPEG?

They are the same format written with two extensions. This converter saves files ending in .jpg, and a program that opens JPEG will open them with no difference at all.

Can I go back from JPG to AVIF?

Yes, the JPG to AVIF converter does that. The file will be light again, though the detail dropped on the way to JPG is dropped for good, so converting from the original always gives the best result.

How do I set the slider for the lightest possible file?

Move it to 60%, the bottom of the range. A screenshot weighing 19.8 KB as AVIF then gives 39.5 KB, against 58.5 KB at the default setting. With photographs that hold large even surfaces, check the result magnified, because that is where the square blocks appear first.

What happens to a very large panoramic photo?

Pictures wider or taller than 16,384 pixels, and those holding more than 268 million pixels, are scaled down proportionally to that limit and saved at that size. This comes from the limits of the canvas element in the browser. Photographs from cameras and phones sit below those values.

Arteon free tool screenshot: Turn an AVIF file into a JPG in your browser

Help us improve our tools

Got an idea for a feature, found a bug, or want to suggest another tool? Write to us — we answer within 24 hours.

Try our other tools

JPG to WebP

JPG to WebP

Convert JPG photos to lightweight WebP. Cut image weight by up to 35%.

Online image editor

Online image editor

Resize, crop and convert your image. Ready-made formats for social media, circular avatars, export to JPG/PNG/WebP.

Meta title & description checker

Meta title & description checker

Check title and description length in pixels. Live Google preview and optimization tips.

PNG to JPG

PNG to JPG

Convert PNG files to JPG in your browser. No file limits, no signup, no server uploads.

Favicon generator

Favicon generator

Create a complete favicon.ico set for your website from one image. All required sizes, no login.

Color palette generator

Color palette generator

Generate 9 palettes from one color: monochromatic, complementary, triadic and more. HEX codes.

WebP to JPG

WebP to JPG

Convert WebP files to universally compatible JPG. Works in every app and platform.

Color contrast checker

Color contrast checker

Check text and background contrast per WCAG 2.1 AA and AAA. Automatic color correction.

Free QR code generator

Free QR code generator

Create a QR code for a website, vCard business card or print. Export PNG and SVG, no registration.

Word & character counter

Word & character counter

Count words, characters, sentences and reading time. Check readability with the Flesch-Kincaid score.