Home › Image Tools › Convert Image to AVIF

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:

Smaller fileBetter quality
Advertisement
Advertisement

How to use the Convert Image to AVIF

  1. Add images by dropping them in the box, choosing files, pasting from the clipboard, or press Try a sample image.
  2. Set the AVIF quality. 50 to 65 suits most photos; use 70 to 85 for detailed or text-heavy images.
  3. Pick an encoder speed. Balanced is a good default; slower settings squeeze out a few percent more.
  4. Compare the sizes on each card. Changing a setting re-encodes the batch automatically.
  5. 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

FormatCompressionTransparencyBit depthBest use
AVIFLossy or lossless (AV1)Yes8, 10, 12-bitPhotos and hero images on modern websites
WebPLossy or lossless (VP8)Yes8-bitWeb images with broad browser support
JPGLossy (DCT)No8-bitMaximum compatibility, email, printing
PNGLossless (Deflate)Yes8 or 16-bitScreenshots, 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.

Related tools

AVIF to JPGConvert AVIF images to widely supported JPG.PNG & JPG to WEBPConvert PNG and JPG images to smaller WEBP files.Image CompressorShrink images to a target size like 100 KB.PSD to PNGConvert Photoshop PSD files to PNG and export every layer as its own PNG, no Photoshop needed.HEIC to JPGConvert iPhone HEIC photos to JPG.WEBP to JPGConvert WEBP images to JPG in bulk.PNG to JPGBatch convert PNG images to JPG with a background color.JPG to PNGBatch convert JPG images to PNG.WEBP to PNGConvert WEBP images to PNG, keeping transparency.SVG to PNGConvert SVG graphics to PNG or JPEG at any scale.PNG to ICOCreate multi-size favicon .ico files from PNG.PNG to SVG ConverterConvert PNG or JPG images to scalable SVG vectors with color and detail control.Image ConverterConvert images between JPG, PNG, WEBP, AVIF, BMP, GIF and ICO in batches, right in your browser.HEIC to PNGConvert iPhone HEIC and HEIF photos to lossless PNG in batches, with ZIP download.GIF to MP4Convert animated GIFs to MP4 video with loops, scaling and background color, in your browser.ICO to PNGExtract every size from ICO and CUR icon files and save them as PNG images or a ZIP.BMP to JPGBatch convert BMP bitmaps to small JPG files with a quality slider and ZIP download.JPG to SVGTrace JPG photos and logos into real vector SVG files with color and detail controls.SVG to JPGConvert SVG vectors to sharp JPG images at 1x to 8x or any width, with a background color.TIFF to JPGConvert TIFF and TIF images, including multi-page scans, to JPG with a quality slider.JFIF to JPGBatch convert .jfif images to standard .jpg files, re-encoded or lossless, with ZIP download.Camera Shutter Count CheckerFind your camera's shutter count from a JPG or RAW photo. Nikon, Pentax, some Sony and Canon.Film Negative to Positive ConverterTurn scanned color or B&W film negatives into positives with orange mask removal and auto balance.HTML to ImagePaste HTML and CSS, see it rendered live and export a PNG, JPG, WebP or SVG at 1x to 4x.Online Image ViewerOpen HEIC, TIFF, PSD, RAW, AVIF, WebP, ICO and more in your browser with zoom, pixel inspector and EXIF.Paste Image to FilePaste a clipboard image with Ctrl+V and save it as PNG, JPG or WebP, or copy images to the clipboard.RAW to JPGConvert camera RAW files (CR2, CR3, NEF, ARW, DNG, ORF, RAF, RW2) to JPG in batch, privately.Convert Image to CMYKConvert an RGB image to a CMYK TIFF or PDF for print, with ink limit, black generation and preview.Text to SVG PathTurn text in any Google or uploaded font into SVG path outlines for Cricut, laser and logos.AI to PNGConvert Adobe Illustrator .ai files to PNG at any DPI, with a transparent background, no Illustrator.CR2 to JPGConvert Canon CR2 RAW photos to JPG in batch: camera preview or developed sensor data.Image Format ComparisonCompress one image as JPG, WebP, AVIF and JPEG XL at the same quality and compare size and detail.PSD ViewerOpen Photoshop PSD files without Photoshop: browse layers, toggle visibility and export layers as PNG.Multi-Page TIFF ViewerView multi-page TIFF scans and fax files page by page, zoom, rotate and export pages as PNG or PDF.WEBP to GIFConvert animated or still WebP images to GIF, keeping every frame delay, with loop and size options.WEBP to MP4Turn animated WebP images into MP4 videos for sharing, with frame timing, length and size options.NEF to JPGConvert Nikon NEF RAW photos to JPG in batch: camera preview or developed sensor data.
See all 37 Image Converters →