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.
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.
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
Output Format: AVIF
Technical Specifications
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