Drop your image here
One image to edit step by step · or several to batch optimise
Reads JPG · PNG · WebP · AVIF · HEIC · GIF · BMP · TIFF · SVG — writes JPEG · PNG · WebP · AVIF · JXL
JPG, PNG, WebP or HEIC in — AVIF out, typically half the size of the JPEG at the same visual quality. Transparency survives.
Why AVIF is so much smaller
AVIF uses the intra-frame compression from the AV1 video codec, which is a generation ahead of what JPEG and WebP were built on. At matching visual quality files usually land 50–70% under JPEG and 20–30% under WebP, it keeps an alpha channel, and every current browser decodes it. The encoder here is libaom compiled to WebAssembly, running on your own machine.
The best ratio available today
At the same perceived quality AVIF beats JPEG by 50–70% and WebP by 20–30%. On a page full of photographs that is the single largest saving available without changing the images themselves.
Keeps transparency
Unlike JPEG, AVIF has a real alpha channel, so a cut-out or a logo converts without a white box appearing behind it.
Encoded on your device
libaom as WebAssembly in your tab. Your images are never transmitted, which also means no queue and no size limit — the trade is that AVIF is the slowest of the formats here to encode.
Other image tools
Questions about this tool
How do I convert a JPG to AVIF?
Drop the JPG and this page opens with AVIF already selected, then press Download. Adjust the quality dial first if you want a specific trade-off — 55 is the default and is visually clean for photographs.
Is AVIF better than WebP?
For photographs, yes: at matching quality AVIF files are typically 20–30% smaller than WebP. WebP encodes faster and has slightly broader support in old software, so it remains the safer pick for a lossless graphic or when encode time matters.
Do all browsers support AVIF?
Every current version of Chrome, Firefox, Safari and Edge decodes AVIF. Very old browsers do not, so if you must support them, serve AVIF inside a <picture> element with a JPEG or WebP fallback.
Does AVIF support transparency?
Yes, with a full alpha channel, so PNG cut-outs convert cleanly. That is a large part of why AVIF replaces both JPEG and PNG in most web workflows.
Why is AVIF conversion slower than the others?
AV1 intra-frame encoding does far more work per pixel, and it runs in WebAssembly on your CPU rather than on a server farm. A few seconds for a large photograph is normal; the resulting file size is the payoff.