AVIF image audit

Use JPEG to AVIF conversion where it really speeds up the page

AVIF is most effective when used as part of an image audit rather than a blanket export. This guide helps identify JPEG photos suited for AVIF, select a review process, and avoid publishing smaller but visually inferior files.

Quick verdict

Convert exceptions only, not the entire media folder

The best JPEG-to-AVIF choice begins with page impact. Convert large photographic files that still slow the page after resizing. Keep routine thumbnails, UI screenshots, diagrams, and small assets on simpler formats.

Strong candidate Large photographic LCP image

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

Maybe Important but not dominant

Test AVIF only if the current file remains significantly large or the page has a noticeable speed issue.

Avoid Small, graphic, or unreviewed assets

Avoid AVIF for small, mostly UI, text-heavy images, or when you can’t review the result before publishing.

Image audit first

Questions to consider before selecting AVIF

AVIF can deliver excellent results but isn’t a cure-all. The format only matters once the image is correctly sized, assigned an appropriate role, and reviewed within the actual layout visitors will see.

Question Why this matters Action
Is the rendered size already correct? AVIF won’t correct a 4000px image shown at 900px. Resize first, then compare formats.
Does this image impact LCP or first impressions? Large above-the-fold photos have greater impact than decorations deeper in the page. Prioritise hero, landing, and campaign visuals.
Is the content photographic? AVIF typically excels with photographs rather than flat UI elements or logo-style graphics. Choose PNG, SVG, or WebP when sharp edges are more important.
Can you review the result in context? AVIF may conceal artefacts until the image is placed in its final layout. Check mobile width, gradients, faces, and cropping.
Is there a fallback option? Not all environments handle modern formats identically. Publish using picture markup or your framework’s equivalent.

Candidate selection

Which JPEG images make good AVIF candidates?

Focus on images where a smaller file size affects the page, not just the file manager. The best candidates are typically photographic, visually significant, and large enough to impact perceived load speed.

Best candidate

LCP hero photo

A large photographic hero image that fills the initial viewport and remains sizeable after resizing is often the best candidate for AVIF.

Good candidate

Landing page campaign image

A campaign or product image may warrant additional scrutiny when it features prominently on the page and must remain visually sharp.

Selective candidate

Editorial feature image

Use AVIF only when the image is large enough to impact performance, not simply because every article image is re-exported.

Poor candidate

Text-heavy screenshots

Screenshots, UI captures, diagrams, and icons often lose text clarity before benefiting from AVIF compression.

Quality review

Avoid copying quality settings between AVIF tools

AVIF quality settings vary between encoders. A value that looks good in one may be too soft or harsh in another. Begin with the tool’s default or a mid-range quality, then assess the output on the actual page.

The aim isn’t the smallest AVIF file possible, but the smallest file that still supports the page: clear detail, acceptable gradients, no distracting texture loss, and no visible colour shift.

Review order
  1. Compare with the resized JPEG or WebP, not the original camera file.
  2. Inspect the image at rendered desktop size and mobile width.
  3. Check faces, skies, gradients, shadows, fine textures, and brand colours.
  4. Ensure the file loads correctly on the intended published page.

Visual failure modes

AVIF artefacts to check before publishing

A well-exported AVIF can appear outstanding. A poor one may fail subtly: the file size is reduced, but the image looks flat, blurred, or grainy in the area users notice first.

Banding in skies or gradients Smooth backgrounds may exhibit banding if compression is excessive.
Wax-like skin or product texture Portraits and product surfaces might lose natural detail even if the file initially appears sharp.
Soft fine detail Leaves, fabric, hair, and fine repeating patterns can blur, resulting in a quality loss that outweighs the byte savings.
Colour or contrast shift Campaign and product images require brand-safe colour verification after conversion.
Cropping and focal point errors A smaller file isn’t beneficial if responsive cropping conceals the image section that engages visitors.

Delivery

Publish AVIF with a fallback, not as a blind swap

For key page images, maintain predictable delivery. Use AVIF first if supported, retain a WebP or JPEG fallback, specify width and height, and avoid late layout size discovery by the browser.

Only preload an AVIF if it is genuinely the LCP image. Preloading every converted asset may slow the page rather than speed it up.

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 processes

Large JPEG photos often aren’t neutral files. They may include unpublished products, client work, location hints, staged campaign content, or filenames revealing internal details. Uploading them to a converter should be a conscious choice, not automatic.

A local workflow maintains source files, output names, and review stages close to the project, which is particularly helpful when multiple export attempts are needed to perfect a landing page’s visual balance.

Practical workflow

A consistent JPEG-to-AVIF process without making every image a separate project

  1. 01
    Select only the largest candidates

    Begin with a shortlist of large JPEG photos that remain significant after standard resizing and WebP export.

  2. 02
    Export AVIF variants separately

    Store AVIF output in a dedicated folder to keep source JPEGs and routine WebP files easy to compare.

  3. 03
    Review in the actual page

    Insert the candidate into the actual component or template and review the visible result, not just the converter preview.

  4. 04
    Publish with fallback markup

    Serve AVIF where supported and maintain WebP or JPEG fallback for consistent behaviour.

  5. 05
    Record the rule

    Record which image roles use AVIF to avoid guesswork in future updates.

Format boundary

Use WebP as the baseline and AVIF as the advanced option

An effective workflow typically includes a default and an exception route. WebP serves as the default for standard website images due to its practicality and broad support. AVIF is used when a large photographic image remains too heavy.

This boundary keeps the article workflow efficient while allowing you to rescue images that dominate weight or LCP.

Routine article images Use WebP unless a particular file remains too large.
Large photographic hero Try AVIF after resizing and compare the visual outcome.
Screenshots and UI Choose PNG or WebP when text and sharp edges are important.
Unreviewed batch exports Don’t publish AVIF blindly just because the folder size is smaller.

Pre-publish checklist

Check this before swapping JPEG for AVIF

The source image was resized The AVIF file matches the largest displayed size, not the original camera file.
The page uses the AVIF format Network or page source checks confirm the new file is being served.
A fallback is available WebP or JPEG remains available for your delivery path.
Quality was reviewed The final page was checked for artefacts on both desktop and mobile.
Metadata remains relevant Alt text, Open Graph images, and JSON-LD image references remain intact.
The original is preserved Source JPEGs remain accessible for future cropping, resizing, and re-exporting.

Frequently Asked Questions

Frequently asked questions

Practical guidance for JPEG-to-AVIF publishing choices