Image SEO
SEO for images: names, alt text, formats and speed
Images can bring traffic from Google Images and Lens, and they are also the most common reason a page loads slowly. Good image SEO fixes both.
In short
To optimize images for SEO, use a descriptive file name, write alt text that describes what the image shows, serve a modern format such as WebP or AVIF at the size it is displayed, set width and height to prevent layout shift, lazy load images below the fold, and place each image next to text that explains it.
Rather have it done for you? See our technical SEO service, from $1,500.
Two goals, one workflow
Image work serves two purposes. First, discovery: helping Google understand the picture so it can appear in image results and visual search. Second, speed: images are often the largest files on a page, and the largest contentful paint is usually an image. Google's Core Web Vitals target for that measure is 2.5 seconds or less.
You can do both with the same checklist. Start with the images on pages that matter most, such as the home page and your top service or product pages, rather than the whole library.
The steps
- Name the file before you uploadUse plain words separated by hyphens: red-leather-office-chair-side-view.jpg beats IMG_4021.jpg. It is a small signal, and it also helps you find files later.
- Write alt text for meaningDescribe what the image shows and why it is there. For a product, include the model and the angle. For a decorative flourish, use an empty alt so screen readers skip it.
- Choose the right formatUse WebP or AVIF for photos where browser support allows, JPEG as a fallback, PNG for images that need transparency or sharp edges, and SVG for logos and icons.
- Resize to the display sizeA picture shown at 800 pixels wide does not need to be 4,000 pixels wide. Export at roughly twice the display width for sharp screens, then compress.
- Set width and heightGive each image its dimensions in the markup so the browser reserves space and the layout does not jump while loading.
- Lazy load below the foldAdd loading lazy to images the visitor does not see first. Do not lazy load the main hero image, since that delays the largest paint.
- Surround it with relevant textGoogle uses the page's text, captions and headings near an image to understand it. Place images close to the passage they illustrate.
- Submit what Google cannot findIf images load through scripts, list them in an image sitemap or add them to your regular sitemap.
Free · no obligation
Get a free SEO and AI visibility check of your site
We look at how Google and AI tools like ChatGPT see your site and send you the top fixes, within one working day.
Request received
Thanks. Your free check is in the queue.
We will send the top fixes on WhatsApp or email within one working day.
A worked example of the savings
The numbers below are illustrative, from a typical product page with six photos.
| Change | Before | After |
|---|---|---|
| Photo size straight from the camera | 4,000 by 3,000 px, about 3.2 MB each | Resized to 1,600 px wide |
| Format | JPEG | WebP, about 180 KB each |
| Six photos together | about 19 MB | about 1.1 MB |
| Hero image | Lazy loaded by a plugin | Loaded normally and preloaded |
| Largest paint on mobile | Slow, over 4 seconds | Faster, brought under the 2.5 second target |
Your results will depend on your hosting and theme. Always measure a page before and after, using PageSpeed Insights or the field data in Search Console's Core Web Vitals report.
Alt text examples
| Image | Weak alt text | Better alt text |
|---|---|---|
| Product photo of a ceramic mug | mug | White ceramic mug with a matte glaze, held in one hand |
| Chart in a report | chart | Line chart showing monthly organic clicks rising from 800 to 2,100 over six months |
| Team photo | team | Six members of the support team standing in the office entrance |
| Decorative divider line | line image | Empty alt attribute |
| Logo that links home | logo | Company name, home page |
Write for a person who cannot see the image. If a sentence reads like a keyword list, rewrite it.
Getting into Google Images and Lens
- Use high-quality original photos. Stock images that appear on thousands of sites rarely stand out.
- Put the image in an HTML img element, not only in a CSS background, so Google can index it.
- Allow Googlebot to fetch the image files. A blocked image folder in robots.txt hides them.
- Use stable URLs. If you change image addresses on every redesign, you lose old traffic.
- Add structured data such as Product markup where it applies, so images can appear with price and availability.
For shops, product images are a main entrance to the store. Our ecommerce SEO and Shopify SEO work includes image audits as part of the technical review.
Pitfalls
- Compressing so hard that the picture looks blurry. Check it at full size.
- Using images with embedded text. Search engines and screen readers cannot rely on text baked into a picture, so repeat it in real text.
- Leaving the content management system to create a dozen sizes of each image that you never use.
- Hotlinking images from another site, which can break and is unfair to the owner.
- Copying images without the right to use them. Check licensing before you publish.
A site-wide image audit is part of our technical SEO work, and the Core Web Vitals checklist lists the related speed checks. For a fixed quote after a short call, use the contact page.
Updated 8 November 2026
Questions, answered
Is alt text important for SEO?
Which image format is right for SEO?
Do image file names matter?
Should I lazy load every image?
How big should web images be?
Keep exploring
Core Web Vitals checklist
Three numbers describe how a page feels: how soon the main content appears, how quickly it responds and how much it jumps. Here are the thresholds…
ServiceTechnical SEO services for sites that will not index
If good pages are missing from Google, or rankings fell after a rebuild, the cause is usually technical. We find it in your Search Console and fix it…
ServiceEcommerce SEO services that fix the store, then grow it
Online stores create thousands of near-duplicate URLs. We decide which ones deserve to rank, clean up the rest and build collection and product pages…
Is your site slowed by images?
Send us the URL and you get a fixed quote after a short call.