PNG to AVIF Converter

Convert PNG images to modern AVIF — smaller files, transparency kept.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

Convert PNG images to AVIF without uploading them

AVIF is a modern image format that compresses far better than PNG for photographs and flat-colour graphics alike, while still supporting transparency. This tool re-encodes your PNGs as AVIF with a quality slider you control, so you can trade file size against fidelity — ideal for shrinking images destined for the web.

How it works

Each PNG is decoded, drawn onto an HTML <canvas> at its original pixel dimensions, then re-encoded with the browser’s built-in AVIF encoder:

PNG → decode → draw to <canvas> → canvas.toBlob("image/avif", quality)
quality slider: 0.1 (smallest) … 1 (near lossless)

The alpha channel is carried through, so transparency survives. If the browser cannot produce AVIF, a clear error is shown instead.

Example

A 500 KB PNG screenshot re-encoded at quality 0.8 typically drops to well under 150 KB as AVIF while looking visually identical, with any transparent areas preserved.

QualityTypical result
1.0Near lossless, largest AVIF
0.8Strong shrink, no visible loss
0.5Smallest, slight softening

Everything runs locally in your browser — your images are never uploaded, stored, or seen by anyone.

Ad placeholder (rectangle)