Log in

Optimize your website’s images for Google

People can discover your work in Google Images or by searching from a photo. For that, Google needs to identify what your photos show. You'll understand how to describe each photo, make its file lighter and choose the image used when your pages are shared on social media.

Updated on

Une étiquette attachée à une photo dans une page web, comme le texte qui aide Google à référencer les images d'un site

A photo of a job site, a product or your team shows your know-how better than a long text. Google analyzes a photo to understand what it shows. It also relies on its alt text, a short description read aloud by the software that blind people use.

Optimizing your images for search means describing each photo and making its file lighter so the page displays faster. Google understands a photo better when its alt text describes it and it appears near the passage it illustrates. And when you share a page on a social network, its preview can show a photo of one of your projects.

Terms to know before you start

TermMeaning
Alt textThe description of an image written in the page’s code (the alt attribute). It is meant for search engines and for the software that reads the page aloud to blind people
Decorative imageAn image that carries no information for the visitor, such as a pattern or a texture. Its alt text is empty
WebP and AVIFTwo image formats read by current browsers. An image saved in these formats is lighter than in JPEG or PNG
Lazy loadingThe browser downloads an image only when the visitor gets close to the place where it sits on the page
Share imageThe image shown when someone shares the link to a page on a social network or in a messaging app. The address of this image sits in the page’s og:image tag. This tag is part of the Open Graph protocol
Google LensGoogle’s tool for searching from a photo instead of typing words

Describe each image with its alt text

Understand how a blind person discovers your images

A blind person discovers a page with a screen reader, software that reads the page aloud. This software replaces each image with its alt text. When this text is missing, some screen readers read the file name, such as “IMG_4821”5.

The W3C, the body that sets the standards of the Web, recommends an empty alt text (`alt=””`) for a decorative image. Screen readers then skip over this image. The W3C also mentions the role="presentation" attribute, which has the same effect but is less well supported by screen readers5.

WebAIM, an American organization that specializes in web accessibility, finds that alt text is missing on many websites. In February 2026, the organization examined the home pages of the one million most visited websites1.

WebAIM found at least one image without alt text on 53% of these home pages. In addition, one in ten described images had an unhelpful description, such as “image” or the file name1.

Help Google understand the image

In its documentation, Google presents alt text as the most important attribute of an image. The search engine combines this text with the analysis of the image by its computer vision programs. It also examines the content of the page to understand the image better2.

In 2011, the French agency AxeNet placed a photo of the model Adriana Karembeu on a page about anchovy pizza. The photo’s alt text and the text of the page were about pizza. Google Images ended up showing this photo at the top of the search “pizza aux anchois” (anchovy pizza)6.

According to the consultant Daniel Roch, Google did not analyze images visually in 20116. It analyzes them today, but this experiment shows how much alt text and page text matter for Google to identify what a photo shows.

Google warns that alt text stuffed with keywords bothers visitors and can make the site look like spam2.

Alt textA blind person hears
NoneThe file name or nothing at all
“staircase”A staircase, without knowing which one
“staircase wood joiner Limoges custom staircase cheap”A string of keywords, tiring to listen to
“Quarter-turn oak staircase, installed in a house in Limoges”A description of the photo, as a customer would see it

Good alt text describes the photo the way you would describe it to a customer over the phone. The W3C also advises a brief description, without setting a number of characters7.

The W3C recommends copying into the alt text the words of a poster or a price list shown as an image. On the other hand, you have nothing to copy if these words appear elsewhere on the page7.

Name the file and place the image near its text

The file name gives Google little information. Google still recommends a short, descriptive name. A name like “oak-staircase-limoges.jpg” is better than “IMG00023.JPG”2.

Publish an image that appears on several pages under a single address. Google can then reuse the file it has already downloaded2.

