JPG to AVIF Converter (PNG too)

Convert JPG and PNG images to AVIF — the smallest modern image format. Free, private, in-browser AVIF encoder.

30 free files every 24 hoursUnlimited with Pro →

Private by design — your files never leave your deviceEverything is processed right here in your browser. Nothing is uploaded to our server, nothing is stored, and your files are gone when you close the tab.
  • No upload
  • Not stored
  • No sign-up

This JPG to AVIF tool converts your JPG and PNG images into AVIF files, a modern format that is often 30–50% smaller than JPG at the same visual quality. It is free, runs entirely in your browser, and suits anyone who wants faster web pages: site owners, bloggers, developers and designers.

How do you convert JPG to AVIF?

The tool works in three steps. Nothing is uploaded, because the conversion happens on your own device.

  1. Choose your image or drop it into the box. You can add JPG or PNG files, and several at once if you want to convert a batch.
  2. Set the quality. 60% is a good balance between file size and appearance, so start there.
  3. Wait for the encoder, then download the finished AVIF file.
How to use the JPG to AVIF on OneHubTools: 3 steps with a real screenshot of the tool
How to use the JPG to AVIF, step by step.

This tool pairs well with the AVIF to JPG. If you do this kind of job often, the Image to WEBP and the Image Compressor can save you time too.

Each image can take a few seconds. That is normal for AVIF, and it is most noticeable on phones.

What is AVIF good for?

AVIF is built for one job: delivering good-looking images in very small files. Smaller files mean pages that load faster, and that helps both visitors and search performance. Here are some practical uses.

  • Blog and article photos. Large header images are often the heaviest part of a page. Converting them is a quick win.
  • Product and portfolio images. Shops and galleries load many pictures at once, so savings add up.
  • Logos and graphics with transparency. The tool keeps transparency, so a PNG with a see-through background can become an AVIF without a white box appearing.
  • Saving storage or bandwidth. Smaller files take less room and are quicker to send.
Result from the JPG to AVIF on OneHubTools
What the JPG to AVIF gives you.

JPG vs AVIF at a glance

PointJPGAVIF
File sizeLargerOften 30–50% smaller at the same visual quality
TransparencyNot supportedSupported, and kept by this tool
Browser supportWorks everywhereCurrent Chrome, Edge, Firefox and Safari 16+
Encoding speedFastSlower, since compression is more complex

Tips for the best results

  • Start at 60%. Compare the result with your original. If you see blocky areas or soft edges, raise the quality a little and convert again.
  • Keep your originals. Store the source JPG or PNG somewhere safe. You may want to re-export at a different quality later.
  • Test a photo and a graphic. Detailed photos and flat graphics compress differently, so check each type before converting a whole folder.
  • Convert in batches on a computer. Encoding is heavier than JPG, so a laptop or desktop will usually be quicker than a phone.
  • Plan a fallback. Older browsers may not show AVIF, so keep a WEBP or JPG version for them.

Will AVIF work in every browser?

Not in every browser, but in the main current ones. Chrome, Edge, Firefox and Safari 16 or newer all display AVIF. If some of your visitors use older software, serve a WEBP or JPG fallback alongside the AVIF file. That way nobody sees a broken image.

Why is converting to AVIF slow?

AVIF compression is complex, so it needs more computing power than JPG. This converter uses the open-source libavif encoder, compiled to WebAssembly, and it runs on your own device. That is why speed depends on your processor. A large photo on an older phone will take longer than a small image on a modern computer.

Common problems and how to avoid them

  • The file looks worse than expected. The quality setting is probably too low for that image. Raise it and try again.
  • The image will not show on an old device. That browser likely lacks AVIF support. Add a WEBP or JPG fallback.
  • The page seems to hang. Give it a few seconds per image. Converting one file at a time on a phone can help.
  • You expected a bigger saving. Savings vary by image. The 30–50% figure is common, not guaranteed.

Why use an in-browser AVIF converter?

Because your pictures stay with you. The tool encodes files locally, so you do not have to send personal photos or client work to a server. It is free to use, and the encoder is open source. If you need to convert JPG to AVIF online for a quick job, you can open the page, drop in the file and download the result.

Limits and specs

PriceFree
Free use30 files every 24 hours — shared with 67 other tools in the “Standard files” group
Max file size (free)50 MB per file
Files per run (free)up to 10
Input formatsJPG, JPEG, PNG, WEBP, BMP
Where it runsIn your browser — files are not uploaded to a server
Sign-upNot needed
Muhammad Shahwaiz Gillani
Maintained and reviewed by Muhammad Shahwaiz GillaniSoftware engineer and founder of OneHubTools · Last reviewed

How we checked it: We tested it in Chrome with real phone photos and screenshots (JPG, PNG and WEBP) and compared the result with the original file.

Sources

According to MDN Web Docs, JPEG has been the most widely used photo format for more than 30 years, while PNG is preferred for graphics that need sharp edges or transparency. A 12-megapixel phone photo is typically around 3–5 MB as a JPEG.

Spotted a mistake or the tool did not work for you? Tell us and we will fix it.

Rate this tool

Ratings come only from signed-in users, so every rating is verified.

Only signed-in users can rate tools, so every rating shows a ✔ Verified badge.Sign in to rate

Frequently asked questions

How do I convert JPG to AVIF for free?

Open this page, drop your JPG into the box, set the quality and download the AVIF file. The tool is free to use and needs no software install.

Are my images uploaded anywhere?

No, your images are processed in your browser. The AVIF encoding runs on your own device, so your files are not sent to a server.

Can I convert PNG to AVIF as well?

Yes, the tool accepts both JPG and PNG images. Transparency is kept, so PNG files with see-through backgrounds stay transparent.

What quality setting should I use?

60% is a good balance between size and appearance, so start there. If the result looks too soft, raise the quality and convert again.

Do all browsers support AVIF?

Current Chrome, Edge, Firefox and Safari (16 and newer) display AVIF. For older browsers, also provide a WEBP or JPG fallback.

Why is AVIF conversion slow?

AVIF compression is complex, so it takes more work than JPG. It runs on your own device, so the speed depends on your processor, and phones are often slower.

Related tools

All image tools →