Guide

WebP and AVIF images saved from the web

WebP and AVIF are image formats built for websites. They make smaller files than JPEG, so many sites use them, and an image you save from the web may be one of them. Safari has read WebP since Safari 14 and AVIF since iOS 16. Your camera never makes them. If an app or a website won’t take one, share a JPEG copy or convert it with a free converter.

Coming soon to the App Store

Last checked

Why you have them at all

Your camera doesn’t make these files. In Settings, Camera, Formats, choosing Most Compatible makes all new photos and videos use JPEG or H.264; choosing High Efficiency returns to the space-saving HEIF and HEVC formats. WebP and AVIF come from outside: an image you save from a web page, or a picture from an app.

Websites like them because they are small, so pages load fast. MDN, the web guide run by Mozilla, gives figures:

  • MDN says lossy WebP images are on average 25 to 35 percent smaller than JPEG at similar visual quality, and lossless WebP images typically 26 percent smaller than the same images as PNG.
  • MDN describes AVIF as an open, royalty-free format that stores AV1 data in the HEIF container, with lossy AVIF images around 50 percent smaller than JPEG.

MDN says the AVIF figure comes from an outside test (MDN). Treat both as rough averages, not a promise for any one image.

What each format is

Format What it is Opens in Safari since
WebP An open format, lossy or lossless, that can move and be see-through Safari 14
AVIF AV1 image data in the HEIF wrapper Safari for iOS 16
JPEG XL A newer format that can shrink a JPEG with no loss Safari 17 on iOS 17
HEIC HEVC image data in the HEIF wrapper: the camera’s own format Safari 17

The Safari dates are from the WebKit team’s own posts:

  • Safari 14 added support for the WebP open-source image format, which WebKit says gives smaller files for lossy and lossless images with transparency and animation.
  • Safari for iOS 16 added support for still images in the AVIF format, which WebKit describes as an alternative to JPEG, PNG, GIF and WebP developed by the Alliance for Open Media.
  • Safari 17.0 on iOS 17 added JPEG XL; WebKit says re-compressing a JPEG as JPEG XL loses no quality and cuts its size by an average of 20 percent.

AVIF and HEIC are related. Microsoft describes HEIF as a container that can use different compression methods: files compressed with HEVC typically use .heic, and files compressed with AV1 typically use .avif. So a .avif file and your camera’s .heic photos share a wrapper. The squeezing inside is different. For the camera’s own format, see what is a HEIC file.

When an app or website refuses one

Safari can read these formats, but that doesn’t mean every app can. A form, an old app or a print shop may take only JPEG or PNG.

Apple lists what iCloud Photos keeps “in their original formats at full resolution.” The list names HEIF, JPEG, RAW, PNG, GIF, TIFF, HEVC and MP4 (Apple Support). WebP and AVIF aren’t on that list. Apple doesn’t say what happens to them. If a web image matters to you, keep a JPEG or PNG copy too.

Convert a WebP or AVIF image

Three ways, simplest first.

  1. Share a compatible copy. When you share from Photos, you can pick the format. When sharing from Photos, the options let you choose Automatic for the best file format for the destination, Current to prevent conversion, or Most Compatible, where files may convert to JPEG or MOV. Choose Most Compatible. Apple says files “may” convert to JPEG, so check what arrives.
  2. Use a converter in your browser. Our image converter turns a WebP into a JPEG or PNG. It shows the size before and after.
  3. Save it differently next time. If the site offers a download button with a format choice, pick JPEG.

Watch the size. A WebP turned into a PNG can grow a lot, since PNG keeps every pixel. For photos, JPEG is lighter. For screenshots and text, PNG keeps them sharp; see why screenshots are PNG.

Saved images and duplicates

Saved images pile up in twos. You save one from a site, then a friend sends you the same picture. Duplicate photos from WhatsApp and saved images covers how to find them. And if you converted a WebP to JPEG, delete the WebP once the copy looks right. Otherwise you now have two.

Where Keepable helps, and where it doesn’t

It doesn’t convert WebP or AVIF images, or change the format of anything you save. For that, use the share options in Photos (iPhone User Guide) or the image converter.

It helps find saved images you have twice. Photos are compared at any size within the same shape, so a resized copy, such as a photo saved back from WhatsApp, meets its original. Portrait and landscape, or 4:3 and 16:9, are never compared.

It helps you go through saved images in one sitting. In swipe review you swipe left to delete, right to keep, and up to sort the photo into an album.

Questions and answers

Does my iPhone camera ever take WebP or AVIF photos?

No. The camera saves photos as HEIF or JPEG, depending on Settings, Camera, Formats, or as ProRAW on Pro models. WebP and AVIF arrive from the web, from apps and from messages.

Are WebP images lower quality?

Not by nature. WebP can be lossy or lossless, and MDN says lossy WebP is on average 25 to 35 percent smaller than JPEG at similar visual quality. What you get depends on how the website saved it.

Is AVIF the same as HEIC?

They are cousins. Both live in the HEIF container. Microsoft explains that HEIF files compressed with HEVC usually end in .heic, and those compressed with AV1 usually end in .avif.

Sources

What this page says about Keepable was checked against the app on .

Last checked:

Get Keepable

Keepable is free to use every day, and Keepable Pro is an optional upgrade.

Coming soon to the App Store