JPG to AVIF Converter
Batch convert JPG images to AVIF format with adjustable quality
Drop your JPG files here, pick a quality setting, and grab the AVIF versions — typically 50–80% smaller than the originals. The converter handles batches too, so you can process an entire folder of product shots or blog images in one go. And everything runs in your browser. Nothing gets uploaded.
How It Works
Your browser reads each JPG, draws it onto an invisible canvas element, then re-encodes that canvas as AVIF using the built-in toBlob() method. The quality slider controls the compression ratio — lower numbers mean smaller files but more visual loss. Because this relies on native browser APIs, Chrome 121+ gives you the best results.
Examples
Product photo for an online store
A white-background product shot that needs to look crisp but load fast on mobile.
sneaker-hero.jpg
2400 × 1600px — 1.8 MB
Quality: 75
sneaker-hero.avif
2400 × 1600px — 312 KB
83% smaller
Blog header image
Landscape photo used as a full-width banner. Visitors on slow connections bounce if it takes more than 3 seconds to render, so size matters here.
mountain-sunrise.jpg
3200 × 1800px — 3.4 MB
Quality: 60
mountain-sunrise.avif
3200 × 1800px — 485 KB
86% smaller
Batch of social media thumbnails
12 square thumbnails for a portfolio grid. Converting them one by one would take forever.
12 × thumbnail-*.jpg
800 × 800px each — 4.2 MB total
Quality: 70
12 × thumbnail-*.avif
800 × 800px each — 680 KB total
84% smaller
Who Uses This
Shrink hero images and galleries to hit Core Web Vitals targets without visible quality loss.
Convert hundreds of product photos in one session so pages load faster on mobile.
Keep post images sharp while staying under hosting bandwidth limits.
Export mockup assets in AVIF so the final app bundle is smaller.
Common Mistakes
These browsers can display AVIF images but can’t encode them from Canvas yet. If conversion fails silently or produces a blank file, switch to Chrome 121 or newer. That’s the only browser with full AVIF encoding support right now.
AVIF handles gradients and textures well at quality 50–60, but screenshots or photos with overlaid text start looking smeared below 70. Bump it to 75+ when readable text matters.
About 5% of global browser traffic still doesn’t support AVIF. Use the <picture> element with an AVIF source and a JPG fallback so every visitor sees something.
Technical Details
- Processing: 100% client-side — uses Canvas API
toBlob("image/avif") - Browser Support: Chrome 121+, Edge 121+ (encoding); Firefox & Safari (viewing only)
- Max File Size: Limited by available RAM — works fine up to ~50 MB per image
- Batch Support: Unlimited files per session
- Quality Range: 1–100 (default 75)
Frequently Asked Questions
Is AVIF better than WebP?
For most photos, yes. AVIF typically produces files 20–30% smaller than WebP at the same visual quality. The trade-off is that AVIF encoding is slower and browser support is slightly narrower. If you need maximum compatibility right now, WebP is the safer bet.
Why did my AVIF come out larger than the original JPG?
This happens when the JPG was already heavily compressed and you set AVIF quality very high (90+). The encoder can’t squeeze out more savings from an already-small file. Try lowering quality to 70–80 — you’ll usually see a big reduction without visible loss.
Can I convert PNG to AVIF with this tool?
This particular converter accepts JPG/JPEG files only. We have a separate PNG to AVIF converter that handles PNGs. The reason they’re split is that PNG transparency needs different handling during the encoding step.
Does converting to AVIF lose image quality?
AVIF is a lossy format by default, so some data is discarded. At quality 75, most people can’t tell the difference from the original JPG. Going below 50 will start to show softness, especially in fine details like hair or text. If you need pixel-perfect output, keep quality at 90 or above — but the file won’t shrink as much.
Are my images safe? Does anything get uploaded?
Nothing leaves your browser. The conversion runs entirely in JavaScript on your device using the Canvas API. There is no server involved, no network request, and no tracking. Once you close or refresh the tab, everything is wiped from memory.
Convert JPG images to modern AVIF format in batch with adjustable quality. See original and converted file sizes, and download individually. All processing runs in your browser — nothing is uploaded to any server.