IT Image Tools

AVIF Converter — JPG, PNG, WebP to AVIF

Convert JPG, PNG and WebP images to AVIF, or AVIF to PNG, in your browser. Batch conversion with quality and speed controls — no uploads.

🔒 Runs entirely in your browser — nothing is uploaded

Drop JPG, PNG, WebP or AVIF images here or click to browse

JPG / PNG / WebP → AVIF. AVIF → PNG. Multiple files are converted one after another.

Advertisement

Why convert images to AVIF?

AVIF is a modern image format based on the AV1 video codec. At the same visual quality it is typically much smaller than JPG and noticeably smaller than WebP, and it supports transparency, wide color and high dynamic range. Smaller images mean faster page loads, better Core Web Vitals scores, lower bandwidth bills and less storage. This AVIF converter lets you turn existing JPG, PNG and WebP files into AVIF, and turn AVIF files back into PNG when a program cannot open them.

Everything happens locally. The first time you convert an image, the page loads a WebAssembly build of the libavif encoder (via the jsquash project) from this website. After that, each image is decoded, compressed and packaged on your own device — nothing is uploaded, so there are no size limits, queues or privacy concerns. You can drop many files at once; each row in the table shows the original size, the new size and the percentage saved.

Quality, speed and lossless mode

The quality slider trades size for fidelity. Values around 50–60 are a good default for photographs; artifacts are hard to spot while savings compared with JPG are often 50% or more. Screenshots, diagrams and images with small text may need a higher value. Encoder speed ranges from 0 (slowest, smallest file) to 10 (fastest). The default of 6 is a sensible balance; very large photos encode faster at 8–10. Lossless keeps every pixel exactly, which suits graphics and archiving, but the files are much larger than lossy AVIF.

Using AVIF on the web

All current major browsers display AVIF, but some older apps, email clients and editors do not. On a website you can serve AVIF with a fallback using the picture element: list the AVIF source first and a JPG or WebP image as the default. Keep your originals, compare the result visually before replacing files, and remember that re-encoding an already heavily compressed JPG cannot restore lost detail — start from the best source you have.

How to use

  1. Add imagesDrop one or more JPG, PNG, WebP or AVIF files.
  2. Set quality and speedPick an AVIF quality, an encoder speed, or turn on lossless mode.
  3. ConvertImages are converted one by one, with before and after sizes for each file.
  4. DownloadSave single files from the table or download everything as one ZIP.

Frequently asked questions

Are my images uploaded to convert them to AVIF?
No. The AVIF encoder is a WebAssembly build of libavif that runs inside your browser. It is loaded only when you start a conversion, and your images never leave your device.
What quality setting should I use?
For photos, a quality of 45–65 usually looks very close to the original while being much smaller than JPG. Increase it for images with fine text or gradients, or enable lossless for pixel-perfect graphics.
Why is encoding slower than JPG or WebP?
AVIF compresses more aggressively, which takes more work. Raise the encoder speed for faster results, or lower it to squeeze out a few more percent of file size when you have time.
Can I convert AVIF back to PNG?
Yes. Drop an AVIF file and it is decoded to a lossless PNG, using the browser's built-in decoder or a WebAssembly fallback.
Do all browsers display AVIF?
Current versions of Chrome, Edge, Firefox and Safari display AVIF. For older software, keep a JPG or WebP fallback, for example with the HTML picture element.
Advertisement