Compress AVIF Images
Privately, in Your Browser
Make AVIF files smaller without sending them anywhere. Needs a browser that can create AVIF; the tool checks for you.
or click to browse · AVIF
More free tools
How it works
Add your AVIF files
Drag and drop, browse, or paste. Several at once is fine.
Set the quality
AVIF quality numbers are not comparable with JPG. Around 55–65 is a good starting point; raise it for more detail.
Download
Save individually or as a ZIP.
Why AVIF?
AVIF is a modern image format that can be substantially smaller than JPG at similar visual quality (savings vary by image), and it supports transparency and HDR. All current major browsers can display it, which makes it a strong choice for hero images and photography-heavy pages.
If AVIF creation is not available in your browser
Displaying AVIF is widely supported, but writing AVIF from a web page depends on the browser exposing an encoder. If yours does not, this page will tell you. You can still convert to WebP, which is written by all major desktop browsers.
Who needs to compress AVIF
AVIF is used mainly by developers and designers optimising photographic web images. Because AVIF files are already small, the main gains come from choosing a lower quality value, or resizing to the displayed width. If your browser cannot write AVIF, the tool says so; you can still convert to WebP or use JPG compression.
Quality values for AVIF
AVIF quality scales are not the same as JPEG. In many encoders a value around 50–60 gives photographs that look similar to a JPEG at 80, but results vary with the encoder and content, so judge by eye and compare file sizes. Serve AVIF with fallbacks using the picture element described in the responsive images guide.
Frequently asked questions
Guides and tutorials
- JPEG vs PNG vs WebP vs AVIF: Which Image Format Should You Use?Compare JPEG, PNG, WebP and AVIF on file size, quality, transparency and browser support, with a simple rule for choosing the right image format.
- Image Optimization for Core Web Vitals: Fix LCP and CLSHow images affect LCP and CLS, with fixes: right size and format, fetchpriority, no lazy-loading the hero, and set dimensions on every image.
- Responsive Images in HTML: srcset, sizes and the picture ElementLearn how srcset, sizes and the picture element let browsers load the right image for each screen, with copy-paste examples and common mistakes.
- Image Compression Explained: Formats, Quality Settings and ToolsHow image compression works, which format to use, what quality setting to pick and how to shrink photos without visible loss. A practical 2026 guide.