GIFs in 2025: AVIF, WebP, and Video Take Center Stage
2025-02-08

This article updates a 2022 post on GIF alternatives. AV1 and animated AVIF are now supported across browsers (with Safari caveats). WebP remains a strong contender due to its size and wide browser support. JPEG-XL supports static images, but animated support is limited. The article also explores using the `` element, comparing AV1 and VP9 codecs, and highlighting media queries for responsive videos. While AVIF shows promise, current frame rate issues and browser bugs in Safari make a blanket recommendation difficult. The best choice depends on project needs and browser compatibility trade-offs.