AVIF image audit

Convert JPEG to AVIF only where the page gets faster

AVIF is most useful when you treat it like an image audit, not a blanket export setting. This guide helps you find the JPEG photos that deserve AVIF, choose a review process, and avoid publishing files that are smaller but visually worse.

Quick verdict

Convert the exceptions, not the whole media folder

The best JPEG-to-AVIF decision starts with page impact. Convert the large photographic files that still slow down the page after resizing. Leave routine thumbnails, UI screenshots, diagrams, and already-small assets on a simpler path.

Strong candidate Large photographic LCP image

Use AVIF when a hero or landing page photo still dominates weight after resizing and WebP export.

Maybe Important but not dominant

Test AVIF only if the current file is still meaningfully heavy or the page has a clear speed problem.

Avoid Tiny, graphic, or unreviewed assets

Skip AVIF when the image is small, mostly UI, text-heavy, or you cannot inspect the result before publishing.

Image audit first

Ask these questions before choosing AVIF

AVIF can be excellent, but it is not a magic repair step. The format matters only after the image is sized correctly, assigned to the right role, and reviewed in the layout where visitors will actually see it.

Question Why it matters Action
Is the rendered size already correct? AVIF cannot fix a 4000px image displayed at 900px. Resize first, then compare formats.
Does this image affect LCP or first impression? Large above-the-fold photos have more impact than deep-page decorations. Prioritize hero, landing, and campaign visuals.
Is the content photographic? AVIF usually shines on photos, not flat UI or logo-style graphics. Use PNG, SVG, or WebP when sharp edges matter more.
Can you review the result in context? AVIF can hide artefacts until the image sits in the real layout. Check mobile width, gradients, faces, and crop.
Do you have a fallback path? Not every environment treats modern formats the same way. Publish with picture markup or your framework's equivalent.

Candidate selection

Which JPEG images are good AVIF candidates?

Look for images where a smaller file changes the page, not just the file manager. The strongest candidates are usually photographic, visually important, and large enough to influence perceived loading speed.

Best candidate

LCP hero photo

A large photographic hero that defines the first viewport and remains heavy after resizing is usually the strongest AVIF use case.

Good candidate

Landing page campaign image

A campaign or product photo can justify the extra review when it appears high on the page and needs to stay visually polished.

Selective candidate

Editorial feature image

Use AVIF when the image is large enough to matter, not merely because every article image is being exported again.

Poor candidate

Text-heavy screenshots

Screenshots, UI captures, diagrams, and icons often fail on text clarity before they benefit from AVIF compression.

Quality review

Do not copy quality numbers between AVIF tools

AVIF quality sliders are not universal. A value that looks good in one encoder may be too soft or too heavy in another. Start with the tool default or a middle quality range, then judge the output on the real page.

The goal is not the smallest possible AVIF file. The goal is the smallest file that still supports the page: clean enough detail, acceptable gradients, no distracting texture loss, and no visible colour shift.

Review order
  1. Compare against the resized JPEG or WebP, not the original camera file.
  2. Inspect the image at the rendered desktop size and at mobile width.
  3. Check faces, skies, gradients, shadows, small texture, and brand colours.
  4. Confirm the file actually loads on the page you plan to publish.

Visual failure modes

The AVIF artefacts worth checking before publishing

A good AVIF export can look excellent. A bad one can fail quietly: the file is smaller, but the image feels flat, smeared, or noisy in exactly the part of the page users notice first.

Banding in skies or gradients Smooth backgrounds can show stepping when compression is pushed too far.
Wax-like skin or product texture Portraits and product surfaces may lose natural detail even when the file looks sharp at first glance.
Mushy fine detail Leaves, fabric, hair, and small repeating patterns can smear in a way that feels lower quality than the byte savings are worth.
Colour or contrast shift Campaign images and product photos need brand-safe colour checks after conversion.
Crop and focal point mistakes A smaller file is not a win if responsive crops hide the part of the image that sells the page.

Delivery

Publish AVIF with a fallback, not as a blind replacement

For important page images, keep delivery boring and predictable. Use AVIF first when supported, keep a WebP or JPEG fallback, set width and height, and do not let the browser discover layout size late.

Only preload an AVIF when it is truly the LCP image. Preloading every converted asset can make the page busier rather than faster.

HTMLPicture markup with AVIF fallback
<picture>
  <source srcset="/images/landing/hero.avif" type="image/avif">
  <source srcset="/images/landing/hero.webp" type="image/webp">
  <img
    src="/images/landing/hero.jpg"
    width="1600"
    height="900"
    alt="Product photo in the landing page hero"
    loading="eager"
    fetchpriority="high">
</picture>

Privacy and control

Keep unreleased campaign images out of random upload flows

Large JPEG photos are often not neutral files. They may contain unpublished products, client work, location clues, staged campaign material, or filenames that reveal internal context. Uploading them to a converter should be a deliberate decision, not the default.

A local workflow keeps source files, output names, and review steps close to the project. That is especially useful when the same landing page needs several export attempts before the visual balance feels right.

Practical workflow

A repeatable JPEG-to-AVIF process without turning every image into a project

  1. 01
    Collect only the heavy candidates

    Start from a short list of large JPEG photos that still matter after normal resizing and WebP export.

  2. 02
    Export AVIF variants separately

    Keep AVIF output in a dedicated folder so source JPEGs and routine WebP files stay easy to compare.

  3. 03
    Review in the actual page

    Place the candidate into the real component or template and check the visible result, not only the converter preview.

  4. 04
    Publish with fallback markup

    Serve AVIF where supported and keep WebP or JPEG fallback delivery for predictable behaviour.

  5. 05
    Document the rule

    Write down which image roles get AVIF so the next update does not become a guessing game.

Format boundary

Use WebP as the baseline and AVIF as the escalation

A healthy workflow usually has a default and an exception path. WebP is the default for routine website images because it is practical and widely supported. AVIF is the escalation when a large photographic image still costs too much.

That boundary keeps the article workflow fast while still giving you a way to rescue the images that dominate weight or LCP.

Routine article images Use WebP unless a specific file is still too heavy.
Large photographic hero Try AVIF after resizing and compare the visual result.
Screenshots and UI Prefer PNG or WebP when text and hard edges matter.
Unreviewed batch exports Do not publish AVIF blindly just because the folder is smaller.

Pre-publish checklist

Check this before replacing a JPEG with AVIF

The source image was resized The AVIF file is close to the largest displayed size, not the camera original.
The page uses the AVIF Network or page-source checks confirm the new file is actually being served.
A fallback exists WebP or JPEG remains available for the delivery path you use.
Quality was reviewed The final page was checked for artefacts on desktop and mobile.
Metadata still makes sense Alt text, Open Graph images, and JSON-LD image references were not accidentally broken.
The original is preserved Source JPEGs remain available for future crops, sizes, and re-exports.

FAQ

Frequently asked questions

Practical answers for JPEG-to-AVIF publishing decisions