Free tool

Runs in your browser

JPG to AVIF converter

Convert JPG photos to AVIF in your browser. AVIF is often the smallest format for photos on the web, and nothing is uploaded.

1 · Add images

2 · Settings

Each image is converted to AVIF at its original size.

80

Need several widths and srcset markup? Use the full responsive image converter.

3 · Converted images

Loading the sample image…

Why convert JPG to AVIF

AVIF is based on the AV1 video codec and is often another 20 to 50 percent smaller than WebP, which is already smaller than JPEG. It does best on smooth gradients and soft backgrounds, and the gap narrows on fine detail like foliage or fabric.

All the major browsers display AVIF: Chrome since version 85, Firefox since 93, Safari since 16.4 and Edge since 121. Creating AVIF is another matter: most browsers can’t write it from a web page. When yours can’t, this page loads its own encoder, libavif compiled to WebAssembly, about 1 MB the first time.

AVIF quality numbers don’t match JPEG’s, so the default here is 70. Compare the result at the size it will display. To serve AVIF with a WebP and JPEG fallback, the full responsive image converter writes the <picture> markup for you.

Questions

Do I still need a JPEG?

For a website, keep a fallback for older browsers by serving AVIF inside a <picture> element. For email and other apps, keep the JPEG.

Are my photos uploaded?

No. The encoder runs in your browser, inside this page, so the photos never leave your device.

More tools

Free tools that run in your browser

Responsive image converter

Turn one image into WebP, AVIF and JPEG at every width, with picture markup ready to paste.

2.4 MB → 142 KB

Font subsetter

Keep only the characters your site uses and ship the font as WOFF2, with @font-face CSS.

207 KB → 35 KB

SVG optimizer

Strip editor clutter from SVGs and export them as inline SVG, React components or CSS.

12 KB → 3.0 KB

Favicon generator

Turn one logo into favicon.ico, an SVG icon, home screen icons and a web manifest.

1 logo → 6 icons