Blog Layout

Image Optimisation: How to compress & convert images to WebP using WebP Converter by Google on Windows

Consider Sharing

According to Google, WebP is a modern image format that provides superior lossless and lossy compression for images on the web. WebP lossless images are 26% smaller in size compared to PNGs & WebP lossy images are 25 – 34% smaller than comparable JPEG images at equivalent SSIM quality index.


Before you can begin compressing your images to WebP, you will need to download and install WebP Converter. You can install WebP Converter on Windows, macOS, or Linux. This post covers converting your images to webp on Windows; we will post separate articles on how to compress images on macOS and Linux. The best part about WebP images is that it is supported by all modern web browsers like Chrome, Opera, Microsoft Edge, Mozilla Firefox.


FYI. All images on this blog post are WebP images with the exception of the sample image. If you believe we have missed any part; we would love to hear from you, please let me know what you think by emailing us at hello@urdigital.com.au. We have spent a lot of energy creating this article for you; if you do like the article consider liking & following us on our social media Facebook, Twitter, LinkedIn, Google & sharing it with whom you believe may benefit from it.




Steps to download and install WebP Converter


To download the latest version of WebP Converter Library click on the Google Developers WebP Converter Download Page.

WebP Converter Download Page

cwebp is a command line encoder, part of the WebP Converter Library and it helps to convert a single image to WebP file format. It currently supports PNG, JPEG, TIFF, WebP or raw Y’CbCr samples. Please note it currently does not support animated PNG and WebP files. Click on downloads repository and download the latest version. See screenshot below on how to identify the latest version.

WebP Converter Downloads
libwebp downloads repository

After downloading, save and extract the compressed file. The default folder name when extracting the compressed file will be the same as the compressed file.

libwebp downloaded file

cwebp is a command-line utility and you will need to enter exact directory names and filenames for it to work properly. For this, I recommend you keep easy-to-remember filenames and folder locations. As a personal preference, I have changed the folder name from libwebp-1.2.1-windows-x64 to webp, so that it is easy to remember.


Note: Before you can start converting your files to WebP, you will need to provide it with an input image file and the location and name of the output file. For the sake of simplicity, I recommend creating 2 additional folders “input” and “output” as seen in the screenshot above. I also created these folders on the root D Drive to keep the file path short. This will come in handy when we are compressing the images. If you do not have additional drive partitions, you can also do this on C Drive. Just remember the folder location.


Next, I recommend you copy all the images that you need to convert to the input folder. Open Command Prompt by pressing the Start button and in the search box enter cmd.exe. I am using ClassicShell but it could be different for you. Normally Command Prompt is located under Program Files 🡪 Windows System 🡪 Command Prompt.

WebP bin directory contents

Change the directory location to your webp folder. In my case the webp folder is located at D Drive 🡪 webp. So for me, my first command is D: and Enter And then cd webp and Enter to change the directory to webp. The cwebp.exe utility is located in the bin folder inside webp, so enter cd bin and then enter to change the working directory to ‘bin’. Enter the dir command to see the contents of the directory.



Steps to compress and convert your image to WebP


To use the utility, you will need to provide it with an input file and output file. Here is the command syntax from the bin directory:


cwebp <input file with full path> -o <output file with full path>


You can also choose additional parameters depending on your requirements. All parameters are listed on the documentation here. I have downloaded a stock image for demonstration purposes, which you can see below.

cat stock image
cat stock image properties

The notable points to remember here:


  • Filename: cat.jpg
  • Location: D:\input
  • Size: 3.91 MB


Now. lets convert this image to webp. To convert this image, the command in the bin folder will be:


cwebp d:\input\cat.jpg -o d:\output\cat.webp 

cat webp converted command
cat webp converted file
cat image webp converted properties

We have now successfully converted the image to WebP. The filesize is now 217 KB down from 3.91 MB. Open both images side by side and see if you can notice any difference in quality.




Tips & Troubleshooting


If you do encounter an error, here are some troubleshooting tips:


  • Ensure the image to convert exists on the location specified.
  • Check that the output folder exists.
  • Check the syntax of the command closely to ensure there are no errors.
  • If you still cannot get it to work, book in your free 30 minutes SEO Consultation and I will be happy to sort the issue for you.


You can use online conversion tools to convert images to WebP, but I do not prefer them as I am not comfortable uploading our images to 3rd party websites.


Partial Content Credit: Google

Author

PULKIT

AGRAWAL

FOUNDER & MANAGING DIRECTOR


Profile


My name is Pulkit Agrawal and I'm the Founder and Managing Director of UR Digital. I invest my soul and imagination into every client. I have worked across many industries, over the past 15 years and countless highly successful SEO projects and campaigns.

Skills and Achievements


Multi-lingual SEO (English, German, Cantonese, Mandarin and Japanese). Google, Semrush, BEC Australia and LinkedIn certified. Member Entrepreneur Leadership Network. Guest Author Entrepreneur, Semrush & Inside Small Business.

