Compress AVIF files
AVIF is already efficient, but a file exported at a high quality can still be trimmed.
- Free, no sign-up
- No upload
- Up to 50 files
How it works
Three steps, under a minute
AVIF is already efficient, but a file exported at a high quality can still be trimmed. This tool decodes the AVIF with your browser and re-encodes it with the libavif encoder running as WebAssembly in the page, so it works in Chrome, Edge, Firefox and Safari without uploading anything. Up to 50 files per batch, each up to 40 megapixels at full quality.
- 1
Add your files
Drop AVIF files on the tool.
- 2
Compress
Set the quality (50 to 65 for photographs) or a target size.
- 3
Download
Click Compress, compare, download.
What you get
Built for real batches, not just one file
AV1 encoding on your device with real sizes.
Transparency preserved.
Target size mode and longest-side cap.
Batch of 50, ZIP, no upload.
Quality and size
AVIF quality numbers
AVIF needs lower numbers than JPG or WebP for the same look: 50 to 65 for photographs is normal, and 70 to 80 for graphics with sharp edges. Encoding is slow compared with WebP, a few seconds per large file, and the results row shows progress.
Settings
How AVIF is written in a browser
Browsers can display AVIF but none can save it from a web page, so this tool ships the libavif encoder compiled to WebAssembly (3.4 MB, downloaded the first time you save an AVIF) and runs it on your device. The first encode takes a few seconds longer while it loads.
FAQ
Frequently asked questions
Can’t find an answer? The guides cover formats, sizes and privacy in depth.
Read the guidesAre my images uploaded to compress them?
No. Compression runs in your browser; the image never leaves your device. The Network tab in the browser’s developer tools shows no upload while the tool works.
How does the target size mode work?
The tool encodes the image at several quality levels and keeps the highest quality that fits under your target. If even the lowest acceptable quality is too big, it scales the pixel dimensions down and tries again, and tells you the final size in the results row.
Does this work in Safari?
Yes. Safari 16 and later decode AVIF, and the bundled WebAssembly encoder writes it, so the whole round trip runs on your device.
Does it keep transparency?
Yes, in both AVIF and WebP output.
Is re-encoding AVIF lossy?
Yes. Each lossy save loses a little. Compress from the best source you have and keep it.
Sources
Sources and further reading
Links checked 13 November 2026. Outside pages change, so check the date on them.
Related tools
More free tools
Done here? Make it look great.
Adjust, retouch and add effects in the full editor. Still 100% on your device.