Searching...
No tools found

Convert JPG to AVIF Free

Convert JPG to AVIF in your browser — nothing is uploaded. AVIF is usually smaller than JPEG, and the tool keeps your JPEG whenever AVIF cannot beat it.

Runs in your browser — nothing is uploaded. Verify it

About the Convert JPG to AVIF Free

Convert JPG to AVIF in your browser, with the encoder running on your own machine — nothing is uploaded. AVIF is the smallest widely supported image format on the web, and it is the one common format the rest of this site cannot reach from a JPEG: measured in Chrome on this page, a noisy 600×600 photographic JPEG of 54,630 bytes became 22,092 bytes of AVIF at quality 50, while WebP at quality 90 on the same image was 33,770 bytes. The tool also checks the result against your original, because AVIF does not always win — a small, already-tight JPEG can encode to a larger AVIF, and that row says so instead of claiming a saving.

Most AVIF converters that rank for this query send the file to a server, which for a client logo or an unpublished design is the part that matters. This one does not: the encoder is a WebAssembly build of libavif that runs inside the page, so the pixels are read from your own machine, encoded in your own browser and handed straight back. You can disconnect from the internet after the page loads and it will still work. The gain is real but it is not uniform, so every row reports a measured before-and-after number rather than a promised percentage.

How to use the Convert JPG to AVIF Free

  1. Select one or more JPG images, or drag them onto the page.
  2. Leave the quality at Balanced — 50 unless you have a reason to move it; 35 is for thumbnails and 65 or 80 for an image that is the product.
  3. Leave the fallback on "Give me the smaller file" so a JPEG that AVIF cannot beat is handed back untouched, or switch it to "Give me AVIF anyway" when a site requires the format.
  4. Read the before-and-after size on each row, then download the files individually or as a ZIP.

Frequently asked questions

Is AVIF actually smaller than JPEG?

Usually on photographs, and by a useful margin — but the size of the win depends on the quality setting, which is what makes it worth measuring. On a noisy 600×600 photographic JPEG of 54,630 bytes: AVIF at quality 50 came out at 22,092 bytes (about 60% smaller), while WebP at quality 90 on the same image was 33,770 bytes. Push AVIF to quality 80 on the same image and it grows to 41,120 bytes, still smaller than the JPEG but no longer beating WebP. Quality 50 in libavif is roughly where a JPEG at 80 sits, which is why it is the default here.

Why did I get my JPEG back instead of an AVIF?

Because the AVIF was not smaller. AVIF is efficient on photographs but it is not free: it carries container overhead that a small JPEG does not pay, and an already-tight JPEG can beat it. When the AVIF loses, the row says "JPEG is smaller" and hands the original back unchanged rather than quietly making your page slower. Switch the fallback setting to "Give me AVIF anyway" if you need the format regardless of the size.

Does converting change the image dimensions?

No. The pixel dimensions are copied through untouched, so an 800×600 JPEG produces an 800×600 AVIF. A format conversion and a resize are different jobs, and this tool only does the first. If you need a smaller pixel count as well, resize first and then convert.

Are my images uploaded to a server?

No, and that is the reason the tool can exist at all. The AVIF encoder is a WebAssembly build of libavif that runs inside the page, so the pixels are read from your own machine, encoded in your own browser and handed straight back to you. Most AVIF converters that rank for this query send the file to a server, which for a client logo or an unpublished design is the part that matters.

Will the AVIF open everywhere?

In every current browser. AVIF shipped in Chrome 85, Firefox 93 and Safari 16, and it is now supported by all of them on desktop and mobile, so a plain tag is enough. The one place it still needs care is older software outside a browser — some desktop editors, print tools and older CMS uploaders do not read AVIF yet, in which case keep the JPEG as well.

Is there a size limit?

Images up to 40 megapixels, which is well beyond any phone or consumer camera. The limit exists because the encoder runs on the main thread and libavif needs several bytes per pixel on top of the decoded bitmap the browser is already holding; past that a tab starts running out of memory rather than failing cleanly. If you hit it, resize the image below 40 megapixels first and then convert.

Guides

More Image tools