From.JPGTo.AVIFHandlingOn your device

JPG to AVIF Converter

Shrink JPG photos by converting them to AVIF, the format modern websites use to load faster. Free, in batches, on your own device — the files are never uploaded.

Drop JPG files here

or paste with Ctrl+V

  • Up to 50 files per batch
  • 50 MB per file
  • Animated AVIF supported — pick frames
  • Converted on your device, never uploaded
AVIF output
60
AVIF’s scale is not JPG’s: 60 suits most photos. The first file loads the encoder (3.5 MB) once.
Transparency
Off keeps the alpha channel as it is.
Animation, HDR and colour profile
Animated images

AVIF output here is a still image: each frame becomes its own file, and you pick the ones to keep.

HDR tone mapping
Highlights stay bright and fade toward white.
Highlights keep their hue and get darker.
Colour profile
Looks right everywhere.
Keeps wide-gamut colour; profile is embedded.

AVIF output is written in sRGB.

  • No uploadConverted on your device
  • No accountNothing to sign up for
  • No watermarkYour image, untouched
  • FreeNo quota, no paid tier
№ 01

How to convert JPG to AVIF

  1. Add your JPG photos

    Drop JPG, JPEG or JFIF files on the box, press Choose files, or paste with Ctrl+V — up to 50 files per batch, 50 MB each. Encoding starts immediately.

  2. Set the quality

    The preset of 60 suits most photos. Compare the sizes shown, and move the slider if you want a smaller file or more detail.

  3. Download

    Save each AVIF, or take the whole batch as a single ZIP.

№ 02

JPG vs AVIF

JPG and AVIF side by side
JPGAVIF
Introduced19922019, Alliance for Open Media
CompressionLossyLossy or lossless, based on the AV1 video codec
File size at the same lookReferenceRoughly half
TransparencyNoYes
HDR and wide colourNoYes
Browser supportEverythingAll current browsers
Editors and upload formsUniversalPatchy
Best forSharing with anyoneImages on your own website
№ 03

Why convert JPG to AVIF

AVIF stores a picture with the compression of the AV1 video codec. For photos that means a file roughly half the size of a JPG that looks the same, so pages load faster and use less data. That is why image-heavy sites, shops and portfolios serve AVIF to every browser that reads it.

The saving depends on the photo. Soft backgrounds, skies and skin shrink the most; busy, sharp detail such as foliage or gravel the least. A JPG that was already compressed hard has less to give.

№ 04

Choosing a quality

The slider runs from 1 to 100, but AVIF’s scale is not JPG’s. At the preset of 60 most photos look like the original; a JPG needs a number near 90 for the same result. Go up to 70–80 for images with fine text, sharp lines or smooth gradients, and down to 40–50 when size matters more than detail.

The size of every result is shown next to the original, so move the slider and compare before you download. The converter waits until you let go, then encodes the batch again.

№ 05

A JPG is already compressed

Converting a JPG to AVIF compresses it a second time. Detail the JPG had already discarded cannot come back, and its blocky artefacts are part of the picture the encoder sees. Start from the largest, least compressed JPG you have, and do not convert the same photo back and forth.

If you have the original as PNG or straight from the camera, use that instead: PNG to AVIF starts from every pixel.

№ 06

The encoder, and why it takes a moment

Chrome and Firefox can read AVIF but will not write it from a web page, so this page brings its own encoder: libavif, the reference library of the Alliance for Open Media, compiled to WebAssembly by the jSquash project. Every browser runs the same encoder, so the same file and setting give the same AVIF everywhere.

The first file you add loads the encoder, about 3.5 MB, from avifbox.com; your browser keeps it afterwards. AVIF is slow to create by design — the encoder tries many ways to describe each block of the picture — so a large photo takes a few seconds on a computer and longer on a phone. Several files are encoded side by side.

№ 07

Where the AVIF will open

Chrome 85, Firefox 93, Edge 121 and Safari 16 or later display AVIF, which covers well over nine in ten browsers in use, and so do current Windows, macOS, iOS and Android. Older editors, office suites and many upload forms still refuse it, so keep the original if you will need it there. When an AVIF has to go back, AVIF to JPG and AVIF to PNG are one click away.

№ 08

Using AVIF on a website

Serve the AVIF to browsers that read it and keep the JPG as a fallback for the rest. In HTML that is a <picture> element with an AVIF <source> and the JPG in its <img>; every browser picks the first format it understands.

№ 09

Limits and privacy, stated plainly

One batch holds 50 files per batch, 50 MB each. Those are guard rails, not a paywall: no daily quota, no account, no paid tier, and as many batches as you like. The real limit is your device’s memory, because that is where the work happens.

Your browser does the decoding and encoding, so the files are never sent anywhere. You need not take that on trust: this page’s security policy only lets it talk to avifbox.com, and your browser’s network panel will show that converting sends nothing.

№ 10

Questions people ask

How do I convert JPG to AVIF?
Drop your JPG files on the box at the top of this page or press Choose files. They are encoded in your browser; download each AVIF or all of them as a ZIP.
How much smaller is AVIF than JPG?
Often around half the size at the same visual quality, sometimes much less. It depends on the photo and on how hard the JPG was compressed; the page shows the real size of every result.
Is it free to convert JPG to AVIF?
Yes — free, with no sign-up, no watermark and no daily limit.
Is converting to AVIF lossless?
No. The encoder works in its lossy mode, trading detail you are unlikely to notice for a much smaller file. Raise the quality if you see a difference, and keep the original if you may edit the image later.
How many files can I convert at once?
Up to 50 files per batch, 50 MB each, and as many batches as you like. There is no daily limit; a very large image is bounded only by your device’s memory.
Why does it take longer than making a JPG?
AVIF spends far more effort per image to save those bytes. The first file also loads the encoder once. Large photos take a few seconds each, longer on a phone.
Is the EXIF data kept?
No. The AVIF holds only the picture: camera details and location are left out. A photo is turned upright first, so it does not end up sideways.
Are my files uploaded to a server?
No. Your browser decodes and re-encodes the images on your own device, and the files never leave it.
№ 11

Packing list

AVIFBox JPG to AVIF Converter — details
PriceFree — no account, no watermark, no quota
Works inChrome, Edge, Firefox and Safari, on desktop and mobile
InputJPG, JPEG, JFIF
OutputAVIF, 8-bit, quality 1–100
Batch size50 files per batch, 50 MB each
ProcessingOn your device; nothing is uploaded
MetadataNot copied: the AVIF holds the picture only, no EXIF or location