Convert Image to AVIF

Convert image files to AVIF, the format behind the smallest photos on the web. JPG, PNG, WebP, and GIF work, the pixel size stays the same, and the conversion runs in your browser.

Updated
Your files are processed in your browser and never uploaded.

Your images

JPG, PNG, WebP, AVIF, GIF, BMP, or ICO. Up to 20 images, 50 MB each. 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 open only in Safari.

    Frequently asked questions

    Is AVIF better than WebP?

    For photos AVIF is usually smaller at the same visual quality, often by 20 percent or more, and it holds up better at low quality. WebP encodes much faster and is often 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 the 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, and AVIF at the same size and quality.

    • Image Compressor

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