PNG to AVIF Crop Converter
Load a PNG, drag the crop handles to define exactly the area you need, preview the result, then download a compact next-gen AVIF file. Everything runs in your browser — your image never leaves your device.
Drop a PNG here
or Browse Files · PNG supported
What This Tool Does
This tool loads a PNG image directly in your browser using URL.createObjectURL and img.decode() for reliable, guaranteed non-blank rendering. It presents an interactive crop overlay with draggable handles, and converts the selected area to an AVIF file using the browser's native Canvas toBlob('image/avif') encoder. No server upload is required. The full workflow — loading, cropping, encoding — runs entirely in client-side JavaScript using the HTML5 Canvas API. Transparency is preserved: PNG alpha-channel data passes through to the AVIF output without any background compositing.
Who This Is For
- Web developers who need to extract a specific region from a PNG and deliver it as a compact AVIF asset for the fastest possible page loads
- Designers who want to trim source PNG files down to the exact subject area and export in the modern AVIF format in one step
- Anyone optimizing images for Core Web Vitals who needs to crop and convert PNG assets to AVIF without installing desktop software
- Content creators who want to dramatically reduce image file size while preserving transparency by switching from PNG to AVIF
PNG vs AVIF: Format Comparison
| Property | PNG | AVIF |
|---|---|---|
| Compression | Lossless DEFLATE | Lossy or lossless (AV1-based) |
| Typical file size vs PNG | Baseline | 50–60% smaller (lossy); ~20% smaller (lossless) |
| Transparency support | Full alpha channel (0–255) | Full alpha channel (0–255) |
| Color depth | Up to 48-bit | Up to 12-bit per channel, HDR support |
| Browser support | Universal | Chrome 85+, Firefox 93+, Edge 121+, Safari 16+ |
| Animation support | APNG only | Yes — animated AVIF |
| Best for | Lossless archives, screenshots | Next-gen web delivery, maximum compression |
