What are JPG and AVIF?
JPG (JPEG) is the photo format every device opens since 1992; it compresses with loss and has no transparency. AVIF stores images with the AV1 video codec: the smallest files of the common formats at the same quality, with transparency and HDR, but slow to encode.
For photos on a website, AVIF usually needs well under the JPG size for the same look; serve it with a JPG fallback in <picture> for old browsers.
This page opens the image converter ready for JPG → AVIF. The conversion runs in your browser: the files never leave your device.
JPG vs AVIF
| JPG | AVIF | |
|---|---|---|
| Extension | .jpg, .jpeg | .avif |
| Compression | lossy | lossy or lossless (AV1) |
| Transparency | no | yes |
| Animation | no | yes |
| Color depth | 8 bits per channel | 8, 10 or 12 bits per channel |
| Opens in | everything | Chrome, Firefox, Edge, Safari 16.4+; many editors and old apps do not open it |
| Best for | photos | website images |
When to convert JPG to AVIF
- Convert to AVIF when the image goes on a modern website and every kilobyte counts.
- Keep the JPG when the image is a photo that must open anywhere, from e-mail to old software.
What changes in the conversion
- Both are lossy, so the image is compressed a second time; keep the quality high (85–95%) to avoid adding visible artifacts.
- AVIF encoding is slow compared with JPG or WebP; large photos can take a few seconds each on a phone.
How to convert JPG to AVIF
- Drop one or more JPG files (.jpg, .jpeg) on the page.
- Convert; AVIF is already selected.
- Download each AVIF or a ZIP with all of them.
Example
Settings the converter uses for JPG → AVIF:
| Setting | Value |
|---|---|
| Output format | AVIF |
| Quality | 90% by default, adjustable from 30 to 100% |
| Transparent areas | kept |
| Several files | yes, downloaded one by one or in a ZIP |
| Before/after | side-by-side comparison with the sizes |
Frequently asked questions
Are my files uploaded?
No. Your browser reads and converts the JPG files itself.
Will the AVIF be bigger or smaller than the JPG?
It depends on the image and the quality you choose; the result list shows the size of each file next to the original so you can compare before downloading.
Does AVIF keep transparency and animation?
Transparency in AVIF: yes. Animation in AVIF: yes. The JPG had transparency: no; animation: no.