How to convert JPG to AVIF
- 01Add JPG photosChoose files or drop them on the page.
- 02Converted on your deviceNothing is uploaded. Adjust settings if you like.
- 03DownloadSave each file, or all of them as one ZIP.
Use this JPG to AVIF converter to make photos far smaller for a website at a similar visible quality. The AVIF encoder (libavif, compiled to WebAssembly) runs inside this page, so your photos are never uploaded and it works in any modern browser.
Why convert JPG to AVIF
AVIF is built on the AV1 video codec. For photos it usually beats both JPG and WebP on size at the same look, and when squeezed hard it blurs fine detail gently instead of breaking into JPG’s blocky squares. Chrome, Edge, Firefox and Safari all display it, so it’s a practical choice for web pages, where smaller images load faster.
The costs are time and compatibility. Encoding takes much longer than JPG or WebP, and many desktop editors, email clients and upload forms still won’t accept .avif files.
Choosing the AVIF quality
Quality starts at 60, on a 40 to 100 scale. That isn’t the same as a JPG quality of 60: AVIF holds detail at much lower numbers, so 60 usually looks very close to the original photo. Try 50 for thumbnails and backgrounds, and 70 to 80 for product shots or portraits where skin and fabric texture matter.
Re-encoding can’t bring back detail the JPG already lost, and AVIF tends to smooth leftover JPG noise. That often makes the file smaller still, but zoom in on fine textures before you replace your originals.
Resize while you convert
Size scales the longest side down to 4096, 2048 or 1080 px. Phone photos are often 4000 px wide or more, far bigger than a web layout needs, so picking 2048 or 1080 cuts the file size and the encoding time more than quality alone. Photos that are already smaller keep their size.
Speed and memory
- Each photo is encoded on your device. A 12 megapixel photo can take several seconds, and longer on a phone.
- Photos above about 4 megapixels use a slightly faster encoder setting to keep the wait reasonable.
- An AVIF encoding error usually means the image was too large for the browser’s memory. Choose a smaller Size and try again.
AVIF or WebP?
For a site you control, AVIF gives the smallest files. JPG to WEBP encodes in a moment and is accepted in more places, so it’s the safer middle ground. To shrink a photo but keep it a JPG, use Compress image.
At a glance
- Price
- Free. No sign-up, no watermark.
- Privacy
- Files are processed in your browser and never uploaded.
- Accepts
- JPG, JPEG
- You get
- AVIF
- Batch
- Convert many files at once and download them as a ZIP
- Works in
- Chrome, Edge, Firefox and Safari, on phones and computers
- Offline
- After the first conversion, it keeps working without internet
Questions
Are my files uploaded?
Never. JPG to AVIF conversion runs in your browser, so your files stay on your device.
Can I convert many at once?
Yes. Add as many as you like and download them all as one ZIP.
Is there a size limit?
Only your device’s memory. Large photos convert in a second or two.
Does it keep the EXIF data?
No. Camera details and GPS location aren’t copied into the AVIF. Photos are turned upright first, so sideways phone shots still display correctly.
Can I convert AVIF back to JPG?
Yes, with AVIF to JPG. Expect a bigger file, since JPG compresses less efficiently.
Why won’t my image editor open the AVIF?
Support outside browsers is still patchy. Keep the original JPG for editing and use the AVIF only on the web.