Home › Formats › Images › AVIF

AVIF files: what they are and how to open or convert them

AVIF is a next-generation image format derived from the AV1 video codec. It compresses better than WebP and JPG at the same visual quality, and browsers support it well, but many desktop programs, older phones, and upload forms still cannot open it.

Compression
Lossy or lossless (AV1)
Transparency
Yes
Animation
Yes
Opens on
Browsers; patchy elsewhere

What is an AVIF file?

AVIF is an image format derived from the AV1 video codec, published by the Alliance for Open Media in 2019. It compresses better than WebP and far better than JPG at the same visual quality, supports transparency, animation, HDR, and wide color, and is royalty-free. Browsers adopted it quickly, so images saved from modern websites are increasingly AVIF files.

How to open an AVIF file

Chrome, Firefox, Safari 16 and later, and Edge display AVIF. Windows 11 Photos opens it with the AV1 Video Extension installed; macOS Ventura and later handle it natively. Older versions of Photoshop, most email clients, and many upload forms do not. Converting to JPG for photos or PNG for graphics solves it in one step, and the conversion happens in your browser.

When to use AVIF

On websites, where it makes pages load faster than any other widely supported format. For everything else, the compatibility gap still favours JPG and PNG. Encoding AVIF is slow and needs specialized software, so most people only ever decode it.

Frequently asked questions

Is AVIF better than WebP?

For compression, yes, by around 20 percent at the same quality. WebP is supported by more software and encodes much faster.

Why can I not open AVIF in Windows?

Windows needs the AV1 Video Extension from the Microsoft Store, and many programs never added support. Converting to JPG or PNG avoids the problem.

Convert or edit AVIF files

AVIF to JPG.avif → .jpgAVIF to PNG.avif → .pngCompress ImageReduce image file size in your browser without uploadingResize ImageResize JPG, PNG, WebP, and HEIC images to exact pixel dimensions or a percentage, right in your browserCompress Image to a SizeReduce a photo to a maximum file size in KB or MB, in your browserCompress Image to 100 KBCompress a JPG, PNG, WebP, or HEIC photo to under 100 KB in your browser without uploading itCompress Image to 200 KBCompress a JPG, PNG, WebP, or HEIC photo to under 200 KB in your browserResize to 8×8Resize any image to exactly 8×8 pixels in your browser, with smooth or crisp pixel-art scaling and transparent paddingResize to 16×16Resize any image to exactly 16×16 pixels in your browser, with smooth or crisp pixel-art scaling and transparent paddingResize to 32×32Resize any image to exactly 32×32 pixels in your browser, with smooth or crisp pixel-art scaling and transparent paddingResize to 64×64Resize any image to exactly 64×64 pixels in your browser, with smooth or crisp pixel-art scaling and transparent paddingResize to 128×128Resize any image to exactly 128×128 pixels in your browser, with smooth or crisp pixel-art scaling and transparent paddingResize to 256×256Resize any image to exactly 256×256 pixels in your browser, with smooth or crisp pixel-art scaling and transparent paddingDiscord Emoji MakerTurn any picture into a Discord custom emoji: resized to 128×128 PNG under 256 KB with transparency kept, in your browserDiscord Sticker MakerMake a Discord sticker from any image: exactly 320×320 PNG with transparency, under the 512 KB limit, in your browserDiscord Image ResizerResize images to every Discord size: server icon 512×512, server banner 960×540, profile banner 600×240, avatar 1024×1024, emoji 128×128, sticker 320×320Twitch Emote MakerTurn one image into all three Twitch emote sizes (28×28, 56×56, 112×112) as transparent PNGs in your browserTwitch Image ResizerResize images to Twitch sizes: profile picture 800×800, profile banner 1200×480, offline screen 1920×1080, panel 320×100, video thumbnail 1280×720YouTube Thumbnail ResizerResize any image to the YouTube thumbnail size, 1280×720 (16:9), as a JPG under 2 MB, in your browserYouTube Image ResizerResize images to YouTube sizes: channel banner 2560×1440, profile picture 800×800, thumbnail 1280×720, watermark 150×150, Shorts 1080×1920Instagram Image ResizerResize photos to Instagram sizes without cropping surprises: square post 1080×1080, portrait 1080×1350, landscape 1080×566, story and reel 1080×1920, profile 320×320X (Twitter) Image ResizerResize images for X (Twitter): header 1500×500, post image 1600×900 (16:9), profile picture 400×400, in your browserFacebook Image ResizerResize images for Facebook: cover photo 851×315, shared image 1200×630, square post 1080×1080, profile picture 170×170, event cover 1920×1005LinkedIn Image ResizerResize images for LinkedIn: profile banner 1584×396, post image 1200×627, profile photo 400×400, company cover 1128×191, in your browserSocial Preview (OG) Image ResizerResize any image to 1200×630, the Open Graph size that Facebook, X, LinkedIn, Slack, and Discord use for link previews, in your browserSteam Image ResizerResize images for Steam: profile avatar 184×184, header capsule 460×215, main capsule 616×353, library capsule, workshop preview 640×360, in your browserApp Icon ResizerGenerate all app icon sizes from one image (16, 32, 48, 64, 128, 256, 512, 1024 px) as PNGs in your browser, for iOS, Android, macOS, Windows, and webRemove BackgroundRemove the background from a photo or product picture automatically, on your device: a neural network finds the subject and returns a transparent PNG, or a white or colored backgroundCrop ImageCrop photos to a square, 16:9, 9:16, 4:5, or exact pixel size in your browserRotate ImageRotate images by 90, 180, or 270 degrees and flip them horizontally or vertically in your browserAdd Watermark to ImageStamp a text watermark on photos in your browser: choose position, size, opacity, or tile it across the imagePNG to ICOConvert a PNG into a multi-size ICO file for favicons and Windows icons, in your browserQR Code ReaderRead a QR code from a photo or screenshot in your browserImage to Text (OCR)Extract text from photos, screenshots, and scans in your browser with on-device OCREXIF ViewerInspect the metadata inside a photo: camera model, lens, settings, date taken, editing software, and GPS locationRemove EXIF DataStrip metadata, location, and camera details from JPG, PNG, WebP, and HEIC photos before sharingImages to GIFCombine JPG, PNG, WebP, or HEIC images into an animated GIF in your browserJPG to PDFConvert JPG photos into a PDF in your browser: one image per page, in order, with optional A4 or Letter pages and marginsPNG to PDFConvert PNG images into a PDF in your browser, one per page, with exact-size or A4/Letter pagesMinecraft Server Icon MakerMake a Minecraft server icon from any image: exactly 64×64 PNG, saved as server-iconImage to Pixel ArtTurn any photo or drawing into pixel art in your browser: choose the pixel size, a limited palette (16 colors, Game Boy, PICO-8), and ditheringSprite Sheet MakerPack animation frames or the frames of a GIF into a sprite sheet grid with JSON coordinates, in your browserPixel Art UpscalerScale pixel art, sprites, and game textures up 2x to 16x with crisp nearest-neighbor scaling, in your browserNormal Map GeneratorTurn a height map, bump map, or any texture into a tangent-space normal map (OpenGL or DirectX) in your browser