---
name: thedaviddias/avif-format
source: https://app.decimal.ai/s/thedaviddias-avif-format@1/SKILL.md
source_sha256: 02ec02fcdd3f
---

# Use AVIF format for modern browsers

AVIF provides the best compression available—50% smaller than JPEG and 20% smaller than WebP—dramatically reducing bandwidth and improving load times.

## Quick Reference

- AVIF offers 50% better compression than JPEG
- Even better than WebP for photographic images
- Use picture element with WebP and JPEG fallbacks
- Browser support: Chrome, Firefox, Safari 16+, Edge

## Check

Check if the website supports AVIF format for even better compression than WebP.

## Fix

Implement AVIF support with proper fallbacks for browsers that don't support it.

## Explain

Explain how AVIF provides 50% better compression than JPEG with superior quality.

## Code Review

Review image assets, markup, and delivery configuration related to Use AVIF format for modern browsers. Flag exact files or components where format choice, sizing, or loading behavior violates the rule, and describe how to confirm the fix in DevTools.

---

For full implementation details, code examples, and framework-specific guidance,
see `references/rule.md`.

Rule page: https://frontendchecklist.io/en/rules/images/avif-format