
Image SEO: How to Optimize Images
Image SEO is the work of making your images easy for search engines and AI tools to find, understand and show, without slowing your pages down. The essentials: use original images, give each file a descriptive name, write helpful alt text, save in a modern format such as WebP, compress and size images correctly, and place them near relevant text on a page that is itself well optimized. Done well, images can bring traffic from Google Images, Google Lens and AI answers, and make your pages faster.
What is image SEO?
Search engines cannot see an image the way a person does. They rely on signals around it: the file name, alt text, captions, surrounding text, page title and structured data. Image SEO is about giving those signals clearly, and about keeping file sizes small so the page loads fast.
It matters for two reasons:
- Visibility. Images appear in many search results. Semrush found that 55.62% of standard US search results included an image pack, based on data from April 29, 2024.
- Speed. Images are often the heaviest files on a page. Large images slow loading and hurt Core Web Vitals, especially Largest Contentful Paint.
Where images show up in search
- Google Images: the image tab and image search.
- Image packs: rows of images inside the regular results.
- Google Lens: visual search from a phone camera or screenshot. Yoast says Lens handles over 20 billion searches every month.
- Product results and Shopping: product photos from your site and Merchant Center.
- Discover: large images in Google's mobile feed.
- AI answers: AI Overviews and chat assistants sometimes show images alongside text.
The image SEO checklist
Work through these in order for every important image.
1. Use original images when you can
Your own photos of your team, work, products and location are more useful to searchers than stock photos used on thousands of sites. They also build trust.
2. Pick the right size before uploading
Resize images to the largest size they will actually display. A photo shown 1,200 pixels wide does not need to be uploaded at 6,000 pixels.
3. Name files descriptively
Use plain words, separated by hyphens in the file name, that describe the image.
- Good:
tankless-water-heater-installation-phoenix.jpg - Bad:
IMG_4821.jpg
4. Choose a modern format
WebP or AVIF for most photos, SVG for logos and icons. See the format table below.
5. Compress
Use a compression tool or plugin to cut file size without visible quality loss.
6. Write alt text
Describe the image for someone who cannot see it, in context. The AI Overview for this topic suggests keeping alt text under about 125 characters. More below and in our full alt text guide.
7. Place images near relevant text
Google uses the page around an image to understand it. Put product photos next to the product description and how to photos next to the step they show.
8. Add width, height and responsive sizes
Set width and height attributes so the page does not jump as images load, and use srcset to serve smaller files to phones:
<img
src="/images/ac-repair-technician-800.webp"
srcset="/images/ac-repair-technician-400.webp 400w,
/images/ac-repair-technician-800.webp 800w,
/images/ac-repair-technician-1200.webp 1200w"
sizes="(max-width: 600px) 100vw, 800px"
width="800" height="533"
alt="Technician checking refrigerant levels on a rooftop AC unit"
loading="lazy">
9. Lazy load below the fold, not above it
Use loading="lazy" for images lower on the page. Do not lazy load the main hero image; load it right away so the page paints quickly.
10. Add captions where useful
Captions are read more than body text on many pages and give extra context.
11. Include images in your sitemap and add structured data
Covered below.
Alt text examples
| Image | Type | Good alt text |
|---|---|---|
| Photo of a finished kitchen remodel | Informative | "White shaker kitchen with quartz counters and a navy island" |
| Product photo | Informative | "Black 20 liter waterproof backpack, front view" |
| Chart showing monthly leads | Informative | "Bar chart of leads by month, rising from 40 in January to 95 in June" (describe what your chart actually shows) |
| Decorative divider or background pattern | Decorative | Empty alt (alt="") so screen readers skip it |
| Logo linking to the homepage | Functional | "[Company name] home" |
| Button made of an image | Functional | Describe the action: "Request a quote" |
Avoid stuffing keywords. "Plumber plumbing Phoenix plumber best" helps no one.
Image formats compared
Google's documentation lists BMP, GIF, JPEG, PNG, WebP, SVG and AVIF as supported formats.
| Format | Best for | Notes |
|---|---|---|
| WebP | Most photos and graphics | Small files, wide browser support |
| AVIF | Photos where smallest size matters | Often smaller than WebP; check your platform supports it |
| JPEG | Photos where WebP is not available | Universal support, larger files |
| PNG | Images that need transparency or sharp text | Can be large; use WebP with transparency when possible |
| SVG | Logos, icons, simple illustrations | Scales cleanly, tiny files |
| GIF | Simple animations | Usually better replaced with short video |
Speed: compression, sizing and lazy loading
Image weight is one of the most common causes of slow pages. To keep pages fast:
- Serve WebP or AVIF.
- Compress every image before or during upload.
- Never upload images far larger than their display size.
- Use srcset so phones get smaller files.
- Lazy load images below the fold.
- Preload or set a high fetch priority on the main hero image, as Yoast recommends for Largest Contentful Paint.
- Consider an image CDN if you have many images or a global audience.
Our guide to website speed covers the rest of the page.
Image sitemaps and structured data
Image sitemaps. If your images load through JavaScript or are important for search (products, portfolios, recipes), list them in your sitemap. A simple entry:
<url>
<loc>https://example.com/kitchen-remodel-gallery</loc>
<image:image>
<image:loc>https://example.com/images/white-shaker-kitchen.webp</image:loc>
</image:image>
</url>
Structured data. Product, recipe, article and local business schema markup can include image properties, which help your images appear in rich results. ImageObject schema can add details such as the creator and license.
Image SEO on WordPress, Shopify and Webflow
WordPress
- Fill in the alt text field in the media library for every image.
- Use a compression plugin that also converts to WebP.
- Rename files before uploading; WordPress keeps the original file name.
- Recent versions add lazy loading by default. Check your hero image is not lazy loaded.
- See our WordPress SEO guide for plugin setup.
Shopify
- Add alt text to each product image in the product editor.
- Shopify serves images through its CDN and converts formats for supported browsers.
- Upload images at consistent sizes and aspect ratios so collection pages look tidy.
- Rename files before uploading.
Webflow
- Set alt text in the asset panel or per image.
- Use the built in responsive image options and WebP conversion.
- Check lazy loading settings on above the fold images.
Platform features change, so check current documentation for each.
Image SEO by business type
Local service businesses. Photograph real jobs, your team, your vehicles and your storefront. Name files with the service and area (roof-replacement-tempe-tile.webp), and add the best photos to your Google Business Profile too. Before and after galleries work well when each image has its own caption explaining the job.
Ecommerce stores. Show each product from several angles, in use and at scale. Keep a consistent white or neutral background for main images, and add lifestyle photos further down. Write alt text that includes the product name, color and key feature, and make sure product schema lists your main image.
Restaurants and venues. Photograph dishes, the dining room and the outside of the building in good light. Upload menus as HTML text, not images, so search engines and AI tools can read them.
B2B and professional services. Use real team photos, office photos and diagrams you created. Charts and frameworks with good alt text and a caption can be cited and linked by other sites.
Images and AI search
AI tools increasingly read and show images. Visual search like Google Lens matches photos to pages, and AI assistants can describe and search images. To make your images useful in that world:
- Use original, clear photos of real products, places and work.
- Keep alt text, captions and nearby text accurate and specific.
- Use structured data on product and local business pages.
- Keep consistent product images across your site and Merchant Center.
How to audit and measure
Audit
- Crawl your site and export every image with its file size, alt text and dimensions.
- Flag images over a size you set as a limit (for example, a few hundred kilobytes for photos).
- Flag missing or keyword stuffed alt text.
- Flag images in old formats that could be WebP.
- Check your largest pages in PageSpeed Insights and note image warnings.
Measure
In Google Search Console, open Performance and change "Search type" to Image. You will see which pages get image impressions and clicks. Compare before and after your changes. Our technical SEO guide covers the wider crawl.
Common mistakes
- Uploading full resolution camera photos.
- Using the same stock photo as hundreds of other sites.
- Leaving alt text empty on informative images, or stuffing it with keywords.
- Lazy loading the main hero image.
- Putting important text inside images instead of HTML.
- Blocking image folders in robots.txt.
FAQ
How does alt text affect SEO?
Alt text helps search engines understand what an image shows, which helps it appear in image search and supports the page's relevance. It also makes your site accessible to people using screen readers, which is its main purpose.
How do you use Google Image Search?
Go to Google Images and type a search, or use Google Lens to search with a photo or screenshot. For your own site, you can check image performance in Search Console by setting the search type to Image.
Can ChatGPT search an image?
Many AI assistants, including ChatGPT, can analyze an uploaded image and describe it or answer questions about it, and some can search the web for related information. Clear, original images with accurate text around them are more likely to be understood correctly.
Is image SEO free?
Yes, most of it costs nothing but time: renaming files, writing alt text, resizing and compressing. Some compression plugins and image CDNs have paid plans.
Make your images work for you
Lucid Brands's SEO and Content Management service starts at $500 a month and includes image audits, speed fixes and ongoing optimization. Start with a free website audit to find oversized images, missing alt text and other issues slowing your site.
Your path to lucidity
Get Started With a Free Website Audit
Not sure where to begin? Start with a free website audit. Our team analyzes your website's SEO, speed, content and user experience to identify what to improve first.
Explore More
Related Resources

21 SEO Tips That Actually Move Rankings
21 SEO tips ranked by impact: quick wins you can do this week, on-page fixes, local SEO, AI Overview tips, and the habits that build rankings over time.
Read More
301 Redirects: When and How to Use Them
What a 301 redirect is, 301 vs 302, 307 and 308, the SEO impact, when to use one (and when not to), copy and paste code for Apache, Nginx, WordPress and common platforms, a redirect map template for migrations and how to test redirects.
Read More
Alt Text: How to Write It for SEO and Accessibility
What alt text is, why it matters for accessibility and SEO, how to write it, when to leave it empty, examples by image type, how to add it in WordPress, Shopify, Wix, Squarespace and social apps, and how to use AI tools safely.
Read More