Connect with me on

Consider Sharing

By Pulkit Agrawal 17 Jun, 2023
Fuel your SEO success with Google Trends. Gain data-driven insights, optimise strategies, and soar above the competition. Unlock your website's true potential now!
By Pulkit Agrawal 10 Jun, 2023
The top 7 strategies to leverage Google Trends for SEO success. Uncover valuable insights and optimise your SEO strategy to dominate search rankings.
By Pulkit Agrawal 03 Jun, 2023
Stay ahead in the SaaS industry with our guide on conducting a successful competitor analysis. Learn 4 key points to gain a competitive edge.
By Pulkit Agrawal 27 May, 2023
Master SaaS SEO strategies to optimise your website, attract targeted traffic, and boost conversions. Dominate the digital landscape with this comprehensive guide.
By Pulkit Agrawal 20 May, 2023
Discover your SaaS brand’s top SEO competitors with these three powerful strategies. Gain a competitive edge and dominate the digital landscape.
By Pulkit Agrawal 13 May, 2023
Discover how data segmentation can help you gain valuable SEO insights for improved content targeting, higher rankings, and increased conversion rates.
By Pulkit Agrawal 06 May, 2023
A strong online presence is crucial for every business to stay competitive. SEO is one of the key ingredients to achieve online success. SEO is a practice that involves optimising websites to increase organic traffic and improve their ranking on search engines. Think of it as a roadmap that guides search engines to your website. Effective SEO strategies can boost businesses' online presence, attract more website visitors, and ultimately increase revenue. But creating content that people enjoy reading is more than just stringing together words. It also includes incorporating SEO techniques to make it more relevant. In this blog post, we'll dive into the importance of SEO when creating content and share practical tips to help you create content that connects with both search engines and your audience. The Importance of SEO in Content Creation Helps to Improve Website Traffic SEO plays a crucial role in driving organic traffic to a website. With the help of the right keywords, businesses can create more relevant content that ranks higher in the SERPs. The higher your website ranks in search results, the more visible it becomes. This increased visibility can lead to more clicks and ultimately, more traffic to your website. But it's important to remember that SEO isn't a one-and-done deal. Keeping your website relevant and up to date with the latest trends and algorithm updates, requires ongoing optimisation and monitoring. Increases Website Visibility For businesses to stay competitive, having an online presence is vital. SEO helps to increase website visibility by making it easier for potential customers to find business online. An SEO-optimised website appears higher in SERPs, making it more visible to users. Moreover, a higher ranking on search engines leads to increased trust and credibility among users. This, in turn, can lead to more inbound links and referrals, further increasing the website's visibility and authority. Enhances User Experience SEO is not about optimising for search engines but also for users. By creating relevant, informative, and engaging content, businesses can enhance the user experience on their website. This can lead to longer page dwell times, lower bounce rates, and more repeat visits. Mobile optimisation is not only crucial for enhancing user experience, but it is also a significant ranking factor in search engine optimisation (SEO). By ensuring that your website is optimised for mobile devices, you can improve your website's search engine ranking and visibility. Search engines like Google prioritise mobile-friendly websites because they provide a better user experience to mobile users, who make up a significant portion of internet. How To Create Readable, SEO-Friendly Content? Identify your target audience Content marketing is all about connecting with people on a personal level. To make this happen, you need to know your target audience - the folks who are most likely to be interested in your product or service. You need to know your audience well enough to resonate with them. This could lead to a lack of engagement, high bounce rates, and fewer people visiting your website. So, take the time to research your audience's demographics, interests, and behaviour. This will help you create content that speaks directly to them. When you know your audience's needs and wants, you can create content that addresses their interests and concerns. This will help you drive engagement, increase traffic, and achieve your marketing goals. Plus, by using the keywords and phrases your audience is searching for, you can improve your search engine optimisation (SEO) and attract even more visitors to your site. Finally, don't forget to gather feedback from your audience. This will help you better understand their content preferences, what they find most compelling, and areas of interest. Surveys, polls, and focus groups can be great tools to get this feedback. Tips to create content that resonates with your target audience: Use a conversational tone: Use language that is easy to understand and avoids technical jargon. This will make your content more accessible to a wider audience. Address their pain points: Address the problems or challenges that your audience is facing and provide solutions that can help them. Use visuals and multimedia: Visuals and multimedia can help break up the text and make your content more engaging. Be authentic: Authenticity is key when creating content that resonates with your audience. Use real-life examples, case studies, and stories to make your content more relatable. Provide value: Make sure your content provides value to your audience. Whether it's educational, entertaining, or inspiring, your content should be worth their time and attention. Crafting compelling content that genuinely connects with your ideal audience can transform your content marketing approach. Research your keywords Keyword research is a vital component of content creation, as it enables you to comprehend the search intent of your target audience. By gaining insights into the keywords and phrases people use when searching for a particular topic, you can craft content that effectively meets their needs and provides valuable information. Effective keyword research also allows you to identify the most relevant and high-traffic keywords for your content. By including these keywords strategically in your content, you can boost your search engine rankings and improve the visibility of your website to potential visitors. Tips for conducting effective keyword research: Begin your keyword research by identifying broad topics related to your business or industry. Refine your search terms using long-tail, more specific, relevant keywords to your business. These keywords have a lower search volume but are more targeted and can help you attract more qualified traffic to your website. Analyse your competition to identify the keywords they target. Tools like SEMrush , Ahrefs , or Moz can help you identify your competitors' top-performing keywords and use them to create better and more targeted content. Use keyword research tools to identify the most relevant and high-traffic keywords relevant to your business. Tools like Google Keyword Planner , Keywordtool.io , or our Customer Portal (UR Digital customers only) can help you identify keywords with high search volume and low competition. Focus on user intent when conducting keyword research. Understand your audience's queries and worries and generate content that resolves their queries and offers them the knowledge they seek. Doing so will make your content relevant and valuable to your target audience. Stay updated with the latest trends and changes in search behaviour. Regularly review and update your keyword research to ensure your content remains relevant and optimised for the latest search trends. Create SEO-optimised content When creating SEO-friendly content , following content formatting best practices is essential. Here are some tips for creating high-quality, SEO-optimised content: Break up your content into smaller sections or paragraphs with clear headings and subheadings. This helps readers navigate your content easily and quickly find the information they're looking for. Using bullet points and numbered lists can help improve your content's readability. It's also essential to use a legible font and size and ensure your content is mobile-friendly. Conduct keyword research to identify your content's most relevant and high-traffic keywords. Incorporate these keywords into your content naturally and organically without overstuffing your content with too many keywords. Write engaging, informative, and valuable content for your target audience. Google's algorithm favours websites that provide valuable and informative content, so investing in high-quality content creation can improve your search engine ranking. Moreover, using visuals and multimedia in your content can break up your content and make it more engaging for your readers. Adding images that are compressed, infographics, videos, and other multimedia elements to your content can make it more engaging and effective at conveying your message. These elements also improve your search engine ranking, making it easier for people to discover and engage with your content. Google's algorithm considers multimedia in content and rewards content that uses it effectively. Link-building Backlinks are inbound hyperlinks from one web page to another site, and they play a crucial role in search engine optimisation (SEO). When one website links to another, it creates a backlink that provides valuable information to search engines. These serve as a signal to search engines that the linked website is relevant and essential. Backlinks are a critical factor in determining a website's authority and credibility. The more high-quality ones a website has, the higher its chances of ranking higher in search engine results pages (SERPs). In simpler terms, search engines utilise them to evaluate a website's worthiness, and having many high-quality backlinks can significantly improve a website's ranking on SERPs. Therefore, it is essential to have a solid backlink strategy to help improve your website's visibility and ranking . Tips for building high-quality backlinks: Guest Blogging: Writing high-quality content for other websites in your niche is a great way to build backlinks. This involves reaching out to other websites and offering to write content for them in exchange for a link to your website. Broken Link Building: This is the process of finding broken links on other websites and offering to replace them with links to your content. This is a win-win situation for both parties, as the website owner gets a replacement link, and you get a high-quality backlink. Build Relationships: Connect and build relationships with industry-relevant website owners and bloggers to earn valuable backlinks. Comment on blog posts, share content on social media, and reach out via email. Consistent engagement and providing valuable insights establish your authority, leading to more high-quality backlinks. Conclusion In today's digital world, simply creating great content isn't enough. You need to make sure that both search engines and readers can easily find it. By incorporating SEO into your content creation process, you can create content that resonates with your audience and strengthens your online presence. By following the tips outlined above, you can craft content that captivates your readers and boosts your website's SEO, attracting more traffic to your site. So, why not start optimising your content today? With the right approach, you can create content that satisfies your audience and ranks high in search engine results.
By Pulkit Agrawal 29 Apr, 2023
Enhance your website's search engine ranking with Technical SEO. Learn the basics and optimise your site for maximum visibility. Read our expert guide now!
By Pulkit Agrawal 22 Apr, 2023
Maximise your SEO potential with our crawl budget analysis guide. Learn why understanding this crucial factor can make or break your website's success. Read now!
Optimise Your Site for Better Findability: 11 Tips for SEO Success
By Pulkit Agrawal 16 Apr, 2023
In today's digital world, having a website is like having a storefront for your business. But just like a brick-and-mortar store, if your website is hidden in a back alley, it won't attract many visitors. That's where website optimisation comes in. Optimising your website for better findability can improve your search engine rankings, attract more relevant traffic to your site, and engage your target audience more effectively. In this blog post, we'll explore the top strategies for website optimisation, including keyword research, on-page optimisation, technical optimisation, link building, and more. Whether you're a seasoned website owner or just starting out, these tips will help you take your website to the next level and achieve online success.
More Posts
Share by: