Drop JPG images hereAdd JPG images

Make JPG scans and photos much smaller with AVIF.

or paste with CtrlCommandV JPG, PNG, WebP, AVIF, GIF, BMP, TIFF, ICO, PSD or SVG

Your files never leave your device

About this tool

JPG to AVIF converter, with sizes we measured

Convert JPG to AVIF to make scans, documents and photos much smaller for the web. ToolHero writes each AVIF on your device. Our scanned pages shrank to between 0.12× and 0.17× of the JPG, and our phone photo to 0.57×. At the same setting, AVIF also kept our photos truer to the JPG than WebP did.

Measured: scans shrink most, photos less

AVIF did best on pictures with large calm areas, like paper and plain backgrounds, and least on detailed photos. At ToolHero’s default setting (75 on the slider, which is libavif’s quality 60):

  • An A4 form scanned at 300 dpi, 3.2 MB: a 398 KB AVIF, 0.12× the size.
  • A signature on white, 115 KB: 19 KB, 0.17×.
  • A web photo saved at JPEG quality 80, 525 KB: 411 KB, 0.78×.
  • A 12 MP phone camera photo, 5.2 MB: 2.9 MB, 0.57×.

AVIF or WebP for your JPGs?

On every scan and document we tried, AVIF came out a quarter to a third smaller than WebP: 398 KB against 590 KB for the 300 dpi form.

Photos are closer, and the same setting doesn’t mean the same quality. We compared each copy with the JPG, pixel by pixel, and at 75 the AVIF was the truer one on both photos. So we also raised WebP’s quality until it matched. For our web photo, WebP needed 529 KB to match a 411 KB AVIF. For the 12 MP camera photo, AVIF lost slightly: 2.9 MB, against 2.7 to 2.8 MB as WebP.

AVIF is also the slowest of the four formats to write, and fewer programs open it. So choose AVIF for scanned paperwork and for web photos where every kilobyte counts; for big camera photos, JPG to WebP is quicker and a little smaller.

Wide-colour photos and colour profiles

Most recent phones shoot in the wide Display P3 colour space. ToolHero labels those AVIFs as Display P3, so reds and greens stay as vivid as in the JPG.

An AVIF written here can’t carry any other embedded profile. Photos tagged Adobe RGB, which some cameras and editors use, are read as ordinary sRGB and look a little duller. For those, convert to WebP, which keeps the profile, or stay with the JPG.

Why convert JPG to AVIF?

  • What you gain

    AVIF made our scanned pages 83–88% smaller than the JPGs, more than any other format here. Current versions of Chrome, Edge, Firefox and Safari all show it.
  • Good to know

    AVIF takes longer to encode than JPG or WebP, so big batches need a little patience. Older apps and devices may not open AVIF yet.
  • Measured on our test JPGs

    A 3,220,254-byte JPG scan of an A4 form became a 398,433-byte AVIF: 0.12× the size, where WebP reached 0.18×. Our 5,173,719-byte phone photo became 2,924,345 bytes (0.57×), against 0.44× for a less faithful WebP. Across five JPGs the AVIF ranged from 0.12× to 0.78×.

How it works

  1. Step 1:Add your JPGs

    Drop in photos or scans, choose them from your device or paste them from the clipboard.

  2. Step 2:Check the quality, then convert

    AVIF is picked for you at 75. Lower it for smaller files, then press Convert and give big batches a moment.

  3. Step 3:Download the AVIFs

    Save them one by one, or all at once as a .zip with the original names.

JPG vs AVIF at a glance

How the two formats compare, so you know what to expect.

  • JPG

    Your files

    The classic photo format. Every phone, computer, app and website has opened JPGs for decades.

    Best for Photos you want to share anywhere: email, chat, print services and older software.

  • AVIF

    What you get

    The newest format here, built on the AV1 video codec. It makes the smallest files at a given quality.

    Best for Websites where every kilobyte counts, and high-quality photos at tiny sizes.

Key facts: JPG compared with AVIF
JPGAVIF
CompressionLossyLossy or lossless
TransparencyNoYes
AnimationNoYes
Photo file sizeThe baselineAbout half a JPG
Opens inEverywhereModern browsers, fewer apps

Questions, answered

Is AVIF always smaller than WebP?

No. In our tests AVIF was a quarter to a third smaller on scans and documents. On photos it depends: matched for quality, AVIF won on a web photo, 411 KB against 529 KB, but came out slightly bigger than WebP on a 12 MP camera shot.

Why does AVIF take longer than JPG or WebP?

AVIF is built on the AV1 video codec, whose encoder does much more work per pixel. Where your browser allows it, ToolHero spreads AVIF work over several processor cores to keep batches moving.

Which apps can open AVIF files?

Current Chrome, Edge, Firefox and Safari display them, but plenty of desktop programs, office suites and online forms don’t yet. Keep your JPGs for anything outside the web.

Will a photo keep its colours as AVIF?

Photos in sRGB or Display P3, which covers most phones, do. Other embedded profiles, such as Adobe RGB, can’t go into these AVIFs and come out slightly duller; WebP keeps them.

How do I make the AVIF even smaller?

Lower the quality slider before you press Convert, or resize the picture first. Halving the width and height leaves only a quarter of the pixels to store.

Do my JPGs leave my computer when I make AVIFs?

No. The AVIF encoder runs in your browser on your own device, and no picture is sent anywhere.

Related conversions

Smallest files, newest.To AVIF · 75%

To AVIF · 75%
JPG to AVIF settings

Convert to

Compression

Quality

Add images to convert them