FormatDrop
How-To Guide

How to Convert JPG to AVIF

AVIF (AV1 Image File Format) is the most efficient widely-supported image format available today, typically delivering 40–60% smaller files than JPEG at equivalent visual quality. Converting your JPEG library to AVIF is one of the highest-impact optimizations you can make for web performance — pages load faster, Core Web Vitals improve, and you use less bandwidth.

Step-by-step instructions

  1. 1

    FormatDrop (browser, any OS)

    Drag your JPG onto FormatDrop and select AVIF as the output format. FormatDrop encodes to AVIF using a high-quality server-side pipeline. Download the result. No software to install — runs in any modern browser. The default quality setting targets visual transparency (indistinguishable from source at a reasonable viewing distance).

    Go to converter
  2. 2

    Squoosh (browser, fine-grained control)

    Go to squoosh.app and open your JPG. In the right panel, click the format dropdown and select AVIF. Use the quality slider (0–62) — quality 33 is roughly equivalent to JPEG quality 75 in perceived quality while producing a much smaller file. Use the side-by-side comparison view to check for artifacts before downloading. Squoosh encodes in the browser using WebAssembly — no server upload required.

  3. 3

    ImageMagick (command line)

    Install: `brew install imagemagick` (Mac) or `sudo apt install imagemagick` (Ubuntu). Convert: `magick input.jpg output.avif`. Set quality: `magick input.jpg -quality 60 output.avif`. Note: AVIF quality scale is inverted and non-linear compared to JPEG — AVIF quality 60 is high quality, not medium. Batch: `for f in *.jpg; do magick "$f" "${f%.jpg}.avif"; done`. Use `-strip` to remove EXIF metadata for smaller output.

  4. 4

    avifenc (reference encoder, best compression)

    Install libavif tools: `brew install libavif` (Mac) or `sudo apt install libavif-bin` (Ubuntu). Convert: `avifenc input.jpg output.avif`. For quality: `avifenc --min 24 --max 36 input.jpg output.avif` (min/max are quantizer values — lower = higher quality; 24–36 is a good range). For speed: add `--speed 6` (0=slowest/best, 10=fastest). avifenc uses libaom and produces the best AVIF compression of any tool.

Why convert JPG to AVIF?

JPEG was designed in 1992. AVIF uses AV1 compression developed by the world's largest tech companies — Google, Apple, Netflix, Amazon — specifically to replace JPEG. Switching pays dividends in load time and bandwidth every day.

Your files never leave your device

FormatDrop runs the conversion engine entirely inside your browser using WebAssembly. No file upload. No server. Nothing stored. You can verify this by opening DevTools → Network tab and watching: zero upload requests.

Frequently asked questions

How much smaller will my AVIF files be compared to JPEG?
Typically 40–60% smaller at visually equivalent quality. A 200KB JPEG might become an 80–120KB AVIF at similar perceived quality. Savings vary by image content: photographs with fine texture compress less efficiently than clean, flat-color images. AVIF also supports lossless mode (like PNG), which is 30–40% smaller than lossless WebP.
Which browsers support AVIF?
Chrome 85+ (Aug 2020), Firefox 93+ (Oct 2021), Edge 121+ (Jan 2024), and Safari 16+ (Sep 2022). As of 2024, roughly 90% of global browser users can display AVIF. For the remaining 10% (mainly older iOS), serve WebP as a fallback using the <picture> element with multiple <source> elements.
Is AVIF lossless?
AVIF supports both lossy and lossless modes. By default, most tools encode lossy AVIF. For lossless: in ImageMagick, `magick input.jpg -quality 100 output.avif`; in avifenc, `--lossless`. Lossless AVIF from a JPEG source doesn't make sense (JPEG is already lossy), but lossless AVIF from a PNG or RAW source produces an exact pixel-for-pixel copy.
Convert JPG to AVIF Now — Free

No account. No upload. Works in any browser.