Convert PNG to AVIF
Convert PNG to AVIF right here in your browser, with the transparency and the full resolution intact. Most PNGs come out a fraction of the size, you see the saving before you download, and nothing is uploaded to do it.
Drop your PNG files here to convert them to AVIF
PNG. Up to 4.0 MB per file, up to 50 at a time, converted on your device and never uploaded.
The Same Picture,
A Fraction of the Bytes.
PNG stores every pixel exactly as it was drawn, which is why a 1024 pixel logo off a design tool can be 1.3 MB. That is the right trade for a master file and the wrong one for a web page, where those bytes are the thing a visitor waits on. AVIF is a still frame from the AV1 video codec, and it stores that same logo in 21 KB with the transparent background still transparent.
What people usually do next
Converting is rarely the last step. These pick up where this page leaves off.
Tools that pair well with this one
All free, all in your browser, no signup.
How to convert PNG to AVIF
Three steps, no account, nothing installed.
Add your PNG
Drop it on the box or pick it from your device. Any PNG up to 4.0 MB, transparent or not.
Press convert
AVIF is already selected and the quality is set to 75%, which is right for a web page. The encoder downloads once on first use, then the conversion runs on your own machine.
Check the size, download the AVIF
The result says how much smaller it came out. Save it, or change the quality and run it again. No watermark, no signup.
The short version
Why convert PNG to AVIF?
PNG is a lossless format from 1996 and it is genuinely good at what it was built for. Carrying photographs and detailed illustrations across a web page was never that.
Lossless means the file has to be able to reproduce every pixel exactly, so the compressor is only allowed to find patterns, never to approximate. Flat colour and sharp text are full of patterns, which is why a PNG of a simple screenshot is small. A photograph, a gradient or a soft shadow has almost none, which is why the same format turns a 1024 pixel illustration into a megabyte and a half.
AVIF is what happens when you point a modern video codec at one still frame. AV1 was designed in 2018 by the Alliance for Open Media to compete with HEVC for 4K streaming, so it spends orders of magnitude more effort predicting what an image looks like than PNG's arithmetic ever attempts. Here is what that does to real files, at this page's default quality:
| The file | As a PNG | As an AVIF at 75% |
|---|---|---|
| 1024 x 1024 logo on a transparent background | 1.3 MB | 21 KB, about 64 times smaller |
| 1024 x 1024 flat illustration | 1.5 MB | 83 KB, about 18 times smaller |
| 1556 x 989 social card, text on colour | 173 KB | 29 KB, about 6 times smaller |
| 438 x 449 screenshot of an interface | 81 KB | 11 KB, about 7 times smaller |
| 1254 x 1254 illustration saved as a 256 colour PNG | 440 KB | 261 KB, about 1.7 times smaller |
- Your page is slow and the image is why: Image weight is usually the largest single thing between a visitor and a painted page, and the largest image on the screen is normally the one the Largest Contentful Paint score is measuring.
- You are paying for the bytes: Bandwidth on a CDN is billed by the gigabyte. Cutting an image by 80% cuts what it costs to serve by roughly the same amount, every month, for as long as the page is up.
- You need transparency and WebP is not small enough: WebP was the answer to this question for a decade. AVIF is meaningfully smaller again at the same visual quality, and it keeps the alpha channel just as well.
- Something keeps telling you to use a next-gen format: Lighthouse, PageSpeed Insights and most site audits flag PNGs and JPGs with a line about serving images in next-gen formats. This is the format they mean.
The exception, and it is the last row of that table: a PNG that has already been reduced to 256 colours has had most of its detail thrown away by the quantizer, and what is left is dithering noise, which is close to the worst possible input for any codec. Those files barely shrink. If the PNG came out of an export dialog with a colours dropdown, read the size on the result before you swap it in.
The comparison
PNG vs AVIF: what actually changes
AVIF is smaller at every setting that matters, and PNG is the only one of the two that guarantees an exact copy. Everything else on this list follows from those two facts.
| PNG | AVIF | |
|---|---|---|
| Compression | Lossless only. Every pixel is reproduced exactly. | Lossy by default, with a true lossless mode at 100%. |
| Transparency | Full alpha channel. | Full alpha channel, compressed alongside the colour. |
| Typical size, same image | The baseline. | A fifth to a fiftieth of it at 75%, depending on the picture. |
| Encoding speed | Instant. Your browser writes one natively. | Seconds. No browser writes one, so an encoder has to run. |
| Where it opens | Everything, everywhere, since the 1990s. | Every current browser. Not every desktop app. |
| Best for | Master files, exports you will edit again, anything a colleague has to open. | Images you are publishing on a page, where weight is what you are optimising. |
The question underneath "is AVIF better than PNG" is usually about risk, not bytes. AVIF is a young format in a world that still runs a lot of old software, and PNG is the format nothing has ever refused. Converting is not a decision you have to make once for everything: the page you are publishing today can be AVIF while the file in your archive stays PNG, and nothing about this tool asks you to choose.
Where AVIF genuinely beats WebP as well is on photographic content and on gradients, where AV1's prediction has the most to work with. On small flat icons the three formats converge, and PNG occasionally wins outright. Convert the one you care about and read the number rather than taking anyone's word for it, including ours.
Does AVIF keep a PNG's transparency?
Yes. AVIF stores a real alpha channel, so a logo on a transparent background comes out on a transparent background rather than on a white square.
This is worth saying plainly because the other direction is the internet's most common conversion complaint. PNG to JPG destroys transparency, because JPEG has nowhere to put it, so every converter paints white underneath and hands you a logo in a box. AVIF has somewhere to put it: the alpha is compressed as its own plane next to the colour, and this tool never paints a background under a format that can keep one.
- Fully transparent stays fully transparent: On a 1024 pixel logo that was 92% see-through, the pixels that were completely clear came back completely clear, and the ones that were completely opaque came back completely opaque. That is 91.5% of the image, unchanged.
- Soft edges are compressed like everything else: The remaining 8.5% is the antialiased rim where the logo fades out. Those alpha values are lossy at the default 75%, and in the worst measured case one moved by about a fifth. On screen, over any background, this is invisible.
- Nothing is flattened, ever: There is no background colour setting on this page because there is nothing to set. The file that arrives transparent leaves transparent.
If you are compositing the result over something unusual, a video frame or a hard gradient, set quality to 100 and the alpha is stored losslessly along with everything else. For a logo on a web page the default is fine, and the file is a great deal smaller.
Converting PNG to AVIF without losing quality
The honest answer has two halves. The default is lossy and you will not see it. The lossless setting exists, and on a PNG it is almost never what you want.
Start with what never changes: resolution. A 2000 by 2000 PNG becomes a 2000 by 2000 AVIF. Nothing is downscaled and nothing is cropped, which is the loss people actually notice and the one some free converters quietly apply to keep their server bills down.
- 75% is the default: Small file, nothing visible to find on a photograph or an illustration. This is where to leave it for anything going on a web page.
- 90% for text and interface screenshots: Sharp edges on flat colour are where a lossy codec shows itself first, usually as a faint ripple around lettering. Ninety costs you some of the saving and takes that away.
- 100% is genuinely lossless: At 100 the encoder switches into AV1's lossless mode and stops subsampling colour, so the result is bit for bit the image you put in. It is not marketing language for "very high".
The inconvenient measurement: a lossless AVIF made from a PNG is usually larger than the PNG was. The 173 KB social card came out at 303 KB. The 81 KB screenshot came out at 102 KB. The 440 KB illustration came out at 1.6 MB. Only the logo with the big transparent area beat its original, at 915 KB against 1.3 MB. PNG's own compressor has had thirty years of tuning for exactly this kind of content, and this encoder runs at a fast setting because it lives in a browser tab, where a minute-long encode is a frozen page, rather than on a build server with all night to spend. If you need lossless, the correct answer is usually to keep the PNG.
Which leaves the useful version of the question. "Without losing quality" almost always means "without anyone being able to tell", and at 75% on a photograph or an illustration nobody can. That is the setting that turns 1.5 MB into 83 KB, and it is the only reason this conversion is worth doing at all.
The part that matters
Converting PNG to AVIF without uploading anything
Almost every free AVIF converter works by taking your file, encoding it on a server and sending it back. This one does not, and the reason the others do is more interesting than it sounds.
Every current browser can display an AVIF. None of them can write one. Asking a canvas for an AVIF does not fail either: it quietly hands back a PNG with the wrong extension on it, which is a failure mode worse than an error. So a converter has two options, a server or an encoder of its own, and a server is by far the cheaper one to build.
The other option is now about three and a half megabytes: libavif and aom, the reference AV1 encoder, compiled to WebAssembly and packaged out of Squoosh. This page downloads that the first time you pick AVIF and then runs it in your tab, on your own machine, on a file that never leaves the disk it is sitting on.
- Nothing is transmitted: Your file is read from your own device into your own tab. There is no server to trust with it, which is a stronger guarantee than any privacy policy, including ours.
- It works offline: Once the page and the encoder have loaded, the conversion itself needs no connection. Losing Wi-Fi halfway through changes nothing.
- There is no queue and no size-based upsell: Your device is doing the work, so the hundredth conversion costs us exactly what the first did. That is why there is no daily cap and no account.
The honest cost, twice over. The encoder is a real download, and on a slow phone connection that first wait is the one thing a server-side converter does faster. And AVIF encoding is slow by nature: AV1 does an exhaustive search that PNG never attempts, which is precisely why the file comes out so much smaller. Expect around a second for a typical image on a laptop and longer on a phone, rather than the instant a PNG to JPG conversion takes.
Any device
PNG to AVIF on Mac, Windows, iPhone or Android
The same page does the conversion on all four, because the gap is the same on all four: nothing that ships with the device will save an AVIF.
Every one of them can open an AVIF now. Preview on a Mac, Photos on Windows once the free AV1 extension is in, and the camera roll on any recent phone will all show you one. What none of them has is AVIF in the export menu. Preview's list has HEIC, JPEG, PNG and TIFF on it and no AVIF. Windows Photos has no AVIF under Save as. Figma and Canva both export PNG, JPG, SVG and PDF, and neither writes AVIF. So the workflow is the same everywhere: export the PNG from wherever you made it, open this page, and let it write the AVIF.
- On a Mac or a Windows PC: Chrome, Edge, Firefox or Safari, this page, your PNG. Nothing is installed and nothing appears in Applications or the Start menu. The AVIF lands in your Downloads folder like any other file.
- On an iPhone or iPad: Safari 16 or later, which is anything on iOS 16 upward. Pick the PNG from Files or Photos, convert, and the AVIF saves to Files. Give a large image a few extra seconds: the encoder is doing the same work a laptop does, on a smaller chip.
- On Android: Chrome, same steps, same output. Android 12 and later read AVIF natively, so the file opens in Photos and the gallery afterwards.
- Straight from a design tool: Export the PNG at 1x unless you genuinely need the pixels. A 2x export has four times as many of them, and the AVIF will be a good deal larger for detail nobody sees at the size it is displayed.
On macOS before Ventura, and on Windows without the AV1 extension, the AVIF you just made shows a blank thumbnail. The file is fine; it is the preview that is missing. Put it on a page and every current browser renders it, whatever the desktop said.
The usual reason
PNG to AVIF for a website
This conversion exists for one job more than any other: making a page arrive faster without making it look worse.
On most sites images are the heaviest thing on the page, and the biggest image on the screen is usually the element Largest Contentful Paint is timing. Cutting a hero image from 1.5 MB to 83 KB does not make your server faster, it removes most of what the visitor was waiting for. That is the entire mechanism, and it is why every site audit tool eventually shows you a line about next-gen formats.
- WordPress accepts AVIF uploads from 6.5 onward: Released in March 2024. On anything older the media library will reject the file type until a plugin or a filter adds it, which is worth checking before you swap the file in.
- Serve both if your audience is old: A picture element with an AVIF source and the PNG as the fallback img covers the few percent of visitors on something ancient, at the cost of storing two files. Most static site generators and image plugins now do this for you.
- Convert the asset, not the source file: Keep the PNG where you edit. Convert on the way out to the site, so the next redesign starts from the master rather than from something already compressed once.
What we will not claim: that converting your images to AVIF improves your rankings. Google ranks pages, not file formats, and image weight is one input into how fast a page feels. A faster page is worth having on its own terms, and anyone selling you AVIF as an SEO trick is selling you something else.
Where an AVIF will open, and where it will not
Browser support stopped being the problem a while ago. Everything that is not a browser is still worth checking before you delete anything.
| Where | AVIF support | What to know |
|---|---|---|
| Chrome, Edge, Opera | Chrome since version 85, August 2020. Edge was late and shipped it in 121, January 2024. | If a colleague on Edge cannot open one, their browser is more than two years old. |
| Firefox | Since version 93, October 2021. | Nothing to configure. |
| Safari, iPhone and iPad | Since Safari 16 and iOS 16, September 2022. | Which means most phones in use, and not all of them. |
| Windows | Photos and Explorer thumbnails need the free AV1 Video Extension from the Microsoft Store. | The file is fine either way. It is the preview that is missing until the extension is installed. |
| macOS | Preview, Quick Look and Finder read AVIF from Ventura onward. | Older macOS shows a generic icon and refuses to open it. |
| Desktop editors | Uneven. Some read AVIF, plenty still do not, and a few need a plugin. | This is the one to test before you convert a library and delete the originals. |
The practical rule: AVIF is a format for publishing, not for handing to someone. If a file is going onto a page you control, convert it. If it is going to a client, a printer or an upload form written in 2014, send the PNG.
What happens to metadata, colour profiles and DPI
A conversion changes what a file is, and some of what was attached to it does not survive the trip. Here is that list plainly, since most converters do not mention it at all.
- Pixels are the only thing carried across: The AVIF is written fresh from the decoded image, so any EXIF block, text chunk, creation date or author field in the PNG is not in the output.
- Colour is converted to sRGB: The image is decoded through your browser's canvas, which works in sRGB, so an embedded ICC profile is applied and then not carried forward. A wide gamut PNG comes out looking correct on the web and no longer tagged.
- DPI is not a thing AVIF carries here: A PNG's pHYs chunk, which is where a 300 DPI setting lives, is dropped. It never affected the pixels, and AVIF is not a format anybody prints from anyway.
- The original PNG is untouched: Nothing here modifies or deletes your source file, so everything above still exists wherever the PNG does.
For most people this is neutral or actively useful, since stripping metadata out of an image before publishing it is something people install separate tools to do. If you need those fields preserved, a build-step tool like sharp or the reference avifenc will carry EXIF across, and this will not.
Built around the one image you are about to publish.
Everything here is about getting one file right: the quality you chose for it, the alpha you drew, and a size you can read before you save.
See the size before you save
The result shows the AVIF against the PNG it came from, with the saving as a percentage, before you download anything. Not small enough, or a screenshot's text went soft? Change the quality and run it again. It is one file, so a second try costs seconds.
Nothing is uploaded, encoder included
No browser can write an AVIF, so this page brings its own encoder: libavif and aom, compiled to WebAssembly, running in your tab. Your file is read off your own disk and never transmitted.
Usually a fraction of the size
A 1.5 MB illustration came out at 83 KB. A 173 KB social card came out at 29 KB. The saving is largest on exactly the images that were slowing your page down most.
Transparency survives
AVIF has a real alpha channel, so a logo on a transparent background stays on a transparent background. Nothing is flattened onto white, which is the thing PNG to JPG does and PNG to AVIF does not.
Full resolution, every time
A 2000 by 2000 PNG becomes a 2000 by 2000 AVIF. Nothing is downscaled, nothing is cropped, and there is no watermark, which is what most free converters are actually charging you for.
Works on a phone too
Same tool, same browser, no app to install. AVIF encoding is heavier than the other conversions here, so a large image on a phone takes a few seconds longer, and it does finish.
PNG to AVIF: common questions
How the conversion works, and where it stops.
Drop your PNG onto the box at the top of this page, or press the button and pick it from your device. AVIF is already selected as the output, so you can convert straight away.
When it is done, the result tells you how much smaller the AVIF is than the PNG. Download it, or change the quality and convert again if you want it smaller or sharper. There is no account step and no email step.
Somewhere between a little and enormously, depending entirely on the picture. At the default 75%, a 1.5 MB illustration came out at 83 KB, a 1.3 MB logo at 21 KB, a 173 KB social card at 29 KB and an 81 KB screenshot at 11 KB.
The floor case is a PNG that was already reduced to 256 colours: one of those went from 440 KB to 261 KB, which is a saving but not a dramatic one. Photographs, gradients and soft shadows shrink the most, because that is the content lossless compression handles worst and a video codec handles best.
Yes. AVIF has a full alpha channel and this tool never paints a background under a format that supports one, so a transparent PNG becomes a transparent AVIF.
At the default quality the alpha channel is compressed like everything else, so the antialiased edge pixels can shift very slightly. On a measured logo, 91.5% of pixels came back with exactly the alpha they went in with, and the rest were the soft rim. Set quality to 100 if you need those stored exactly.
It can be. At 100% the encoder uses AV1's lossless mode and stops subsampling the colour, and the result is bit for bit identical to the PNG. Below 100% it is lossy, which is where all the size saving comes from.
What surprises people is the result: a lossless AVIF made from a PNG is usually bigger than the PNG. In our measurements a 173 KB PNG became a 303 KB lossless AVIF, and a 440 KB one became 1.6 MB. PNG is already a very good lossless compressor for this kind of content. If you need lossless, keep the PNG and convert only what you are publishing.
Leave it at 75% for a photograph, an illustration or a logo going on a web page. There is nothing visible to find at that setting, and resolution never changes: every pixel of a 2000 by 2000 image is still there afterwards.
Go to 90% for interface screenshots or anything with small lettering, because sharp text on flat colour is where a lossy codec shows itself first. Use 100% only when you need a bit-for-bit copy, and expect that file to be larger than the PNG. Whatever you pick, the result shows the size before you download, so the cheap way to decide is to try two and read the number.
No. The encoder runs inside your browser, so your file is read from your own device, converted in memory, and handed back. Nothing is transmitted, which means nothing can be stored, logged or leaked, and closing the tab erases every trace.
This is easy to verify rather than take on trust: open your browser's network tab while you convert. You will see the encoder download once and no request carrying your image.
Not at the time of writing. Figma exports PNG, JPG, SVG, PDF and WebP. Canva exports PNG, JPG, PDF, SVG and GIF. Preview on a Mac goes as far as HEIC. None of them has AVIF in the list, which is the whole reason a page like this exists.
Export the PNG the way you normally would, drop it here, and download the AVIF. Keep the PNG: it is the master, and the AVIF is the copy you publish.
Because AV1 is a video codec doing an exhaustive search that JPEG and PNG never attempt, and because no browser ships an AVIF encoder, so this page downloads one of about three and a half megabytes the first time you pick AVIF.
After that first download it is cached for the session, so the next conversion starts immediately. Expect roughly a second for a typical image on a laptop and longer on a phone. That cost is exactly what buys you the file size.
4.0 MB per file, and a ceiling of 24 megapixels on the image itself. The pixel limit is the one that matters: an AVIF encode holds several planes of the image in memory at once, so a very large photo can take a phone's tab down with no useful error.
Past either limit the tool declines the file and says so, rather than gambling and leaving you with a blank tab. Resize it first, or convert it to WebP, which is cheaper to encode.
Every current browser can: Chrome since 2020, Firefox since 2021, Safari and iOS since 2022, Edge since January 2024. On a web page you control, that is effectively everyone.
Off the web it is patchier. Windows needs the free AV1 Video Extension for previews, macOS reads AVIF from Ventura onward, and desktop editors are a mixed bag. Convert what you are publishing, and send people PNGs.
Yes, in the image converter, which reads AVIF as well as writing it. That direction is easy: every browser decodes an AVIF natively, so there is no encoder to download and the conversion is instant.
Bear in mind what comes back. If the AVIF was made at 75%, converting it to PNG gives you a lossless copy of the compressed image, not the original detail. The only way back to that is the PNG you started with, which is a good argument for keeping it.
For a build step, yes, and you probably should: sharp in a Node pipeline or avifenc from the libavif tools will do the same job on a server, with slower and better encoder settings than a browser tab can afford, and they can carry EXIF across.
This page is for the other case, which is an image in front of you and no build step to put it through.
Yes. No signup, no watermark, and no daily limit on how often you use it. Your device does the work, so the hundredth conversion costs us exactly what the first did, and there is nothing for us to charge you for.
Convert your PNG now
Drop it in, press convert, download the AVIF. Nothing gets uploaded and there is nothing to sign up for.



