Convert JPG to AVIF

Convert JPG photos to AVIF for the smallest possible web images, often half the size of JPG. Batch convert in your browser, no upload.

Your files are processed in your browser and never uploaded.

65

Higher means better quality and larger files.

Drop images here

Choose files

JPG, JPEG · up to 50 megapixels each · you can also paste

How to use

  1. Add your JPG files by dragging them in or clicking "Choose files".
  2. AVIF is selected. Set the quality; 60–70 is often visually equivalent to a JPG at 85–90.
  3. Wait a few seconds per photo while the AV1 encoder works, then download the files or a ZIP.

Features

Roughly half the size
AVIF files are commonly 40–50% smaller than JPG at similar visual quality.
Modern browser support
Chrome, Edge, Firefox and Safari (16 and later) all display AVIF.
AV1 encoder in your browser
The libavif/libaom encoder runs as WebAssembly on your device. No uploads, no server queue.
Batch support
Queue up a whole folder; files encode in parallel in background threads.

Why AVIF?

AVIF is based on AV1, a royalty-free video codec developed by the Alliance for Open Media, whose members include Google, Mozilla, Apple, Microsoft and Netflix. Applied to still images, AV1’s advanced prediction and filtering tools produce remarkably small files. Compared with JPG, AVIF avoids blocky artefacts at low bit rates, handles smooth gradients such as skies far better, and supports transparency, HDR and wide colour gamuts.

For website owners, the attraction is simple: images that are roughly half the size of JPGs load faster and improve Core Web Vitals, particularly Largest Contentful Paint, which is often a photo.

The trade-offs

AVIF has two practical costs. First, encoding is slow; this converter uses a fast encoder setting to keep the wait reasonable, but it will still take noticeably longer than JPG or WebP. Second, support outside browsers is incomplete: some image editors, content management plugins, email clients and social platforms do not accept AVIF. Treat AVIF as a delivery format for your own website and keep the original JPGs as masters.

How the conversion works

The JPG is decoded with MozJPEG’s decoder in a background Web Worker and rotated according to its EXIF orientation. The pixels are then encoded with libavif using the libaom AV1 encoder, compiled to WebAssembly. Camera metadata is not carried over. Everything runs on your device.

Is the wait worth it?

For a handful of hero images or a product catalogue that will be viewed thousands of times, yes: you pay the encoding time once, and every visitor benefits from the smaller download. For quick one-off sharing, WebP or JPG is the more practical choice.

Getting the best results

For a faster alternative with excellent support, try JPG to WebP.

Frequently asked questions

Why does AVIF encoding take longer?

AVIF uses the AV1 video codec, which searches far more options than JPG to achieve its compression. Expect a few seconds per 12 MP photo, versus a fraction of a second for JPG. Resizing large photos first speeds it up considerably.

What quality setting should I use?

AVIF quality numbers are not comparable to JPG. Around 60–70 in AVIF typically looks like 85–90 in JPG. Start at 65 and compare.

Can I use AVIF everywhere?

On the web, yes, in all current browsers. Outside the browser, support is patchier, so do not use AVIF for email attachments or files you send to others.

AVIF or WebP?

AVIF is usually smaller at the same quality, especially for photos with smooth gradients. WebP encodes much faster and has slightly broader support in older software. Both are good choices for websites.

Popular conversions

Related tools