Google reads the image’s caption and the nearby headings, so it recommends placing the image near the passage it illustrates2. For example, place the photo of a staircase under the paragraph about how it was installed, with the caption “Oak staircase, Limoges”. Google then connects the image with its paragraph and its caption.

However, Google only indexes images placed in an `img` tag. As a result, it ignores background images set in a style sheet (the CSS code of the layout)2.

Le robot de Google voit la photo placée dans le texte de la page mais pas l'image de fond derrière elle.

So put your project photos directly in the page so that they appear in Google Images. Keep background images for patterns and textures.

Make images lighter so your pages display fast

Google points out that images often make up the largest share of a page’s weight2. It takes display speed into account to rank pages, but it puts the relevance of the content before speed8. On a mobile network, a photo of several megabytes published as is from a phone delays the display of the page.

Convert your images to WebP or AVIF

Every year, the HTTP Archive project publishes the analysis of more than ten million web pages in its Web Almanac. In 2024, JPEG and PNG accounted for 32% and 28% of the images seen on phones, while WebP reached only 12% and AVIF 1%9.

Yet at equal quality, an image in WebP or AVIF is lighter than in JPEG or PNG. According to Google, which created WebP, a WebP file is 25 to 34% lighter than a JPEG of the same quality10.

You can publish your images in AVIF without worrying about their SEO or their display. Google has indexed them since August 2024 without any setting on your part11. The browsers of 97% of internet users support this format12.

On November 12, 2026, we measured the effect of AVIF on seven screenshots from the lovelyrender.com home page. At equal width, the total weight goes from 668 KB in PNG to 182 KB in AVIF, or 73% less. The 480-pixel-wide AVIF version, sent to small screens, weighs 6 KB on average3.

These screenshots are PNGs, a lossless format that keeps every detail of the image. A PNG converted to AVIF therefore loses a large part of its weight. The gap will be smaller on your photos already compressed as JPEG.

The weight of seven images before and after their conversion to AVIF
The weight of seven images before and after their conversion to AVIFThe seven original PNGs weigh 668 KB, their AVIF versions 182 KB, or 73% less. Source: Lovely Render measurement of November 12, 2026.
  • Original PNG
  • AVIF
Show the data
The weight of seven images before and after their conversion to AVIF
ScreenshotOriginal PNGAVIF
Content types117.8 KB29.6 KB
Templates116.3 KB21.6 KB
Forms102.0 KB29.5 KB
Statistics83.6 KB19.3 KB
SEO74.3 KB21.9 KB
Multilingual website60.8 KB14.3 KB
Publishing and versions113.1 KB45.7 KB
La liste des biens à vendre d'une agence, avec leur prix, leur surface et leur ville.

Content types

Template hierarchy in Lovely Render, from a content's own template to the fallback template, screenshot tested in PNG then in AVIF

Templates

La liste des formulaires d'un site, avec les demandes reçues et le taux de conversion de chacun.

Forms

Six visit indicators and the traffic curve in Lovely Render's statistics, screenshot compared in PNG and in AVIF

Statistics

Clicks, impressions, click-through rate and average position from Google Search Console in Lovely Render, screenshot converted to AVIF

SEO

Les langues d'un site, avec leur segment d'adresse et le nombre de leurs contenus.

Multilingual website

L'écran de publication, avec les changements à publier groupe par groupe.

Publishing and versions

Declare image dimensions and defer their loading

Without a declared width and height, an image can shift the text when it appears and disrupt reading. On its web.dev site, Google advises stating these two dimensions in the code of each image13. Yet in 2024, only 32% of the images on the Web had this safeguard9.

Google recommends lazy loading but advises against applying it to content that is visible as soon as the page opens14. In 2024, the largest element visible when a page opened on a phone was an image in 68% of cases. The Web Almanac notes that 9.5% of these images were lazy-loaded anyway, which delayed their display9.

Load the images visible when the page opens right away, such as the large photo at the top. For all the others, keep lazy loading so that your pages display faster.

