Feedback

AVIF Converter

Converts JPG, PNG and WebP to AVIF with libavif right in your browser. Transparency is kept; together with WebP and JPG it builds a picture element that works in every browser.

Drop images or folders here

or

Images are processed in your browser and never uploaded. Metadata (including GPS) is removed unless you choose “Keep metadata”.

Output format

With nothing selected, each file keeps its format. Several formats produce a picture element. Only a few browsers show JPEG XL by default so far (Safari 17 and later). It only appears in the markup as an extra source.

Size, multiple formats and markup
Size
Markup for your site

Replace alt="" with a fitting alternative text.

Before After

From the Solo plan

Once the images are replaced, daily measurement in a plan shows the effect: lab and field data per URL over time, with an email on drops and optionally on improvements.

AVIF for the smallest photos

AVIF is based on the AV1 video codec and often produces the smallest files for photos. Chrome 85 and later, Firefox 93 and later and Safari 16.4 and later show AVIF. Encoding takes longer than JPG or WebP, so the compressor runs at most two parallel processes for AVIF.

Images for websites: sizes, formats and srcset

An image should only be as wide as it is displayed. The responsive series creates widths from 480 to 1,920 pixels, and the browser picks the right one through srcset and sizes. The picture element lists AVIF first, then WebP, with JPG or PNG in the img element as the fallback.

width and height on the img element reserve the space before the image loads and so prevent layout shifts (CLS). For the largest image in the visible area, usually the LCP element, the "LCP image" option sets fetchpriority="high" and leaves out loading="lazy".

Processing in your browser

All images are processed on your device, nothing is uploaded. Metadata such as camera data and GPS coordinates is removed unless you choose “Keep metadata”, and the orientation is applied to the pixels first. The limit is your device's memory and processor; images over 50 megapixels are skipped.

After a run the compressor can send anonymous numbers: format, size, pixel dimensions, savings and duration, never file names or images. The switch below the drop zone turns this off; with Global Privacy Control active it is off from the start.

Other formats

FAQ

Why does AVIF take longer?

AVIF searches harder for the most compact representation. The compressor uses speed level 6 as a trade-off between time and size.

Do all browsers support AVIF?

Chrome 85+, Firefox 93+, Safari 16.4+ and Edge 121+ (source: caniuse.com/avif). Older browsers need WebP or JPG behind it.

Does AVIF keep transparency?

Yes. AVIF stores an alpha channel, transparent areas are kept.

Are my images uploaded?

No. Processing runs entirely in your browser. At most anonymous numbers (format, size, savings) go to PerfDelta, and you can turn that off.

How many images can I compress at once?

There is no fixed limit. Your device's memory and processor set the limit.

More free tools

All free tools →

Third-party licenses

Encoding uses jSquash (Apache-2.0) with mozjpeg, libwebp, libavif, libjxl and oxipng, plus UPNG.js and fflate (MIT). Full license texts: THIRD_PARTY_LICENSES.txt

A free account saves your tests and shows how your values change from one test to the next. Daily monitoring with field data and alerts starts with the Solo plan.