GALAXY OF TOOLS

IMAGE SECTOR

JPG to AVIF Converter

Encode JPG photos as AVIF for tiny files — quality, speed and progress shown, all on your device.

Drop JPG images here or click to choose JPG or JPEG · many at once · paste with Ctrl+V
AVIF looks good at lower numbers than JPG — 55–65 suits most photos.
AVIF takes far longer to create than JPG or PNG; big photos can need several seconds each.
Colour detail Sharper fine colour detail but larger files. Camera JPGs usually store colour at reduced resolution already, so it’s off by default.

AVIF encoding is slow — big photos take several seconds each, and the progress bar shows how far along it is. EXIF data isn’t copied into the AVIF.

    Runs entirely in your browser — images are never uploaded. The AVIF codec (@jsquash/avif, Apache-2.0) is downloaded once from a CDN.

    Convert JPG to AVIF for the smallest photo files

    AVIF is the newest widely supported image format, and for photographs it can produce strikingly small files. This JPG to AVIF converter encodes your JPG and JPEG photos as AVIF right in your browser, using the open-source AV1 encoder from Google’s Squoosh project, packaged as @jsquash/avif (Apache-2.0 licence). Add a batch, choose quality and speed, and follow the progress bar as each image is encoded.

    Nothing is uploaded — the encoder runs as WebAssembly on your own device. That keeps your photos private, but it also means the speed depends on your computer: AVIF takes far longer to create than JPG, so a large photo can need several seconds.

    How to use the JPG to AVIF Converter

    1. Drop your JPG files onto the upload area or click it to choose them. The AVIF encoder (about 2.6 MB) downloads the first time.
    2. Set Quality. AVIF needs lower numbers than JPG for the same look — start around 55–65.
    3. Pick an Encoding speed: Balanced suits most batches; choose Smallest files if you can wait, or Fastest for big batches.
    4. Leave Full colour resolution (4:4:4) off for camera photos; turn it on for images with fine coloured detail.
    5. Follow the progress bar, compare the result with the Original in the preview, then download the AVIFs or use Download all for a ZIP.

    JPG to AVIF Converter features

    Runs in a background worker

    Encoding happens off the page’s main thread, so the page stays responsive while a batch works through, with a progress bar and time estimate.

    Quality mapped to AV1 levels

    The 1–100 quality slider sets the encoder’s constant-quality level on its 0–63 scale; quality 60 corresponds to level 25.

    Three speed presets

    Speed 10, 8 or 6 trade encoding time against file size, and the time estimate learns how fast your device really is.

    Chroma choice

    Encode colour at reduced resolution (4:2:0) like most JPGs, or at full 4:4:4 resolution for sharp coloured edges.

    Upright, metadata-free output

    Photos are rotated according to their EXIF orientation before encoding. EXIF data is not copied into the AVIF.

    What AVIF is and why it compresses so well

    AVIF — the AV1 Image File Format — was finalised by the Alliance for Open Media in 2019. It stores a frame of AV1, the royalty-free video codec developed by the alliance’s members including Google, Mozilla, Cisco and Netflix, inside the same HEIF container structure that iPhones use for HEIC photos.

    AV1 has far more tools than JPG’s fixed 8×8 blocks: prediction from neighbouring pixels in dozens of directions, transform blocks from 4×4 up to 64×64 pixels, and in-loop filters that clean up blocking and ringing. That is why AVIF holds smooth skies, skin and gradients well at sizes where a JPG would fall apart. The price is computation — the encoder searches many options for every block, which is why this page lets you trade speed for size.

    Choosing quality and speed

    Lower encoder levels mean higher quality. As a rough guide:

    SettingEncoder valueGood for
    Quality 70–80Level 19–13Hero images, photography portfolios
    Quality 55–65Level 28–22Most web photos (default 60)
    Quality 35–50Level 41–32Thumbnails and previews
    FastestSpeed 10Large batches; slightly larger files
    BalancedSpeed 8Everyday use
    Smallest filesSpeed 6A few important images; several times slower

    Before you switch your site to AVIF

    • Browser support: Chrome since version 85 (2020), Firefox since 93 (2021), Safari since 16 (2022) and Edge since 121 (2024). Serve AVIF inside a <picture> element with a JPG or WebP fallback for older browsers.
    • Software support is patchier than for JPG: some Windows PCs need Microsoft’s free AV1 Video Extension to show AVIF, and older editors can’t open it. Keep your original JPGs.
    • Metadata: this tool doesn’t copy EXIF into AVIF. If the camera data matters, keep the original JPG — you can read it with the EXIF viewer.
    • Resize first: fewer pixels encode faster and smaller. A 1,600-pixel-wide photo is plenty for most web layouts; the image resizer does it in seconds.

    JPG to AVIF Converter FAQ

    How do I convert JPG to AVIF?

    Drop your JPG files on the converter, set the quality (about 60) and speed (Balanced), and wait for the progress bar to finish. Then download each AVIF or all of them as a ZIP. The encoding runs on your device.

    Why is AVIF encoding so slow?

    The AV1 encoder tries many prediction and transform options for every block to find the most compact one. That search is what makes the files small. The Fastest speed, or resizing the photo first, shortens the wait.

    How much smaller is AVIF than JPG?

    It varies with the picture and the quality you choose, so the converter shows each file’s exact size before and after. Photographs with smooth areas usually shrink substantially; JPGs that are already heavily compressed shrink less.

    Is converting JPG to AVIF lossless?

    No. Both formats are lossy, so the photo is compressed a second time. Start from the best-quality JPG you have and avoid very low quality settings.

    Does the AVIF keep my photo’s EXIF data?

    No. The AVIF is written without EXIF, so camera details and GPS location are not included. The photo is rotated upright before encoding, so it still displays correctly.

    Can every browser open AVIF files?

    All current versions of Chrome, Edge, Firefox, Safari and Opera can. Very old browsers and some desktop apps can’t, so keep a JPG or WebP fallback.

    You might also need