Convert PNG to AVIF
Much smaller images with transparency kept, encoded on your device.
- Nothing is uploaded
- Works offline after first use
- Open source
- No watermark · limit is your device’s memory; phones hold less
Convert PNG images to AVIF in your browser, transparency kept. It is free, needs no account and adds no watermark, and your files are not uploaded: everything runs in your browser on your device. The first run downloads the AVIF encoder (about 3.5 MB) and the WebAssembly engine that runs it to your browser, and after that the tool works offline.
Done
Free, no ads. Support StayPut
Open the network tab. Your files never appear in it.
Add files and run the tool to see every request this tab makes.
Your files are processed on this device and never sent to a server. Reload the page to clear everything from memory.
AVIF can hold transparency like PNG, but lossy, so the file is a fraction of the PNG’s size: a 12-megapixel photo saved as an 8.0 MB PNG came out at 83 KB to 185 KB here at quality 60, depending on which encoder ran.
The first run downloads the AVIF encoder (about 3.5 MB) and your browser keeps it afterwards. Chrome has no AVIF encoder for web pages, so a WebAssembly one does the work in your tab; browsers that can write AVIF themselves (Safari’s engine does) use their own and skip the download. A large image takes seconds on a recent Mac and can take far longer on a phone. Transparent areas stay transparent. The quality scale is not JPG’s, so judge by eye.
Related converters
- AVIF to JPG and AVIF to PNG, to open an AVIF in software that does not know the format
- JPG to WebP and PNG to WebP, a smaller step up from JPG and PNG that more programs open
How it works
- Drop your PNG files onto the page, or tap to pick them. Batches are fine, but each AVIF takes a while to encode.
- Pick a quality from 1 to 100 (60 is a good start), tick "Faster encode" to trade a little size for speed, or downscale the image.
- Download each AVIF, or all of them as one zip.
In your browser, not on a server
Stayput first reads the opening bytes of each file, where every image format writes its signature, so it knows what the file really is whatever it is called. Your browser decodes JPG, PNG, WebP, GIF, BMP, AVIF and SVG itself; TIFF goes through UTIF.js, HEIC through the libheif WebAssembly decoder, and JPEG XL (or AVIF, in a browser without native support) through the Squoosh decoders, all served from this site and cached. The browser re-encodes JPG, PNG and WebP; PDF, ICO, GIF, BMP and TIFF files are written by small encoders in the page. Nothing here needs a server.
Compared with upload-based tools: Online converters upload your image, convert it on their machine, keep it for hours and cap you at a few files a day. This does the same conversion on your device, for as many files as your device’s memory can hold, with no upload to wait for.
Verify it yourself. Give the page a short while after your first run to save itself for offline use, then turn off Wi-Fi or switch to airplane mode and run the tool again. Or open your browser's developer tools (F12, or Cmd-Option-I on a Mac), pick the Network tab, and watch it while you convert. The panel above does the same count for you.
Questions
Is transparency preserved?
Yes. The alpha channel is encoded along with the colour, at the same quality you set.
Is AVIF lossless?
This page writes lossy AVIF, so small differences from the PNG are expected. At quality 100 they are very hard to see, but the file is much larger. If you need an exact copy, keep the PNG.
Will every app open the AVIF?
Not every program does. The files this page writes opened in Chrome, in Safari’s engine and in the image tools built into macOS, and the page’s own AVIF to JPG and AVIF to PNG converters read them back. We have not tested Windows apps, Microsoft Office or photo editors, and older software may refuse AVIF. If a program will not open it, convert it back with AVIF to JPG on this site.
Why does it take so long?
AVIF is expensive to compress. Where you see “Faster encode (lower effort)”, tick it for a quicker, slightly larger file, or downscale the image first. You can cancel an encode at any point.
More image tools
Image Converter
Drop any image, see what it really is, pick what you need. Converted on your device.
Sticker maker
Cut out a person, pet or object, add a white border, and save it as a sticker, on this device.
Profile picture maker
A clean headshot on a colour of your choice, framed around your face, made on this device.
AI image upscaler
Make a small picture bigger and sharper with a neural network that runs on this device.
Other conversions
Guides
- A free Convertio alternative with no file size capConvertio's free plan caps both file size and how many conversions you get per day. Here is an alternative with no such ceiling.
- A free Zamzar alternative with no daily limitZamzar's free service limits how many files you can convert and how big each can be. Here is an alternative with no such cap.
- A free FreeConvert alternative with no processing time capFreeConvert's free plan limits the processing time for each file and for the day. Here is an alternative with nothing to time out.
- JPG, PNG, WebP or HEIC: which image format to useA practical rule for each job, and the conversion to get there.
- Is CloudConvert safe?For most files, yes: it is an established, certified service. The real question is whether a given file should leave your computer at all.