JPG to AVIF Converter
Got a folder of JPEG photos that is slowing a website down? Convert them to AVIF here and compare each file's size before and after. The conversion happens in your browser, so your photos stay private, and you can tune the quality to balance size against detail.
- Converted on your device, any browser
- Up to 100 MB
- No watermark, no signup
Last reviewed · How we verify claims
Drop images here
or click to browse — one or many (or a folder), up to 100.00 MB each · or paste
Compressed on your device. Nothing is uploaded, and metadata such as GPS location is removed.
How it works
- 1. Drop, paste or pick PNG, JPG, WebP, AVIF or GIF images, or a whole folder.
- 2. Pick AVIF, WebP, JPEG or Smallest, then a quality (50 to 60 suits most photos) or a size each file must fit under, and resize if needed.
- 3. Drag the divider to compare each image with its original, check the sizes, then download them one by one or as a ZIP. Nothing is uploaded.
Recommended settings
| Use case | Settings | Why |
|---|---|---|
| Camera photos for the web | Quality 50–60 | Smooth gradients and skies stay clean without the blocking JPEG shows at similar sizes. |
| Product photography | Quality 60–70 | Fine texture and edges need a little more quality to stay sharp on zoom. |
| Hero image (LCP) | Quality 55–65, resized to display width first | Serving the hero as AVIF with a JPG fallback cuts the bytes the browser must fetch before the page looks complete. |
Use it on the web
<picture>
<source srcset="photo.avif" type="image/avif">
<img src="photo.jpg" alt="Describe the photo" width="1200" height="800" loading="lazy" decoding="async">
</picture>.hero {
background-image: url("photo.jpg");
background-image: image-set(url("photo.avif") type("image/avif"), url("photo.jpg") type("image/jpeg"));
}JPG vs PNG vs WebP vs AVIF
| Format | Typical size | Colour | HTML tag | Support |
|---|---|---|---|---|
| JPG | Larger than WebP/AVIF for photos | Lossy, no alpha | <img> | Everywhere |
| PNG | Large for photos (lossless) | Lossless + alpha | <img> | Everywhere |
| WebP | Smaller than JPG | Lossy or lossless + alpha | <img> | All modern browsers |
| AVIF | Often smallest for photos | Lossy; alpha in the format, not written by this tool | <img> / <picture> | Current Chrome, Edge, Firefox, Safari |
Questions about JPG to AVIF Converter
- Will converting a JPG to AVIF lose quality?
- A JPG is already lossy, and AVIF is lossy too, so re-encoding adds a second round of compression. At moderate quality settings the difference is usually hard to see, but keep the original JPG as your master copy and check the result before replacing anything.
- Should I convert every JPG on my site?
- Convert the largest images first, such as hero banners and product photos, where bytes saved matter most. Use the size comparison to confirm each AVIF is actually smaller than its JPG.
- Is EXIF data like location kept?
- No. The pixels are re-encoded into a new file and camera metadata such as GPS location is not copied across, which also makes the output safer to publish.
- Are my images uploaded?
- No. Each image is decoded and encoded on your device, in background workers. Nothing is sent to a server, and re-encoding also removes metadata such as camera details and GPS location.
- Which browsers can convert to AVIF here?
- All current ones. Chrome and Edge use their built-in AV1 encoder, which is fast; Firefox, Safari and others use libavif compiled to WebAssembly, which is slower on large photos but gives the same kind of file.
Why convert JPG to AVIF
JPEG dates from the early 1990s. AVIF is built on the AV1 codec, a much newer design, so it can describe the same photo with fewer bytes. For a photo-heavy page that can mean noticeably less data to download, which is the main reason people convert.
The gain varies by photo. A busy, detailed image and a smooth sky behave differently, so measure with your own files; the converter shows both sizes.
Serving AVIF with a JPG fallback
Current browsers display AVIF, but a fallback is cheap insurance for older ones. Use an HTML picture element with an AVIF source first and your original JPG as the img fallback, and the browser picks the first format it understands.
Settings that work for photos
Begin at quality 50 to 60. Check skin tones, skies and text for smearing or banding at 100% zoom. If you see it, step the slider up in small increments until it disappears; the file grows, but you stop as soon as the picture looks right.
Private by design
Framimo converts your files inside your browser tab, so each image is never sent to a server for this AVIF export (this tool has no server fallback). There is no signup and no watermark, and you can disconnect from the internet once the page has loaded.