Choose the image shown when a page is shared

A link pasted into LinkedIn, Facebook or WhatsApp is displayed with a preview: a title and an image. These services take the image from the og:image tag of Open Graph, the protocol created by Facebook15.

Meta, the company behind Facebook, advises an image of at least 1,200 × 630 pixels. An image with proportions close to 1.91 to 1 is displayed in full16.

Google can read the og:image tag to choose the page’s image in its results and in Discover, the news feed Google offers on phones2.

Google recommends a high-resolution image that is true to the subject of the page, but advises against the site’s logo and images covered with text2. For a project page, choose the best photo of the job as the share image, with no text on top of it.

Show up in Google Images and in Google Lens

Your images can appear in Google’s results, in Google Images and in Discover2. In October 2026, Sundar Pichai, the head of Google, announced more than 50 billion image searches a month4.

A user can take a picture of a staircase they like with Google Lens. Google Lens then shows them similar images and the websites that publish this image or a close one17.

Google Search Console is the tool where Google reports a site’s appearances in its results, Google Images included18.

To see the impressions and clicks from Google Images, choose “Image” in the “Search type” filter of the “Performance” report. The “Web” option of the same filter lets you separate typed searches from multimodal searches (started with an image)18.

A page can appear often in Google Images but get few clicks. Judge a page by its clicks and the quote requests it brings in instead.

Performance report of Google Search Console filtered on the Image type, with the clicks and impressions from Google Images by page

Photograph your own projects

The same stock photo often appears on many websites. A search started from this photo shows the customer the other websites that publish it17. A competitor’s website is sometimes among them.

Internet users pay little attention to stock photos anyway. In 2010, the American firm Nielsen Norman Group tracked the gaze of participants on web pages. They lingered on photos of real people or real products but ignored photos added to decorate the page19.

We conclude that photos of your work interest your visitors more than a stock photo, however polished. A photo of your workshop, your team or a finished job is enough, even one taken with a phone. Your customer sees the work done, which is what they want to check before calling you.

Example: a joinery shop in Limoges, France

An imaginary joinery shop in Limoges has just installed an oak staircase. The owner wants to show this staircase on the “Custom staircases” page of the website.

The joinery shop replaces the stock photo with its own photos

The staircase page opened with an image bought online. With an image search, the owner finds this photo on some thirty other websites.

The owner replaces the bought image with three photos of the oak staircase taken with a phone. He turns off lazy loading on the first one, which is visible as soon as the page opens.

The owner describes each photo and chooses the share image

The owner gives the files names like “quarter-turn-oak-staircase-limoges.jpg”. For each photo, he writes alt text such as “Quarter-turn oak staircase, seen from the entrance”.

He adds a caption with the year of installation under the main photo. Finally, he chooses this photo as the share image. The preview of the link sent to a customer by message now shows the staircase.

A month later, the owner sees the page’s first impressions in Google Images in Google Search Console. But no user has clicked on these images to come to the website yet.

Review the images on one of your pages

These five checks let you spot the photos to fix on the most illustrated page of your website. Do them on a computer, in Chrome.

  1. Right-click each photo, choose “Inspect” and find alt="…" in the code that appears. Note the photos without alt text, with a one-word text or with an empty text even though they show your work. Finally, check that the code of the top photo does not contain loading="lazy", the mark of lazy loading, which would delay its display.
  2. Right-click the largest photo, choose “Save image as…” and look at its size in your folder. In 2024, the largest image weighed less than 135 KB on half of the pages on the Web9. If yours is over several hundred KB, make it lighter with an online tool such as Squoosh. To do so, reduce the width of the photo to the width of the page and convert it to WebP or AVIF.
  3. Open google.com, click the search by image icon and then “upload a file” to choose a photo17. Run this search for each photo you bought or found on the Internet. If the same photo appears on other websites in the results, note it so you can replace it with one of your own.
  4. Send yourself the link to the page in WhatsApp or in a LinkedIn message and note the image shown in the preview. If it is your logo or nothing at all, choose a share image for this page.
  5. In Google Search Console, open the “Performance” report and choose “Image” in the “Search type” filter. Note the clicks of the page and its impressions, meaning its appearances in Google Images. A page missing from the table has no appearances in Google Images yet.

