PNG to AVIF Converter - Lossless, Keeps Transparency

Convert PNG to lossless AVIF in your browser. AV1 intra coding shrinks the file while keeping every pixel and full transparency. No uploads, runs locally.

Browser Native
Privacy First
Free Tool

Convert Now

Drag & drop your file here

or

How It Works

AVIF stores a still image inside the AV1 codec's keyframe format, and AV1 has far smarter intra-frame prediction than PNG's DEFLATE pass over filtered rows. Feed it the same PNG and you usually get a smaller file with identical pixels, because the encoder finds spatial redundancy that PNG's row filters miss. This tool encodes lossless only, so the output is bit-for-bit the same image as your PNG, alpha channel included. When you drop a PNG in, the browser decodes it to raw RGBA through createImageBitmap, copies it into an OffscreenCanvas, and reads back the pixel buffer. That buffer goes to the @jsquash/avif encoder, a WebAssembly build of libavif, run with lossless mode on and effort 6 for a sensible speed-to-size balance. The transparency comes through as a genuine alpha channel, never flattened onto white or a checkerboard. Nothing leaves your machine. Decode, encode, and download all happen in the tab, which is the point when the PNG is an unreleased mockup, a screenshot of an internal dashboard, or a client asset you cannot post to a random web uploader. Close the tab and there is nothing left on a server because nothing was ever sent to one.

Related Conversion Tools

Discover more powerful converters that might be useful for your workflow

PNG Optimizer: Lossless Compression, Same Pixels

Shrink PNG files losslessly with oxipng. Same pixels, fewer bytes via smarter filtering and DEFLATE. Runs in your browser, no uploads, no quality loss.

PNG to Base64 Converter: Encode PNG as a Data URI

Encode a PNG into a Base64 data URI in your browser. Paste it into HTML, CSS, or JS to inline small icons. No upload, one-click copy, lossless.

PNG to JPEG Converter - Shrink Heavy Photo PNGs

Convert PNG to JPEG in your browser to cut photo file size. Lossy re-encode at quality 85, transparency is flattened. No uploads, files never leave your device.

JPEG to AVIF Converter: Lossless In-Browser Re-Encode

Wrap a JPEG into an AVIF file in your browser using the AV1 codec in lossless mode. No new compression on top of the source, no uploads, files stay on your device.

.jpg.jpeg
Try Now

QOI to PNG Converter: Decode Quite OK Images Free

Decode QOI (Quite OK Image) files to PNG right in your browser. Lossless, no uploads, opens .qoi assets in editors and browsers that can't read QOI.

PNG to QOI Converter: Lossless Quite OK Image Encode

Encode PNG to QOI (Quite OK Image) in your browser. Lossless, single-pass, no uploads. Built for game engines, asset bakers and decoder testing.

Convert toAVIF

Key Features

  • No file uploads required - works offline
  • 100% privacy focused - client-side processing
  • Browser powered - no software installation
  • Fast processing - WebAssembly technology
  • Free forever - no premium accounts

Supported File Formats

.png

Output Format: AVIF

Technical Specifications

input Format PNG (Portable Network Graphics), 8 or 16-bit, with or without alpha
output Format AVIF (AV1 Image File Format)
compression Type AV1 intra-frame coding, lossless mode (effort 6)
quality Retention Lossless: output decodes to the exact source pixels, alpha included
color Space Support sRGB RGBA with full alpha channel transparency
max Resolution Limited only by your device's memory
processing Time Instant for typical images, a few seconds for very large ones

Key Benefits

  • Lossless output: AVIF decodes to the exact pixels of your PNG
  • Keeps the full alpha channel, no flattening onto a background
  • Often smaller than the source PNG, especially on detailed images
  • Runs entirely in your browser, no uploads and no account
  • Works offline once the page has finished loading
  • AV1 encoding via WebAssembly libavif, no server round-trip

Common Use Cases

  • Archiving screenshots and UI mockups at smaller size without quality loss
  • Storing transparent product or logo PNGs more compactly
  • Keeping rendered 3D and game asset PNGs editable but smaller
  • Shrinking a local image library where every pixel must be preserved
  • Producing AVIF masters that can later be re-encoded lossily for the web
  • Sharing private graphics without sending them to a third-party uploader

Pro Tips

  • Expect a clear win on photographic or gradient-heavy PNGs, less on flat icons
  • Keep the original PNG too if a tool in your pipeline cannot read AVIF
  • On a public site, wrap AVIF in <picture> with a PNG fallback for old clients
  • For tiny flat graphics, check the AVIF is actually smaller before swapping
  • Need maximum web compression? Reach for a lossy AVIF or WebP tool instead

Frequently Asked Questions

Because this is lossless AVIF, you are comparing two lossless encodings, so the win is real but moderate rather than dramatic. Photographs, gradients, and rendered art saved as PNG often drop noticeably since AV1's intra prediction handles smooth detail better than PNG filters. Flat icons and few-color logos are already near PNG's best case, so the AVIF can be only slightly smaller or, on tiny graphics, occasionally a touch larger. If you need the big web-scale reductions people associate with AVIF, those come from lossy encoding, which this tool does not do.
It is fully lossless. The encoder runs in lossless mode, so the AVIF decodes back to the exact same pixels as the source PNG, including every alpha value. Nothing is quantized or blurred, which makes it safe for diagrams, text, screenshots, and any image you might re-edit later.
Yes, as a real alpha channel. Semi-transparent edges, soft drop shadows, and cut-out objects survive exactly as they were in the PNG, with no flattening onto a background color. That alpha-plus-smaller-file combination is the usual reason to move a transparent PNG to AVIF rather than to JPEG.
Chrome, Edge, Firefox, Safari, and current mobile browsers all decode AVIF. Outside the browser, support is patchier: recent macOS and Windows builds preview it, but plenty of older image viewers and editors still do not. For a public site, serve AVIF inside a <picture> element with a PNG fallback. For storage or apps you control, use it directly.
AV1 spends real CPU effort searching for the most compact way to predict each block, and this tool runs that work at effort 6 to keep files small. It is quick for normal screenshots and icons but scales with pixel count, so a multi-megapixel image can take a few seconds in WebAssembly. The payoff is a smaller lossless file.
No. The PNG is decoded and re-encoded entirely in your browser through WebAssembly. No bytes are sent to a server, nothing is logged or stored, and once the page has loaded the conversion still works with your network disconnected.
Not here. This converter is fixed to lossless to guarantee a pixel-perfect result, so there is no quality slider. If your goal is the smallest possible file for the web and you can accept tiny, usually invisible changes, you want a lossy AVIF or WebP tool instead. Use this one when fidelity matters more than squeezing out every kilobyte.
It handles one PNG per run. Each conversion is self-contained and fast for normal-sized images, so working through a few files back to back is quick, but there is no zip-everything batch mode.