Convert JPG to AVIF
AVIF is the most efficient still image format in wide browser support, and JPEG is the least efficient thing most people still use. The gap between them is the largest available: roughly half the file size at matched visual quality, with clean gradients where JPEG bands and smooth edges where JPEG blocks. The cost is encoding time — AVIF is slow, measured in seconds per image rather than milliseconds.
Best for: Squeezing the absolute maximum out of a web image budget when you can spare the encoding time.
What to know
- AVIF encoding is genuinely slow. A large batch will take minutes, not seconds. Progress is shown per file and the tab stays responsive throughout.
- AVIF quality numbers are not JPEG quality numbers. AVIF at 55 looks roughly like JPEG at 80 — the default here accounts for that.
- AVIF metadata writing is not supported yet, so EXIF and colour profiles will be dropped. If you need metadata preserved, convert to WebP instead.
- Safari only supports AVIF from version 16 onwards. Serve a WebP or JPEG fallback if you need to cover older devices.
About JPEG
The 1992 workhorse of digital photography, and still what almost every camera and phone writes by default.
- No transparency at all — every JPEG is a solid rectangle.
- Its 8x8 block transform shows as visible mosquito noise around hard edges and text.
- Every save re-quantises the image, so repeated edits degrade it generationally.
- Thirty years of compression research have happened since, and it uses none of it.
- Support:
- Every browser ever shipped.
- Transparency:
- None.
About AVIF
Built on the AV1 video codec and standardised in 2019 — currently the strongest compression available in a widely supported still image format.
- The best quality-per-byte of any format here, typically by a wide margin.
- Handles gradients and flat colour without the banding JPEG produces.
- Wide colour gamut and HDR support built in.
- Full alpha, and it compresses that alpha well.
- Support:
- Chrome, Edge, Firefox, Opera and Safari 16+. Roughly 93% of users.
- Transparency:
- Full alpha, efficiently compressed.
Frequently asked questions
- How much smaller is AVIF than JPG?
- Around 50% at matched visual quality, and more on images with gradients, flat colour or sharp edges. It is the largest single saving available from a format change alone.
- Why is AVIF conversion so slow?
- AVIF is built on the AV1 video codec, which searches an enormous space of encoding decisions to find the smallest representation. That search is the reason the files are so small and the reason it takes seconds per image. Lowering the effort setting trades some compression for speed.
- Is AVIF supported by all browsers?
- By Chrome, Edge, Firefox, Opera and Safari 16 and later — roughly 93% of users. It is not supported by older Safari, and many desktop applications still cannot open it. Use a picture element with a WebP or JPEG fallback if you need full coverage.
- Should I use AVIF or WebP?
- AVIF when file size is the priority and slower encoding is acceptable. WebP when you want fast conversion, slightly broader compatibility, and metadata preservation. Many sites serve both and let the browser choose the best one it supports.
Related conversions
Converting from something else? Convert any image to AVIF