Convert JPG, PNG, or WebP images to AVIF directly in your browser. AVIF is 40-60% smaller than JPEG at the same quality β the dominant web image format in 2026. No software to install, no upload, no signup.
Drop your JPG, PNG, or WebP files here or click to browse
Up to 20 files (Pro = 200) Β· Browser-based, no upload
Drop your images
Drag and drop JPG, PNG, or WebP files onto the upload area β or click to browse. Up to 20 files per batch.
Set quality
Use the quality slider (10β90%). AVIF is so efficient that 50% already looks excellent. Lower quality = even smaller files.
Convert and download
Click Convert. Files are encoded in your browser using the native AVIF codec. Download individually or all as a ZIP.
Try quality 50 first β AVIF at 50% often looks identical to JPEG at 85% but is 3-4x smaller. Perfect for web performance. Convert WebP instead
AVIF uses the AV1 video codec to achieve far better compression than JPEG or WebP. The same visual quality at a fraction of the file size β exactly what your web pages need for faster loading.
AVIF encoding uses the browser's built-in Canvas API and the native image/avif MIME type. Your files never leave your device. No server, no cloud, no account required.
AVIF supports an alpha channel, so transparent PNGs convert to AVIF without losing transparency β unlike converting to JPEG. Quality slider from 10 to 90%; lower values are still sharp.
AVIF (AV1 Image File Format) is derived from the AV1 video codec developed by the Alliance for Open Media. Unlike JPEG (which dates from 1992), AVIF uses modern perceptual models to discard image data that the human eye does not notice, while preserving detail where it matters. The result is file sizes 40-60% smaller than JPEG at equivalent visual quality.
As of 2026, all major browsers β Chrome, Firefox, Safari, and Edge β support AVIF natively. Google Lighthouse and Core Web Vitals scoring rewards smaller images through better LCP (Largest Contentful Paint) scores. Switching your web images from JPEG to AVIF can measurably improve page load times and search rankings.
Modern browsers (Chrome 94+, Firefox 113+, Safari 16.4+) include a native AVIF encoder accessible via the Canvas API. SammaPix draws your image onto an HTML Canvas element and calls canvas.toBlob("image/avif", quality) to produce the AVIF output. The entire process is local β no file is ever sent to a server.
The default quality of 50% is deliberately conservative. Because AVIF is so much more efficient than JPEG, quality 50 in AVIF typically looks indistinguishable from JPEG at quality 85, while being 3-4 times smaller. For photos where you want maximum detail, try 70-80%. For hero images and thumbnails, 40-50% is usually perfect.
Yes. Unlike JPEG, AVIF fully supports an alpha channel (transparency). When you convert a transparent PNG or WebP to AVIF, the transparency is preserved exactly. This makes AVIF ideal for logos, product images with transparent backgrounds, and stickers β giving you both small file sizes and full alpha support. If you need to convert back from AVIF, use our AVIF to JPG converter.