Shrink PNG graphics by converting them to AVIF

Change the format to JPG, PNG, WebP, AVIF, GIF or TIFF. Opens iPhone HEIC photos too.

or drop them anywhere on this page
Runs in your browser, never uploadedNo watermarkFree, no account

Convert

Change the format, or make a PDF, icons or an SVG.

How it works

  1. 1
    Choose your pictures
    Select one or several, or drop them on the page. They open in this tab straight away; nothing is uploaded.
  2. 2
    Set it up
    Pick the format you want, and the quality. The preview shows the result as you go.
  3. 3
    Save the result
    Press Convert. The new picture is made on your device, ready to save.
Where your picture goes
Nowhere. It stays on this device.

The picture is read from your disk and changed inside this tab. Close the tab and nothing is left anywhere else.

What it takes
JPG, PNG, WebP, AVIF, HEIC, GIF, BMP, TIFF, ICO, SVG

It works in current Chrome, Edge and Firefox. An iPhone HEIC photo needs a reader of about 1.5 MB, loaded once. Very large pictures may be too big for your browser.

PNG is exact, and that is its problem: a full-screen screenshot, a large illustration or a banner with a transparent background can weigh several megabytes. AVIF stores the same picture in far fewer bytes and keeps the transparency, which makes it a good fit for graphics on the web.

This page opens Convert image with Convert to set to AVIF. You see the size your AVIF will have before you convert, and the work happens in your browser, so nothing is uploaded. It is free, with no account and no watermark.

When converting PNG to AVIF makes sense

Is your PNG file too big to load quickly? If the picture is going on a web page, converting PNG to AVIF is usually worth it. Typical cases:

  • Screenshots in a help article, a guide or a blog post.
  • Illustrations, banners and hero pictures on a website.
  • Logos and product cut-outs with a transparent background, shown large.
  • PNGs that are really photos, which PNG stores very inefficiently.

Keep the PNG when the pixels must stay exact: pictures you will edit again, print files, and anything a program or upload form must open, because many still do not accept AVIF. Converting does not change your PNG, so you can keep both.

A quick test before you commit: open the picture and look at the PNG and AVIF tiles under Convert to. If the AVIF is not much smaller, the PNG is already efficient, as flat graphics with few colours often are, and converting gains little. A big gap means AVIF is well worth it.

How to convert PNG to AVIF

  1. Press Select images and pick your PNG files, or drop them anywhere on the page.
  2. Convert to is already on AVIF. Pick a Quality: Smaller, Balanced or Best.
  3. Wait a moment: the stage shows Encoding the AVIF preview… until the exact size is ready.
  4. Compare in Split view, with the PNG on the left and the AVIF on the right.
  5. Press Convert, then save. diagram.png comes out as diagram.avif.

The AVIF encoder is about 3.5 MB and loads once, the first time you need it. The picture keeps its width and height in pixels, so the AVIF fits wherever the PNG did.

The tiles under Convert to show the size for every format at once, so you can see how the AVIF compares with WebP and with the PNG itself before you decide.

Quality for graphics, text and screenshots

PNG keeps every pixel. AVIF, as made here, compresses the picture, so some pixels change. On a photo you rarely notice; on sharp text, thin lines and flat colour you can, especially at a low Quality. The three choices stand for 60, 80 and 95 on the usual 0 to 100 scale.

Where to start with Quality
PictureStart withWhy
Screenshot with small textBestLetters stay crisp, with no smudges around them
Illustration, chart or diagramBalanced, or Best for fine linesFlat colours and edges need a little more room
Logo or cut-out with transparencyBalancedSmooth edges, still a small file
A photo saved as PNGBalanced or SmallerPhotos hide compression well

Check before you save. Press 100% in the zoom buttons under the stage and drag the Split view divider across some text or a sharp edge. Hold to compare shows the PNG while you press it. If letters look soft, step up to Best.

AVIF for screenshots works well as long as the text stays readable at the size the page shows it. A screenshot shown smaller than its real size hides small flaws; one shown at full size, pixel for pixel, shows every one, so use Best there. Using AVIF for screenshots in documentation? Keep the PNGs as your masters, since you will likely update them later.

Transparent AVIF, and other ways to shrink a PNG

A transparent AVIF keeps the see-through parts of your PNG, soft edges and shadows included, so a logo still sits cleanly on any background. There is no setting to choose: transparency is simply kept.

AVIF is not the only fix for a PNG file too big to load quickly. Which one fits depends on where the picture goes:

  • AVIF or WebP? Both keep transparency. AVIF usually makes the smaller file; WebP is much quicker to make. PNG to WebP has its own page.
  • It must stay a PNG? Compress PNG packs it better, or uses fewer colours for a much smaller file, which suits flat graphics.
  • It is a logo made of flat shapes? A traced SVG can be tiny and sharp at any size (raster vs vector explains why): try Image to SVG.

Converting photos rather than graphics? JPG to AVIF covers that case, with tips on quality for photos.

Batches, speed and privacy

AVIF gets its small files by working hard, so it takes longer to make than JPG or WebP. The exact size waits until the settings have been still for a second, so trying choices stays smooth.

  • Select up to 100 pictures at once, or add more from the work screen. The button counts them: Convert 25 pictures.
  • In a batch, each AVIF is made at a faster setting than a single picture, so a long run finishes sooner. The files can come out a little larger.
  • Save all as ZIP saves every AVIF together, each with the name of its PNG.
  • Every AVIF is drawn fresh, so any details stored in the PNG, such as a date, are not copied into it.
  • Nothing is uploaded: the work happens in your browser, and our server does no picture work. It is free, with no account and no watermark, and image tools are not counted in the free daily limit, which applies to document conversions only.
  • It works in current Chrome, Edge and Firefox. Very large pictures may be too big for your browser.

Because the encoder runs on your computer, a fast machine finishes a batch sooner than an old laptop. Keep the tab open until it is done. More on how we treat files is on the privacy page.

Make your graphics lighter

To change PNG to AVIF, select your pictures, keep Convert to on AVIF, pick a Quality while you watch the size, and press Convert. Transparency is kept, and Best keeps text sharp.

It is free and private. Select your PNG files above to start.

Questions people ask

Is transparency kept when I convert PNG to AVIF?

Yes. AVIF keeps transparent areas, including soft edges, so there is nothing to set.

Is the AVIF an exact copy of the PNG?

Not here. AVIF compresses the picture, so some pixels change. Pick Best under Quality to keep it closest to the original, especially for text.

How much smaller will the AVIF be?

It depends on the picture. The AVIF tile shows an estimate for yours, and the exact size appears once the file has been made in the background.

Should I pick AVIF or WebP for my PNGs?

Both keep transparency. AVIF usually makes the smaller file; WebP is much quicker to make and has been around longer, so a few more programs open it. The tiles show both sizes for your picture.

Can I convert many PNG screenshots at once?

Yes, up to 100 per run, with the same Quality for all. They save together as one ZIP, each keeping its name.

Are my pictures uploaded?

No. The AVIF encoder runs inside the page, so your pictures are converted on your own device.

Step by step

  1. 1

    Select your PNG pictures.

  2. 2

    Check that Convert to is AVIF, and pick a Quality.

  3. 3

    Press Convert and save the AVIF files.

Our cookies keep you signed in. If you accept, we also load Google Tag Manager, which runs Google Analytics and Microsoft Clarity (which records how you move around the site). None of them run unless you accept. The privacy page has the details.

Read first