PicsFit
Start Compressing
Your images never leave your device

Compress AVIF Online

Encode images to AVIF locally with libavif WebAssembly. Typically 20-30% smaller than WebP at similar quality.

Drop images here

JPG, PNG and WebP supported. Max 20MB each, up to 20 files.

Images are processed locally in your browser.

Compression Settings

px
Leave blank to keep original dimensions.
Remove EXIF (camera, GPS, timestamp). Required by many platforms.
Variables: {name} {ext} {w} {h} {idx} {format} {date}
Compression runs locally on your device.

How it works

  1. 1Drop JPG, PNG, or WebP files (or existing AVIFs to re-encode).
  2. 2Pick a quality preset. AVIF rewards lower quality settings — try Balanced (~78%) or Small File (~55%) before going lower.
  3. 3Click Compress. The libavif WASM encoder runs in your browser (downloads ~600KB on first use).
  4. 4Download or batch as ZIP.

Why use AVIF

  • Best-in-class compression — typically 30% smaller than WebP, 50%+ smaller than JPG at the same quality.
  • Supported in every modern browser as of late 2024 (Chrome, Edge, Firefox, Safari 16+).
  • Encoded locally with libavif WASM — works even when the browser lacks a native AVIF encoder (most macOS Chrome installs).
  • Supports HDR and wide color gamut (we use 8-bit by default for compatibility).

Features

libavif WebAssembly encoder
Quality slider (10–100)
Auto format mode picks AVIF when supported
Batch ZIP download
Strip EXIF for privacy
Local — no upload

Frequently asked questions

Why is AVIF encoding slow?
AVIF compression is computationally heavy — significantly more so than WebP or JPG. We use speed level 8 (libavif default is 6) to keep things responsive in a browser, trading a few percent of size for ~3× faster encoding.
Will my browser decode AVIF?
Yes — AVIF decoding is universal in modern browsers (Chrome, Edge, Firefox, Safari 16+). The encoder used here is WASM, so encoding works even on browsers without native AVIF encoding (notably Chrome on macOS).
AVIF or WebP — which should I use?
WebP for maximum compatibility (everyone supports it, all CDNs cache it). AVIF for cutting-edge size savings on hero images and large photo galleries where every kilobyte matters. Use Auto mode and the tool will pick AVIF when your browser can encode it.
Are my images uploaded to your server?
No. All images are processed locally in your browser using JavaScript and WebAssembly. Your files never leave your device, and we have no infrastructure that could receive them.
Can I compress multiple images?
Yes. You can drop a batch of images (or an entire folder) and download the compressed results as a single ZIP file with the original folder structure preserved.
Which formats are supported?
JPG, PNG, WebP and AVIF are supported when available in your browser. The Auto mode picks the smallest modern format your browser can encode.
Can I compress images to a specific size?
Yes. Use the Compress to KB tool to target 100KB, 200KB, 500KB, 1MB or any custom size.
Do I need an account?
No. There is no signup, no login, and no payment. The tool works as soon as the page loads.

Related tools

Compress Image
Universal compressor for any format
Compress JPG
Free local JPG optimizer
Compress PNG
Lossless and smart PNG compression
Compress WebP
Local WebP optimizer
PNG to WebP
Convert with transparency
Compress to KB
Custom target file size
Compress to 100KB
Hit the 100KB target
Compress to 200KB
Compress to 500KB
Compress under 1MB
Shopify product images
2048×2048 WebP
App Store screenshots
Social media resizer
Your images never leave your device. All compression happens locally in your browser. We do not upload, store, or view your images. No upload · No account