jpg · png · webp · gif → avif

Convert images to AVIF

Drop a batch of photos or graphics and get AVIF files, often far smaller than JPEG at similar quality. Compare every result with the original before you download.

Runs in this tab. Nothing is uploaded.

Original Converted

Drop images here

JPG, PNG, WebP, AVIF or GIF · as many as you like

Converted on this device. Nothing is uploaded.

Tip: you can also paste an image with Ctrl+V (⌘V on a Mac).

AVIF settings

50
4 · speed 6

Higher effort squeezes out a few more percent but takes much longer.

Chroma subsampling

4:2:0 is smallest and right for photos. 4:4:4 keeps crisp colour edges in screenshots and graphics.

px
More options

Your images

Nothing yet. Converted files show up here with their savings.

Drop images on the page, or use “Choose images” above.

    How to convert to AVIF

    1. Add images. Drop files anywhere on this page, paste from the clipboard, or choose them. JPEG, PNG, WebP, GIF (first frame), BMP and AVIF all work, in any mix.
    2. Watch them convert. Several files encode at once, one per CPU core (up to four). Each row shows its progress, and you can stop or remove any file.
    3. Compare. Pick a file to see the original on the left and the AVIF on the right. Drag the divider, and zoom to 100% or more to judge fine detail.
    4. Download each file, or everything as one ZIP.

    What the settings do

    Quality
    AVIF’s 0–100 scale is not the same as JPEG’s. 45–60 suits most photos; raise it for images with small text or smooth gradients.
    Effort
    How hard the AV1 encoder searches for a smaller file. Effort 4 (libaom speed 6) is a sensible balance; 7 and up are much slower for a small gain.
    Chroma subsampling
    4:2:0 stores colour at half resolution, which the eye barely notices in photos. Use 4:4:4 for screenshots, logos and text.
    Lossless
    Keeps every pixel exactly. AVIF lossless is often larger than PNG or lossless WebP, so use it only when you need AVIF specifically.
    Max width or height
    Scales large photos down (never up) with a sharp Lanczos filter before encoding. A 12-megapixel photo rarely needs to be more than 2560 pixels wide on a website.

    Questions

    Are my images uploaded anywhere?

    No. Decoding and encoding happen in background workers in this browser tab, using WebAssembly builds of libavif, libwebp and MozJPEG that are loaded from this site. Your files never leave your device, and conversions keep working without a connection once the page and codec have loaded.

    Which browsers can show AVIF images?

    Current versions of Chrome, Edge, Firefox and Safari all display AVIF: Chrome since version 85, Firefox since 93, Safari since 16 (iOS 16 and macOS Ventura) and Edge since 121. For older browsers, serve a JPEG or WebP fallback with a picture element. The AVIF Support Checker tests your browser and writes the markup for you.

    What quality setting should I use?

    For photos, 45–60 usually looks close to a high-quality JPEG at a fraction of the size. Use 65–80 for images with fine text, hard edges or smooth gradients, and 4:4:4 chroma for screenshots. Zoom the comparison to 100% or 200% before you decide.

    Why does AVIF take longer to encode than JPEG?

    AV1 encoders try many ways of predicting each block of the picture, which is what makes the files small. Large photos can take several seconds each. Lower the effort for speed, or set a max width so the encoder has fewer pixels to work on. Files convert in parallel on multi-core devices.

    Do converted files keep EXIF data and GPS location?

    No. The converter writes only the image itself, so camera details, dates and GPS coordinates are left behind. Photos are rotated upright using their orientation tag before encoding, and colours are converted to sRGB.

    What happens to transparency and animated GIFs?

    Transparency is kept when converting to AVIF, WebP or PNG. Animated GIF, WebP and AVIF files are converted as a still image of their first frame.