{"id":2453,"date":"2024-04-30T14:47:36","date_gmt":"2024-04-30T14:47:36","guid":{"rendered":"https:\/\/imagify.io\/blog\/?p=2453"},"modified":"2024-04-30T14:47:36","modified_gmt":"2024-04-30T14:47:36","slug":"avif-vs-webp","status":"publish","type":"post","link":"https:\/\/imagify.io\/blog\/avif-vs-webp\/","title":{"rendered":"Avif vs WebP Comparison: When to Choose Which Image Format"},"content":{"rendered":"\n<p>AVIF vs. WebP \u2013 which one should you use? Both are modern image formats and successors to traditional formats like PNG and JPG. Both efficiently compress images, allowing you to retain better image quality with smaller file size, and support advanced features like HDR and animation.<\/p>\n\n\n\n<p>So, whether you want to optimize your logo, photography, artwork, or general website images, both AVIF and WebP are up to the job. But which is more suitable for your particular use case?<\/p>\n\n\n\n<p>The answer is complicated. Neither AVIF nor WebP strictly beat the other in every single aspect, and each has their own strengths.<\/p>\n\n\n\n<p>That\u2019s why, in this detailed guide, we\u2019ll explore AVIF vs. WebP through detailed comparisons of compression size and quality. We\u2019ll talk about when using which format makes the most sense and also teach you how to start converting images on your WordPress site to AVIF and\/or WebP.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is AVIF?<\/h2>\n\n\n\n<p>AV1 Image File Format, or <a href=\"https:\/\/imagify.io\/blog\/convert-images-to-avif-performance\/\">AVIF<\/a>, is a modern image file format. It recently emerged as a competitor to <a href=\"https:\/\/imagify.io\/blog\/best-image-formats\/\">popular website image formats<\/a> like JPG and GIF, and the similar HEIC format.<\/p>\n\n\n\n<p>AVIF aims to be universally usable. It can be smaller than JPG without compromising on quality, it supports transparency, and it even allows animation \u2013 at a much higher color depth than GIF.<\/p>\n\n\n\n<p>Here\u2019s what the AVIF image format officially supports:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A variety of color spaces, including HDR, SDR, and wide color gamut.<\/li>\n\n\n\n<li>8-, 10-, and 12-bit color depths.<\/li>\n\n\n\n<li>Both lossless and lossy compression \u2013 using advanced, efficient compression algorithms.<\/li>\n\n\n\n<li>Alpha channels for transparency.<\/li>\n\n\n\n<li>Animation.<\/li>\n\n\n\n<li>Multi-layer images.<\/li>\n\n\n\n<li>Monochrome.<\/li>\n\n\n\n<li>Film grain synthesis.<\/li>\n<\/ul>\n\n\n\n<p>Originally, AV1 was a high-efficiency video codec used by the likes of Netflix and Facebook. But its creators decided to use their compression algorithms to create an image file format as well. That\u2019s how AVIF came about.<\/p>\n\n\n\n<p>The format was released as early as 2019, so it\u2019s very new compared to competitors that have had decades to establish themselves on the web.<\/p>\n\n\n\n<p>As a result, support can be limited \u2013 though adoption is becoming more and more widespread. WordPress itself <a href=\"https:\/\/make.wordpress.org\/core\/2024\/02\/23\/wordpress-6-5-adds-avif-support\/\">just added AVIF support in version 6.5<\/a>, and <a href=\"https:\/\/caniuse.com\/avif\">most major browsers have adopted it as well<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"237\" src=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/avif-browser-support-1024x237.jpg\" alt=\"\" class=\"wp-image-2455\" srcset=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/avif-browser-support-1024x237.jpg 1024w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/avif-browser-support-300x69.jpg 300w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/avif-browser-support-768x177.jpg 768w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/avif-browser-support-1536x355.jpg 1536w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/avif-browser-support.jpg 1628w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Notably, AVIF is also royalty-free. That means, you can encode your videos with the AV1 standard for free, even when you use it commercially.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is WebP?<\/h2>\n\n\n\n<p><a href=\"https:\/\/imagify.io\/blog\/how-to-use-webp-images-wordpress\/\">WebP<\/a> is another modern file format created in 2010 by Google. With nearly fifteen years to make a name for itself, WebP is a much more common file format than AVIF, and thus has much wider support.<\/p>\n\n\n\n<p>Here are the features of the WebP image format:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ICC profiles including support for HDR.<\/li>\n\n\n\n<li>8-bit color depth.<\/li>\n\n\n\n<li>Lossless and lossy <a href=\"https:\/\/imagify.io\/blog\/image-compression\/\">image compression<\/a>, often with superior compression compared to PNG\/JPG.<\/li>\n\n\n\n<li>Alpha channels for transparency.<\/li>\n\n\n\n<li>Animation capabilities.<\/li>\n\n\n\n<li>Exif and XMP metadata support.<\/li>\n\n\n\n<li>Royalty-free usage license.<\/li>\n<\/ul>\n\n\n\n<p>While AVIF has somewhat accidentally emerged as a competitor to traditional image formats simply due to its open license and high-quality compression code, the intention behind WebP was explicitly to replace formats like PNG, GIF, and JPG.<\/p>\n\n\n\n<p>That\u2019s why it comes with all the best parts of them all rolled into one: multiple compression types, enhanced color profiles, and advanced features like animation.<\/p>\n\n\n\n<p>WebP originally lacked some features like ICC profiles, Exif metadata, animation, and lossless compression. But all these have been added by now.<\/p>\n\n\n\n<p>Since Google made WebP and included support for it in their own browsers, adoption has been quick and widespread. <a href=\"https:\/\/caniuse.com\/webp\">Most browsers<\/a> and software now support WebP images.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"225\" src=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/webp-browser-support-1024x225.jpg\" alt=\"\" class=\"wp-image-2456\" srcset=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/webp-browser-support-1024x225.jpg 1024w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/webp-browser-support-300x66.jpg 300w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/webp-browser-support-768x169.jpg 768w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/webp-browser-support-1536x337.jpg 1536w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/webp-browser-support.jpg 1640w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>But adoption isn\u2019t universal, and some operating systems do not let you easily view downloaded WebP images.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Avif vs. WebP: What\u2019s Best for High-Quality Images?<\/h2>\n\n\n\n<p>As we have established by now, both Avif and WebP are high-quality, next-gen image formats. At the same time, both fill similar roles, so it can be hard to know which you should use for your website.<\/p>\n\n\n\n<p>Their similarity is a good thing in many ways since it makes it hard to make a wrong choice. <a href=\"https:\/\/developer.chrome.com\/docs\/lighthouse\/performance\/uses-webp-images\">Google Lighthouse recommends<\/a> both AVIF and WebP and encourages you to use one or the other to compress images on your website.<\/p>\n\n\n\n<p>But it\u2019s still important to know the exact differences so you can make the right choice for yourself.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Compression and File Size<\/h3>\n\n\n\n<p>Let\u2019s start with a few tests to compare AVIF vs. WebP size. We\u2019ve gathered up a variety of stock images and sent them through <a href=\"https:\/\/wordpress.org\/plugins\/imagify\/\">Imagify\u2019s image optimizer plugin<\/a>. If you don\u2019t have it on your website yet, you can always use the <a href=\"https:\/\/imagify.io\/optimizer\/\">online optimization tool<\/a> to follow along.<\/p>\n\n\n\n<p>First, let\u2019s see how WebP\u2019s compression stacks up. These three images were resized to the same width and had an original file size of 863KB, 1.4MB, and 1.54MB, respectively.<\/p>\n\n\n\n<p>After running them through Imagify\u2019s JPG to WebP conversion, they each dropped by 81%, 60%, and 78% in file size.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1405\" height=\"498\" src=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/jpg-to-webp-compression.jpg\" alt=\"\" class=\"wp-image-2458\" srcset=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/jpg-to-webp-compression.jpg 1405w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/jpg-to-webp-compression-300x106.jpg 300w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/jpg-to-webp-compression-1024x363.jpg 1024w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/jpg-to-webp-compression-768x272.jpg 768w\" sizes=\"auto, (max-width: 1405px) 100vw, 1405px\" \/><\/figure>\n\n\n\n<p>Now, how does AVIF compare? Its famous compression algorithms actually work \u2013 the same images are now smaller by 90%, 74%, and 83%. That\u2019s up to 14% less in size \u2013 and with a lot of images on a page, it adds up.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"500\" src=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/imagify-avif-compression-1.jpg\" alt=\"\" class=\"wp-image-2459\" srcset=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/imagify-avif-compression-1.jpg 500w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/imagify-avif-compression-1-300x300.jpg 300w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/imagify-avif-compression-1-150x150.jpg 150w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/imagify-avif-compression-1-64x64.jpg 64w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Image Quality<\/h3>\n\n\n\n<p>What about image quality and fidelity? Especially if you\u2019re displaying beautiful artwork and photography, you want your images to look as good as possible. Let\u2019s compare WebP and AVIF in this regard.<\/p>\n\n\n\n<p>There is a difference in quality when it comes to WebP and AVIF\u2019s compression.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"381\" src=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/avif-vs-webp-compression-image-quality-comparison-1024x381.jpg\" alt=\"\" class=\"wp-image-2460\" srcset=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/avif-vs-webp-compression-image-quality-comparison-1024x381.jpg 1024w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/avif-vs-webp-compression-image-quality-comparison-300x112.jpg 300w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/avif-vs-webp-compression-image-quality-comparison-768x286.jpg 768w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/avif-vs-webp-compression-image-quality-comparison-1536x572.jpg 1536w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/avif-vs-webp-compression-image-quality-comparison.jpg 1999w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Comparing the two, WebP is much blurrier and a lot of small details are lost when viewing images in full screen. It may look indistinguishable at smaller display sizes, but it would definitely affect the viewing experience for images where looks make a difference.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Software Support<\/h3>\n\n\n\n<p>There\u2019s also the issue of support. In this aspect, WebP has a major leg up. It\u2019s been around for over a decade, and by now, most browsers and operating systems can deal with it. The only concern is older operating systems and browsers.<\/p>\n\n\n\n<p>It\u2019s a different story for AVIF. While AVIF adoption is becoming more and more widespread, there are some notable exceptions:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Google Images<\/strong> \u2013 AVIF is not supported in Google Images, which seems like a major oversight since Google recommends the format specifically. Luckily, fallback images \u2013 which Imagify implements \u2013 will still display.<\/li>\n\n\n\n<li><strong>Operating systems<\/strong> \u2013 Systems like Android, Linux, and iOS\/macOS Ventura natively support AVIF, but not Windows 10\/11 or its Photos or Paint apps (though it does work with an official extension). Older versions of iOS and Android do not work with AVIF either.<\/li>\n\n\n\n<li><strong>Browsers<\/strong> \u2013 AVIF images are usable in most major browsers, including, recently, Edge. Older browser versions, on the other hand, will generally not work with AVIF.<\/li>\n\n\n\n<li><strong>Image editors<\/strong> \u2013 Popular editors like Lightroom, Illustrator, GIMP, Paint.net, and Krita are all friendly with AVIF, but not <a href=\"https:\/\/imagify.io\/blog\/best-alternatives-photoshop-image-optimization\/\">Photoshop<\/a>.<\/li>\n\n\n\n<li><strong>Online<\/strong> \u2013 As mentioned, WordPress recently added AVIF support, and Cloudflare also supports it. On the other hand, many social media platforms, except Facebook, do not support AVIF upload.<\/li>\n<\/ul>\n\n\n\n<p>Thankfully, even if a certain OS or browser doesn\u2019t support AVIF or WebP, you can set fallback image formats that will load instead when needed. So there\u2019s generally not much danger in using them.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">AVIF vs. WebP: Which One Should You Choose?<\/h2>\n\n\n\n<p>Now that you know the major differences between AVIF vs. WebP, let\u2019s take a look at the use cases where one may be better than another. Here, you need to consider what you want most: better quality or maximum performance? Plus, what about support and versatility?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Web designers<\/strong> \u2013 As a <a href=\"https:\/\/imagify.io\/blog\/website-design-mistakes\/\">web designer<\/a>, whether you use WebP vs. AVIF depends on your goal for a particular website. Are you trying to create a beautiful site with gorgeous full-screen imagery? AVIF compression keeps pages loading quickly while still looking beautiful.<\/li>\n\n\n\n<li><strong>Photographers<\/strong> \u2013 As an artist or photographer, you want to <a href=\"https:\/\/imagify.io\/blog\/create-web-design-portfolio-website\/\">show off your portfolio<\/a>, and you don\u2019t want ugly image artifacts ruining it. AVIF compression is generally a little higher quality than WebP compression \u2013 but you should compare the two yourself and pick the one that displays your work best.<\/li>\n\n\n\n<li><strong>Business owners<\/strong> \u2013 You\u2019re trying to run a business, and you\u2019re probably more concerned with keeping load times low and people browsing happily than anything else. But of course, it\u2019s important that your products display beautifully without artifacts. AVIF compression will serve you well in this case, too.<\/li>\n\n\n\n<li><strong>Developers<\/strong> \u2013 Your job is to get websites working smoothly, and it\u2019s okay to sacrifice maximum image quality to do so. AVIF or WebP compression, whichever works better with your code, is the way to go for you.<\/li>\n\n\n\n<li><strong>Bloggers<\/strong> \u2013 Your <a href=\"https:\/\/imagify.io\/blog\/blog-images-best-practices\/\">blog images<\/a> don\u2019t need to be gorgeous \u2013 they\u2019re just there to supplement the written word. AVIF compression does the best job at keeping file sizes low and quality high.<\/li>\n\n\n\n<li><strong>SEO marketers<\/strong> \u2013 The quicker your page speed, the <a href=\"https:\/\/imagify.io\/blog\/seo-performance-tips-photographers\/\">better for SEO<\/a>. You\u2019ll be a big fan of AVIF\u2019s compression algorithms. They crunch images better than WebP and keep file sizes extremely low.<\/li>\n<\/ul>\n\n\n\n<p>In cases where image quality is really important, you might also want to try out lossless compression. It is a less aggressive form of compression with a stronger focus on image quality. However, it also results in larger image sizes, sometimes even exceeding the original, so you need to experiment a bit to find the right approach.<\/p>\n\n\n\n<p>We\u2019ll talk about how you can use lossless further below. If you want to learn more about this topic, we have a detailed article on <a href=\"https:\/\/imagify.io\/blog\/lossless-vs-lossy-image-compression\/\">lossy vs lossless image compression<\/a>.<\/p>\n\n\n\n<p>Regardless of your situation, it\u2019s always a good idea to make informed decisions. Use analytics tools like <a href=\"https:\/\/marketingplatform.google.com\/about\/analytics\/\">Google Analytics<\/a> to find out which browsers\/browser versions, operating systems, and other tech your visitors are using.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"475\" src=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/tech-information-in-google-analytics-1024x475.jpg\" alt=\"\" class=\"wp-image-2461\" srcset=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/tech-information-in-google-analytics-1024x475.jpg 1024w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/tech-information-in-google-analytics-300x139.jpg 300w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/tech-information-in-google-analytics-768x357.jpg 768w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/tech-information-in-google-analytics.jpg 1299w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>With this, you can see if AVIF and WebP are compatible with their setups. For example, if a lot of your users are on outdated Android phones that don\u2019t support AVIF, making the switch may not be the best idea.<\/p>\n\n\n\n<p>Either way, when using web tech like WebP and AVIF that aren\u2019t universally supported, always set up image fallbacks, or let Imagify do it for you.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Convert Images to WebP and AVIF<\/h2>\n\n\n\n<p>Whether you decide to go for WebP or AVIF, you know what your next big task is: converting each and every image on your site to your desired format. But doing this on your own is time-consuming.<\/p>\n\n\n\n<p><a href=\"https:\/\/wordpress.org\/plugins\/imagify\/\">Imagify <\/a>also addresses this issue. It instantly converts all images on your site, as well as future images you upload. This saves you time and makes the process a breeze.<\/p>\n\n\n\n<p>Here is how it works.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Install and Set Up Imagify<\/h3>\n\n\n\n<p>The first thing you need to do is install Imagify. For that, head over to <strong>Plugins &gt; Add New<\/strong> on your WordPress site and search for it by name. Click <strong>Install,<\/strong> then <strong>Activate<\/strong> to enable the plugin.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"524\" src=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/install-imagify-1024x524.jpg\" alt=\"\" class=\"wp-image-2462\" srcset=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/install-imagify-1024x524.jpg 1024w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/install-imagify-300x153.jpg 300w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/install-imagify-768x393.jpg 768w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/install-imagify-1536x785.jpg 1536w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/install-imagify-745x380.jpg 745w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/install-imagify.jpg 1668w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>You need to create a free account to use Imagify, and you\u2019ll see a banner pop up prompting you to do so once the plugin is installed. But you can also head straight to <strong>Settings &gt; Imagify<\/strong> and click <strong>Create a Free API Key<\/strong> to get started.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"487\" src=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/create-api-key-in-imagify-settings-1024x487.jpg\" alt=\"\" class=\"wp-image-2463\" srcset=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/create-api-key-in-imagify-settings-1024x487.jpg 1024w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/create-api-key-in-imagify-settings-300x143.jpg 300w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/create-api-key-in-imagify-settings-768x366.jpg 768w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/create-api-key-in-imagify-settings-1536x731.jpg 1536w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/create-api-key-in-imagify-settings.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>An email pop-up will appear; enter your email address and click <strong>Sign Up<\/strong>. Then check your inbox \u2013 you can finish signing up for your Imagify account and set your password now, or just copy the API key out of your email.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"523\" src=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/imgify-api-email-1024x523.jpg\" alt=\"\" class=\"wp-image-2464\" srcset=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/imgify-api-email-1024x523.jpg 1024w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/imgify-api-email-300x153.jpg 300w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/imgify-api-email-768x393.jpg 768w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/imgify-api-email-745x380.jpg 745w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/imgify-api-email.jpg 1340w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Paste the API key into the box on Imagify\u2019s settings page and click <strong>Save Changes<\/strong>. If all is well, you\u2019ll receive your confirmation, and the page will reload, unlocking Imagify\u2019s full functionality.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"574\" src=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/imagify-unlocked-settings-1024x574.jpg\" alt=\"\" class=\"wp-image-2466\" style=\"width:840px;height:auto\" srcset=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/imagify-unlocked-settings-1024x574.jpg 1024w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/imagify-unlocked-settings-300x168.jpg 300w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/imagify-unlocked-settings-768x431.jpg 768w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/imagify-unlocked-settings-1536x862.jpg 1536w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/imagify-unlocked-settings.jpg 1617w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>You may wish to look through the settings and enable or disable certain ones. For example, if you\u2019re a <a href=\"https:\/\/imagify.io\/blog\/seo-performance-tips-photographers\/\">photographer displaying your work<\/a>, enabling the <strong>Lossless Compression <\/strong>setting is a good idea. More information is available in the <a href=\"https:\/\/imagify.io\/documentation\/recommended-imagify-settings\/\">documentation<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: Enable WebP and AVIF With Imagify<\/h3>\n\n\n\n<p>Next, it\u2019s time to get WebP or AVIF images working on your website. Imagify can handle either one, so you can serve your visitors whichever <a href=\"https:\/\/imagify.io\/blog\/serve-next-gen-formats-wordpress\/\">next-gen image format<\/a> you prefer.<\/p>\n\n\n\n<p>Still on the <strong>Settings &gt; Imagify <\/strong>page, tick <strong>Display images in Next-Gen format on the site<\/strong> to replace the traditional PNGs, JPGs, etc., on your website with a modern image format.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"386\" src=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/switch-on-next-gen-image-formats-1024x386.jpg\" alt=\"\" class=\"wp-image-2467\" srcset=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/switch-on-next-gen-image-formats-1024x386.jpg 1024w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/switch-on-next-gen-image-formats-300x113.jpg 300w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/switch-on-next-gen-image-formats-768x290.jpg 768w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/switch-on-next-gen-image-formats-1536x579.jpg 1536w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/switch-on-next-gen-image-formats.jpg 1597w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>After that, you need to choose AVIF vs WebP. If you want to <a href=\"https:\/\/imagify.io\/documentation\/enable-webp-images-works\/\">use WebP images<\/a>, you don\u2019t need to do anything! Imagify will create and serve images in this format to your visitors automatically. You don\u2019t have to lift a finger.<\/p>\n\n\n\n<p>Should you prefer AVIF, that\u2019s just easy: simply tick the box that says <strong>Create AVIF versions of images<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"398\" src=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/switch-on-avif-images-in-imagify-1024x398.jpg\" alt=\"\" class=\"wp-image-2468\" srcset=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/switch-on-avif-images-in-imagify-1024x398.jpg 1024w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/switch-on-avif-images-in-imagify-300x117.jpg 300w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/switch-on-avif-images-in-imagify-768x299.jpg 768w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/switch-on-avif-images-in-imagify-1536x598.jpg 1536w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/switch-on-avif-images-in-imagify.jpg 1609w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Click <strong>Save Changes<\/strong> to make your decisions permanent. If you ever want to go back to just WebP versions of your images, simply uncheck the box and save again.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: Convert Images to WebP or AVIF With Imagify<\/h3>\n\n\n\n<p>If you already have images on your site, the fastest way to optimize them is to go to <strong>Media &gt; Bulk Optimization<\/strong>.<\/p>\n\n\n\n<p>Here, Imagify shows you the state of image optimization on your site and gives you the option to convert and improve all images at once. Just pick your desired level of compression from the drop-down menu under <strong>Optimize your media files,<\/strong> and then click the big blue button at the bottom to start the process.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"967\" height=\"1024\" src=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/how-to-use-imagify-bulk-optimizer-967x1024.jpg\" alt=\"\" class=\"wp-image-2469\" srcset=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/how-to-use-imagify-bulk-optimizer-967x1024.jpg 967w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/how-to-use-imagify-bulk-optimizer-283x300.jpg 283w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/how-to-use-imagify-bulk-optimizer-768x814.jpg 768w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/how-to-use-imagify-bulk-optimizer-1450x1536.jpg 1450w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/how-to-use-imagify-bulk-optimizer.jpg 1617w\" sizes=\"auto, (max-width: 967px) 100vw, 967px\" \/><\/figure>\n\n\n\n<p>By default, it\u2019s just for the WordPress media library. You can add your theme and other server directories in the Imagify settings.<\/p>\n\n\n\n<p>Once finished, the Bulk Optimizer will show you that all of your images have been optimized and how much space you have saved.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"584\" src=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/imagify-optimization-status-1024x584.jpg\" alt=\"\" class=\"wp-image-2470\" srcset=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/imagify-optimization-status-1024x584.jpg 1024w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/imagify-optimization-status-300x171.jpg 300w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/imagify-optimization-status-768x438.jpg 768w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/imagify-optimization-status-1536x876.jpg 1536w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/imagify-optimization-status.jpg 1617w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>In addition, you can process individual images by going to <strong>Media &gt; Library<\/strong> and clicking <strong>Optimize<\/strong> next to your visual of choice.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"330\" src=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/optimize-individual-images-in-the-media-library-1024x330.jpg\" alt=\"\" class=\"wp-image-2471\" srcset=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/optimize-individual-images-in-the-media-library-1024x330.jpg 1024w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/optimize-individual-images-in-the-media-library-300x97.jpg 300w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/optimize-individual-images-in-the-media-library-768x248.jpg 768w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/optimize-individual-images-in-the-media-library-1536x496.jpg 1536w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2024\/04\/optimize-individual-images-in-the-media-library.jpg 1649w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Finally, any images you upload to your site will also be converted and compressed by default. No action needed on your part.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Final Thoughts: AVIF vs WebP<\/h2>\n\n\n\n<p>Deciding whether to use AVIF or WebP images on your website is an important decision. You need the right tool for the job depending on if your priority is image quality, file size, or wide browser support.<\/p>\n\n\n\n<p>Above, we have given you important pointers to make that choice for your own site. Don\u2019t be afraid to experiment a bit to find the right image compression for you.<\/p>\n\n\n\n<p>Aside from that, if you are looking for an effective tool to optimize and convert the images on your WordPress website automatically and in bulk, <a href=\"https:\/\/imagify.io\/pricing\/\">give Imagify a try<\/a>!<\/p>\n<a href=\"https:\/\/imagify.io\/optimizer\/\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter bottom-blog-post-cta\" src=\"https:\/\/imagify.io\/blog\/wp-content\/themes\/imagify\/assets\/img\/gwic-1.png\" alt=\"Imagify, decrease the size of your images, increase the speed of your website: try it for free\" width=\"690\" height=\"190\"><\/a>","protected":false},"excerpt":{"rendered":"<p>AVIF vs WebP &#8211; which format is best for your website? Here, we compare their size, quality, and make recommendations for when to use what.<\/p>\n","protected":false},"author":14,"featured_media":2473,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-2453","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-image-optimization"],"_links":{"self":[{"href":"https:\/\/imagify.io\/blog\/wp-json\/wp\/v2\/posts\/2453","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/imagify.io\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/imagify.io\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/imagify.io\/blog\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/imagify.io\/blog\/wp-json\/wp\/v2\/comments?post=2453"}],"version-history":[{"count":3,"href":"https:\/\/imagify.io\/blog\/wp-json\/wp\/v2\/posts\/2453\/revisions"}],"predecessor-version":[{"id":2474,"href":"https:\/\/imagify.io\/blog\/wp-json\/wp\/v2\/posts\/2453\/revisions\/2474"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/imagify.io\/blog\/wp-json\/wp\/v2\/media\/2473"}],"wp:attachment":[{"href":"https:\/\/imagify.io\/blog\/wp-json\/wp\/v2\/media?parent=2453"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/imagify.io\/blog\/wp-json\/wp\/v2\/categories?post=2453"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/imagify.io\/blog\/wp-json\/wp\/v2\/tags?post=2453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}