Loading your files…

Convert JPG to AVIF for lighter photos

Turn a JPEG into an AVIF made for web pages, one file or up to 10 at once, free and with no sign-up.

or drop the image here

Upload your image
How to convert JPG to AVIF online

How to convert JPG to AVIF online

Drag a JPEG onto the upload area, or click it to pick a file from your device. The picker accepts .jpg and .jpeg files. Then press Convert to AVIF. A single JPEG is sent to our server, which encodes it as AVIF and returns the result. If that is not possible, the AVIF is encoded on your device instead. To convert several JPEG files at once, drop up to 10 files together. They are converted on our server and handed back as one download. When the result is ready, Download image saves one AVIF and Download all saves the batch. The file keeps its name and gets the .avif extension.

Upload your image
How much smaller will the AVIF be?

How much smaller will the AVIF be?

It depends on the photograph. AVIF is built to store a picture in fewer bytes than JPEG at a similar look, and smooth areas such as skies, walls and skin tend to shrink the most. Busy detail such as foliage, fabric and film grain shrinks less. The converter has no quality slider. Every file is written at one fixed quality, chosen to keep photographs close to the JPEG. Compare the two file sizes in your file manager. If a JPEG that was already compressed very hard gives no saving, keep the JPEG and move on. A saving you cannot measure is not worth a second compression. Try a portrait, a landscape and a screenshot, because each one reacts differently.

Upload your image
Does AVIF work everywhere?

Does AVIF work everywhere?

Current versions of Chrome, Firefox, Safari and Edge open AVIF. Older software is where it fails. On Windows, Photos and File Explorer may need an add-on from the Microsoft Store before they show an AVIF. Many older image editors cannot open it, and many print services and online shops still want JPEG. On your own website you can serve both. The HTML picture element lists the AVIF first and a JPEG second, and each visitor's browser takes the first format it can read, so older browsers still see the photograph. Nobody sees a broken image, and the AVIF reaches everyone whose browser can show it.

Upload your image
When to use AVIF and when to keep JPEG

When to use AVIF and when to keep JPEG

Use AVIF for photographs on pages you control: hero images, galleries, product shots and anything a content delivery network serves to modern browsers. Keep JPEG for files that travel, and use AVIF for files that stay on your own pages. Email attachments, uploads to third-party sites, print orders and anything a colleague will open in older software are safer as JPEG. A sensible habit is to keep the JPEG as your master and treat the AVIF as a delivery copy. That way you can always make a new AVIF later, and you never depend on an app that cannot read the format. Re-encoding later from the JPEG is also better than converting an AVIF onward.

Upload your image
Where your photo is processed

Where your photo is processed

Among the format converters, AVIF is the one output your browser does not simply write itself, so the route differs. A single JPEG goes to our server first, which writes the AVIF, and the encoding finishes on your device only when that fails or the file is too large to send. Several JPEG files go to the server too, possibly as soon as you add them, with up to 10 files and 75 megabytes in total. Your device takes over only if the server cannot take the batch. A batch is deleted in about 2 hours, and the Delete from server now button removes it at once. For a single JPEG, the server keeps the finished AVIF in a cache for up to 30 days after its last use.

Upload your image
Is AVIF better than WebP?

Is AVIF better than WebP?

For file size, AVIF usually wins on photographs, which is why it suits pages where every byte counts. WebP is the older of the two, easier to write and read by a wider range of older software. If your audience and your tools are modern, AVIF is the stronger choice for photos. If you also need to reach dated browsers and apps without a fallback, WebP is safer. Both beat a JPEG on size at similar quality, and both read in current browsers. To go from JPG to WebP instead, use the JPG to WebP converter, which is linked below. AVIF is the slower route to the same goal, and the saving is the reason to accept the wait.

How it works

  1. Drop or pick your JPEG

    Click the upload area or drag a JPEG onto it. Then press Convert to AVIF. You can add up to 10 files in one batch.

  2. Let the encoder work

    AVIF takes longer to write than other formats, so keep the tab open while the progress ring runs. The work happens on our server, with your device as the fallback for a single file.

  3. Compare the file sizes

    Check the AVIF against your JPEG in your file manager. If the AVIF is not clearly lighter, keep the JPEG.

  4. Download the AVIF

    Click Download image for one file or Download all for a batch. The name stays the same and the extension becomes .avif.

Related tools

Reverse the conversion, or compare other formats for your photos.

Frequently asked questions

How do I convert a JPG to AVIF?

Open this page, drag your JPEG onto the upload area and press Convert to AVIF. When it finishes, click Download image to save the AVIF. The file keeps its name and gets the .avif extension. You can also drop up to 10 JPEG files together and get one download back. It works on Windows, Mac, Linux, iPhone and Android, because the page runs in any current browser.

