fileformer
search⌘KtranslateENexpand_moreupload_fileConvert
Converters8 file families · 44 direct conversions
What changes in a conversionarrow_forward
home/image/jpg-to-avif

Convert JPG to AVIF Online Free

An AVIF is one AV1 video frame in a labelled box.

Your browser has an AV1 video encoder built in. This page feeds it your JPG as a single key frame, then writes the AVIF container around that frame box by box: type, item list, size, codec settings, data. The finished file is decoded again and compared with the JPG, so every number here is measured.

landscapeTest JPGlake.jpg · 392 KB · 1600×1066
error
JPG · 3× crop
AVIF decoded back · 3× crop
AV1 quantizer (lower = better)30
per-frame quantizer (WebCodecs av1.quantizer), 0-63 scale
the file this page wrote
ftypfile type: avif, mif1, miaf, MA1B@032
metaeverything about the image@32226
hdlrhandler "pict": this is a picture@4433
pitmprimary item is #1@7714
ilocwhere item #1’s bytes are in the file: offset 266, 457817 bytes@9130
iinfitem list@12135
infeitem #1 is "av01" (an AV1 frame)@13521
iprpitem properties@156102
ipcothe property list@16472
ispesize 1600×1066@17220
av1CAV1 codec settings + sequence header@19228
pixi3 channels, 8 bits each@22016
ipmawhich properties belong to item #1@23622
mdatthe AV1 frame itself@258457,825
JPG392 KB
AVIF447 KB
change+14%
vs JPG pixels42.9 dB
encode73 ms
container266 B
downloadDownload lake.avif · 447 KB
~/size-quality-time

Here JPG holds its own: this encoder needs more bytes.

The same picture written at six AV1 quantizers, plus a JPG re-save at quality 85 for scale. Each row is a real file: bytes, quality against your JPG, and how long your device took to encode it. How much AVIF saves depends on the encoder: browsers ship AV1 encoders tuned for live video, while dedicated still-image encoders work harder per pixel.

At the same quality as a JPG re-save (40.0 dB), AV1 q46 is 345 KB: 1% larger than the JPG, and 1.5× faster to encode. This browser’s AV1 encoder is built for real-time video, so it trades size for speed; a still-image encoder such as libavif (avifenc) spends longer and usually beats JPG. Click a row to use it.

JPG q85341 KB · 40.0 dB · 59 ms
AV1 q15573 KB · 46.0 dB · 86 ms
AV1 q22515 KB · 44.5 dB · 63 ms
AV1 q30447 KB · 42.9 dB · 52 ms
AV1 q38391 KB · 41.6 dB · 42 ms
AV1 q46345 KB · 40.6 dB · 39 ms
AV1 q54302 KB · 39.6 dB · 43 ms
~/serve-it

AVIF first, then WebP, then the JPG.

The browser takes the first source it can show, so order is everything. The WebP below was encoded here too, at quality 80, so all three sizes in the comments are real. This browser:

AV1 encoder for pages (WebCodecs)yes, quantizer mode
Displays the AVIF written aboveyes
canvas.toBlob(…, "image/avif")no
<picture> <source srcset="lake.avif" type="image/avif"> <!-- 447 KB --> <source srcset="lake.webp" type="image/webp"> <!-- 200 KB --> <img src="lake.jpg" width="1600" height="1066" alt="" loading="lazy"> <!-- 392 KB --></picture>
~/other-routes

More on AVIF and its relatives.

Frequently Asked Questions

Is converting JPG to AVIF free?

Yes, JPG to AVIF conversion is completely free with no signup, no watermark, and no usage limit. Convert as many files as you need.

Are my files uploaded to a server?

No. The JPG to AVIF converter runs in your browser when your file is supported there, so the file stays on your device for that workflow, reducing server exposure for that workflow. If the file is sensitive, check the processing mode first.

How long does JPG to AVIF conversion take?

Most JPG to AVIF conversions finish in under a minute. Bigger files take longer, in proportion to their size. There is no queue to join and no account to make first.

Will the conversion reduce file quality?

Depends on what you are converting between. Go lossless to lossless and the picture or the audio comes out untouched. Go to a lossy format and you give up a little to get a smaller file.

Does this work on mobile devices?

Yes. The JPG to AVIF converter works on phones, tablets, and desktops in any modern browser including Chrome, Safari, Firefox, and Edge.