JPG to AVIF Converter

Convert JPG to AVIF free and privately.

We never see your files

They are converted right here on your device, in this browser tab.

or drop them anywhere on this page

CtrlV pastes a screenshot

Files ready

Converting

0%

Files converted

0% smaller

to

    Need every photo under 100 KB? Compress image to 100 KB

    85
    px

    How to convert JPG to AVIF

    1. Choose JPG files (.jpeg and .jfif files work too), or drag in the folder that holds your camera or phone photos. Ctrl+V pastes a photo you copied.

    2. Leave the quality at 85 for photos on a website: the AVIF looks about as good as a JPG or WebP saved at 85 and usually comes out smaller than either. Use 90 or more for product photos that shoppers zoom into. Then press Convert to AVIF.

    3. Download each AVIF from its row as soon as it is done, or get every file together in convertgod-avif.zip, ready for your site's media library.

    JPG and AVIF in brief

    What is JPG?

    JPEG, the 1992 standard behind .jpg and .jpeg files, is the format nearly every camera and phone can save. It drops detail as it saves, so the photo you have was compressed once already. Phones also write the camera model, the time and often the GPS position into it; the AVIF leaves all of that out.

    What is AVIF?

    AVIF is the Alliance for Open Media's image format, published in 2019 and free of licence fees. It borrows the compression methods of AV1, a modern video codec, and at a similar look it typically needs about half the bytes of a JPG. No browser can save AVIF by itself, so this page brings its own encoder.

    All tools

    Questions and answers

    How much space does AVIF save on a photo?

    Most photos shrink a lot; how much depends on the picture. In our tests at the default 85, a detailed 1200 × 800 street photo went from 230 KB to 144 KB, and a 12-megapixel photo saved at JPG quality 92 went from 816 KB to 150 KB. Smooth wallpapers shrank the most, one of them to a twentieth of its size.

    For comparison, WebP at the same setting made 162 KB and 216 KB of those two photos, and the street photo saved again as a JPG at 85 came to 203 KB. Every row shows the figures for your own file.

    Does a photo lose quality on the way?

    A little. The JPG lost some detail when it was first saved, AVIF compresses what is left once more, and no conversion brings lost detail back. In our measurements the AVIF at 85 kept about as much detail as a WebP made from the same JPG at 85. Keep your JPG originals, and when a photo needs editing, open the JPG rather than the AVIF.

    Can I use AVIF photos on my website?

    Yes. Every major browser shows AVIF today: Chrome since 2020, Firefox since 2021, Safari since iOS 16 and macOS Ventura in 2022, and Edge only since version 121, in January 2024. For the others, put each photo in an HTML picture element with an AVIF source and your JPG as the image; browsers that cannot show AVIF skip it and load the JPG.

    In WordPress, the media library takes AVIF from version 6.5 on, as long as your host's image library can process it (Tools > Site Health > Info > Media Handling lists the formats). Google Search added AVIF to the image formats it indexes in 2024.

    Can I share AVIF photos as easily as JPGs?

    Not everywhere. Apple's Messages app has been reported to show an AVIF as a small card with its name and size instead of the picture, on iPhones and Macs alike. On Windows, Word, PowerPoint, Excel and Outlook insert AVIF only once Microsoft's free AV1 Video Extension is installed through the Store app, and the Photos app and File Explorer previews reportedly depend on it too. Figma's list of supported image files leaves AVIF out.

    For sharing and documents, send the original JPG; if it is gone, AVIF to JPG makes a new one.

    Will AVIF photos make my pages load faster?

    Where photos are the heaviest part of a page, yes: fewer bytes arrive sooner. That counts in Google's Core Web Vitals, which include Largest Contentful Paint, the moment the biggest element in view, often a photo, has been drawn. One difference from JPG: a browser shows an AVIF only after the whole file has arrived, while a JPG can be drawn bit by bit as it loads, so on a slow connection the AVIF appears in one go.

    What happens to a 50-megapixel photo?

    It is scaled down before it is saved. Encoding AVIF takes over 400 MB of memory for a 12-megapixel photo, so pictures are capped at 48 megapixels on a computer and at about 16.7 on phones and tablets. A 50-megapixel photo therefore loses very little on a computer but about two thirds of its pixels on a phone. The proportions stay, and the row lists both pixel sizes, followed by "(browser limit)". To choose the size yourself, enter a Max width.

    How long does a folder of photos take?

    On a fast desktop in our tests, a 1200 × 800 photo took a quarter of a second, a 12-megapixel one about a second and a 25.6-megapixel picture 1.8 seconds, and a computer works on several photos at once. A phone converts large photos one at a time and is slower; expect a few seconds each. No browser ships with an AVIF encoder, so before the first photo the page downloads ours, about 1 MB, and keeps it for the batch.

    Your photos are not uploaded: this tab reads them from your disk and does the encoding itself. Cancel stops the batch at any point.