Is AVIF the same as JPG?

No. Both are compressed formats for photographs, but AVIF is newer and is built to give smaller files at a similar look, and it comes from video compression, which is why it is slower to write. AVIF can also hold transparency, which JPEG cannot. The catch is acceptance. A JPEG opens in almost every program ever made, while AVIF is still refused by some older editors, upload forms and print services.

What program opens an AVIF file?

Current Chrome, Firefox, Safari and Edge open it by dragging the file into a window. On Windows, File Explorer and Photos may need an add-on from the Microsoft Store. Recent image editors read AVIF, while many older ones do not. If a program will not open your AVIF, the AVIF to JPG converter on this site turns it back into a JPEG, and on a phone a current browser will usually show the picture when the gallery app does not.

Can I bulk convert JPG to AVIF?

Yes, up to 10 files with 75 megabytes in total per batch. The files go to our server, are converted together and come back as one download. The cap is lower than for other formats because AVIF is the slowest format to encode and a large batch of AVIF files takes time. A batch is deleted from the server in about 2 hours, and the Delete from server now button removes it earlier.

Can I choose the AVIF quality?

No. Every file is written at one fixed quality, chosen to keep photographs close to the JPEG while the file shrinks. There is no slider, so you cannot make the file smaller by accepting visible damage. If you want finer control, an image editor with an AVIF export lets you set the quality yourself, and this converter is meant for the quick job with no settings.

Will the AVIF look worse than my JPEG?

On photographs at normal size it should look very close. But both formats are lossy, so this is a second compression of a file that was already compressed. Blocky edges and noise in the JPEG are encoded into the AVIF as well. Zoom in on a few results before converting a whole library, and keep your JPEG originals.

The details

Format, usage and framing details for a cleaner result.

Why AVIF takes longer to write than a JPEG
AVIF comes from video compression. To pack a picture tightly, the encoder tries many ways of predicting each block from its neighbors and keeps the best one. A JPEG encoder does far less of that searching, so it finishes quickly. The price is time. A large photograph can take a noticeable while to encode, and a phone is slower than a computer. That is why you see a progress ring and a request to keep the tab open. The wait buys a smaller file. You pay it once per photograph, and the AVIF can then be reused on every page that shows it.
What happens to a single JPEG you drop here
A single JPEG is sent to our server first, because encoding AVIF there is much faster than on most devices. If the server cannot take the job, or the file is over 20 megabytes, your device writes the AVIF instead, which can take longer. When our server does the work it limits the longest side to 4,096 pixels, so a larger photograph is scaled down to fit. It also drops one row or column of pixels when a side is an odd number. Neither affects an ordinary web photograph. If you need an exact size, resize the JPEG first with the resize tool, then convert it.
Photographs, hero images and page speed
Largest Contentful Paint is a Core Web Vitals measure of how quickly the biggest visible element loads, and on most pages that element is a hero photograph. A lighter hero image has less to download, which helps that measure on slower connections. Convert the biggest images first, because they carry the most weight. Serve the AVIF with a JPEG fallback inside the picture element, so older browsers still show the photograph. Content delivery networks can also choose the format for each visitor from the browser's Accept header, once AVIF versions exist. Check the result with a speed test on a real page.
Compression on top of compression
A JPEG is already a lossy copy of a scene. Converting it to AVIF compresses that copy again, and the encoder treats the JPEG's blocks and noise as picture detail worth keeping. So a poor JPEG gives a poor AVIF, only smaller, and a heavily compressed JPEG may shrink very little. Start from the best JPEG you have, ideally the camera original or a high quality export. Never convert a chain of copies, because each pass can cost a little more detail. One careful conversion from the original is better than several from copies, and it keeps your AVIF as close to the scene as the JPEG allows.
Where AVIF fails after the conversion
A site that serves AVIF is only as safe as the tools that touch the file afterwards. Some content systems, image plugins and ad platforms still re-process uploads and reject or mangle AVIF. Email and messaging apps may show it as a blank box. Print labs and stock agencies usually ask for JPEG or TIFF. Before you replace a whole library, upload one converted file through every step it will pass through, and see what comes out. A broken step is easier to find with one file than with a thousand. Keep the JPEG masters, because they are the safe copy for anything that goes outside your site.
A practical workflow for a photo library
Start with the images that cost the most, such as hero images and the largest gallery photographs. Convert them in batches of up to 10 files, and download each batch as one file. Open a few results at full size and compare them with the JPEG originals. Then add the AVIF to the page with the JPEG as a fallback, and measure the load time before and after on your own pages. Keep the originals in a separate folder so you can change your mind. Convert more only when you are happy with what the first group shows. A JPEG to AVIF round can then become a routine, not a project.