Convert Image to AVIF

Convert JPG, PNG, WebP, GIF and other supported images to AVIF. Choose high-quality lossy output or lossless encoding of the decoded pixels. Pixel dimensions stay the same and processing runs in your browser.

Local files are converted in your browser. Load From URL may use a server fetch.

Your images

JPG, PNG, WebP, AVIF, HEIC, GIF, BMP, or ICO. Up to 20 images, 50 MB each (HEIC up to 30 MB). Ctrl+V pastes.

    Settings

    Preview

    Your preview will appear here
    1. Choose or drop images on the left
    2. Check the settings
    3. Compare, then download

    How to convert images to AVIF

    1. Add up to 20 images by choosing, dropping, or pasting them.
    2. Tick Lossless only if you need exact pixels. Photos get much larger that way.
    3. Wait a few seconds per image. AVIF encoding is heavy, and a progress bar shows how far a batch has got.
    4. Download the .avif files one by one or as a ZIP.

    How it works

    AVIF stores an image as a single frame of AV1, the royalty-free video codec from the Alliance for Open Media. AV1 predicts blocks from their neighbors far better than JPEG, which is why AVIF files are small.

    • The encoder is libaom (through libavif) compiled to WebAssembly and run in a background worker, so the page stays responsive.
    • Photos are saved at quality 85 with 4:4:4 chroma: color is kept at full resolution instead of being halved, which keeps red and blue edges crisp.
    • PNG, GIF, BMP, and lossless WebP sources are saved as lossless AVIF, with identical pixels.
    • Transparency is kept, the color profile is copied into the file, and the result is checked for the AVIF signature (an ftyp box with the avif brand).

    Examples

    • The 163 KB sample photo (1600 × 1067 JPG) becomes a 138.7 KB AVIF at quality 85, the same size in pixels.
    • The same photo through the Image Compressor as AVIF at quality 50 is 17.3 KB and still looks clean at normal size.
    • A small flat-color PNG logo can come out larger as lossless AVIF than as lossless WebP. For simple graphics, WebP is often the better lossless choice.

    AVIF support

    Chrome has shown AVIF since version 85 (2020), Firefox since version 93 (2021), and Safari since version 16 (2022). Edge added it in version 121 in early 2024. Very old phones and some image editors still can't open AVIF, so keep a JPG or WebP copy when you share files outside the web.

    Limitations

    • Encoding takes a few seconds per large photo, much longer than WebP.
    • Output is 8 bits per channel. HDR and 10-bit images are saved as standard range.
    • Animated GIFs become a still image of the first frame.
    • HEIC photos from iPhones work in any browser, up to 30 MB each.

    Frequently asked questions

    Is AVIF better than WebP?

    AVIF can produce small photo files, but the result depends on the image, quality settings and encoding mode. Compare the result with WebP at the size where it will be displayed. WebP can be faster to encode and may be smaller for simple lossless graphics.

    Why does AVIF conversion take so long?

    The AV1 encoder tries many ways to code each block to find the smallest result. It runs in a background worker, so you can keep using the page while it works.

    Does AVIF keep transparency?

    Yes. The alpha channel is stored as a second image inside the file, and at the quality used here it is kept without loss.

    Can I open AVIF files on Windows and Mac?

    Any current browser opens them. On Windows, the Photos app opens AVIF once the free AV1 Video Extension from the Microsoft Store is installed. On a Mac, Preview opens AVIF from macOS Ventura onward.

    Often used together with Image to AVIF.

    • Image to WebP

      Converts JPG, PNG, GIF, and other images to WebP without visible quality loss.

    • Image Converter

      Converts images between JPG, PNG, WebP, AVIF, and ICO, and opens iPhone HEIC photos. ICO is a ZIP of icon sizes.

    • Image Compressor

      Shrinks JPG, PNG, WebP, and AVIF files with a quality slider and a before/after view.