Convert Image to AVIF
Turn JPG, PNG and WebP images into AVIF, the modern format that keeps photos sharp at a fraction of the file size. Choose the quality and encoder speed, see exactly how much smaller each file gets, and download the results one by one or as a ZIP.
Last updated:
How to use the Convert Image to AVIF
- Add images by dropping them in the box, choosing files, pasting from the clipboard, or press Try a sample image.
- Set the AVIF quality. 50 to 65 suits most photos; use 70 to 85 for detailed or text-heavy images.
- Pick an encoder speed. Balanced is a good default; slower settings squeeze out a few percent more.
- Compare the sizes on each card. Changing a setting re-encodes the batch automatically.
- Download each AVIF or press Download all as ZIP.
What is AVIF?
AVIF (AV1 Image File Format) stores a still image compressed with the AV1 video codec inside a HEIF container. It was published by the Alliance for Open Media in 2019 and is royalty-free. Compared with JPG it supports transparency, wide color and HDR, 10- and 12-bit depth, and much more efficient compression, especially in smooth areas such as skies and skin, where JPG shows blocks and banding. The trade-off is encoding time: AVIF takes far longer to create than JPG, which is why this tool lets you choose the encoder speed.
AVIF vs JPG, PNG and WebP
| Format | Compression | Transparency | Bit depth | Best use |
|---|---|---|---|---|
| AVIF | Lossy or lossless (AV1) | Yes | 8, 10, 12-bit | Photos and hero images on modern websites |
| WebP | Lossy or lossless (VP8) | Yes | 8-bit | Web images with broad browser support |
| JPG | Lossy (DCT) | No | 8-bit | Maximum compatibility, email, printing |
| PNG | Lossless (Deflate) | Yes | 8 or 16-bit | Screenshots, logos, editing masters |
Settings guide
- Quality: 50–65 for typical photos, 70–85 for product shots and images with text, 90+ when you need near-lossless results.
- Chroma subsampling: the default 4:2:0 stores color at half resolution, which is invisible in photos. Turn on Full color detail (4:4:4) for screenshots, logos and red or blue text that would otherwise look fuzzy.
- Sharp YUV uses a slower, more accurate RGB to YUV conversion that keeps thin colored lines crisp at 4:2:0.
- Resize first: a 6000 px camera photo shown at 1600 px on a page wastes bytes. Downscaling to 1920 or 2560 px cuts the file size dramatically.
- Need the reverse? Open AVIF files anywhere with AVIF to JPG or AVIF to PNG.
Frequently asked questions
How do I convert a JPG or PNG to AVIF?
Drop the images into the converter. Each one is decoded in your browser and re-encoded with a WebAssembly build of libavif, the reference AVIF library. Adjust quality and speed if you like, then download the .avif files individually or all together in a ZIP.
What quality setting should I use for AVIF?
AVIF looks good at lower numbers than JPG. A quality of 50 to 65 is a good starting point for photos on websites; graphics, screenshots and images with small text look cleaner at 70 to 85, ideally with Full color detail (4:4:4) turned on. Check the preview and the size bars, then adjust.
How much smaller is AVIF than JPG?
It depends on the image and settings, but at similar visual quality AVIF files are commonly around half the size of a JPG, and much smaller than PNG for photos. Simple graphics that were already tiny PNGs may not shrink, and the card warns you when the AVIF comes out larger.
What does the encoder speed do?
The AV1 encoder can spend more time searching for the most efficient way to compress the image. Lower speed numbers are slower and give slightly smaller files at the same quality; higher numbers are much faster. Speed 6 is a balanced default; 2 can take many seconds per large photo.
Which browsers can open AVIF files?
AVIF is supported in Chrome and Edge, Firefox (version 93 and later) and Safari 16 or later on macOS Ventura and iOS 16. For websites that must support older browsers, serve AVIF inside a picture element with a JPG or WebP fallback.
Does AVIF keep transparency?
Yes. AVIF supports an alpha channel, so transparent PNG and WebP images stay transparent. Animated GIFs are converted from their first frame only.
Are my images uploaded?
No. The encoder is downloaded once (about 3 MB) and runs on your own device. Your photos never leave your computer or phone.
Are all the tools on FreeToolCabin tested for quality and accuracy?
Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.