You’re done when…

You know which photos on the page have alt text that describes them. You have spotted the ones that appear on other websites and checked that the top one loads right away.

You have noted the size of the largest photo and the image shown in the preview of a share. You know how many times the page appears in Google Images. You can then follow the effect of your fixes in Google Search Console for several weeks.

If it doesn’t work

If no image from the page appears in Google Images after several weeks, check in the URL inspection tool of Google Search Console that the page is indexed. If it is not, follow the checks in the guide “Why isn’t my website showing up on Google?“.

If the page is indexed, check that no photo is set as a background image by a style sheet, because Google does not index background images.

Take care of your images on every new page

One minute per photo is enough to write its alt text and rename its file before publishing it. Over the months, you will build up dozens of job photos with alt text that helps Google understand them. Unlike stock photos, these images will not appear on any other website.

The next chapter covers videos: Google also examines their thumbnail and the page that presents them.

Previous chapter: Choose the title and description of your pages

Next chapter: Optimize your website’s videos for Google

Sources

  1. ↑ WebAIM, “The WebAIM Million“, February 2026 analysis, updated March 30, 2026.
  2. ↑ Google, “Google image SEO best practices“, Google Search Central, accessed November 12, 2026.
  3. ↑ Lovely Render, “lovelyrender.com home page“, weight of the seven screenshots and of their AVIF versions measured on November 12, 2026, data in poids-avif-lovelyrender-2026-11.csv.
  4. ↑ Sundar Pichai, “Q3 2026 earnings call: Remarks from our CEO“, Google blog, October 28, 2026.
  5. ↑ W3C, “Decorative Images“, Web Accessibility Initiative, updated July 27, 2019, accessed November 12, 2026.
  6. ↑ Matthieu Eugène, “Adriana Karembeu n’est plus vraiment une pizza aux anchois” [Adriana Karembeu is no longer really an anchovy pizza], Blog du Modérateur, May 23, 2025, which reports the experiment run in 2011 by the agency AxeNet and the account of the consultant Daniel Roch.
  7. ↑ W3C, “An alt Decision Tree“, Web Accessibility Initiative, accessed November 12, 2026.
  8. ↑ Google, “Understanding page experience in Google Search results“, Google Search Central, accessed November 12, 2026.
  9. ↑ Stefan Judis and Eric Portis, “Media“, HTTP Archive Web Almanac 2024, December 29, 2024, updated January 2, 2025.
  10. ↑ Google, “An image format for the Web“, Google for Developers, accessed November 12, 2026.
  11. ↑ John Mueller, “Supporting AVIF in Google Search“, Google Search Central blog, August 30, 2024.
  12. ↑ Can I use, “AVIF image format“, accessed November 12, 2026.
  13. ↑ Addy Osmani and Barry Pollard, “Optimize Cumulative Layout Shift“, web.dev, updated February 7, 2025.
  14. ↑ Google, “Fix Lazy-Loaded Website Content“, Google Search Central, accessed November 12, 2026.
  15. ↑ “The Open Graph protocol“, accessed November 12, 2026.
  16. ↑ Meta, “Images in Link Shares“, Meta for Developers, accessed November 12, 2026.
  17. ↑ Google, “Search with an image on Google“, Google Search Help, accessed November 12, 2026.
  18. ↑ Google, “Performance report (Search results): Overview and basic setup“, Search Console Help, accessed November 12, 2026.
  19. ↑ Jakob Nielsen, “Photos as Web Content“, Nielsen Norman Group, October 31, 2010, reviewed August 13, 2026.