Images are one of the most consistently overlooked SEO opportunities on the web. Most website owners think about keywords, backlinks, and page structure — and then upload whatever image file their camera or design tool produced without giving it another thought. The result is pages that are slower than they need to be, images that Google can't properly understand, and missed opportunities in Google Image Search — which, depending on your niche, can drive meaningful traffic on its own.

Image SEO isn't complicated, but it covers more ground than most people realize. This guide walks through every factor Google actually evaluates when it encounters an image on your page — from the file name before you upload to the structured data after — with specific, actionable recommendations for each one.

Why Image SEO Matters More Than Most People Think

There are three distinct ways that well-optimized images help your SEO:

Page speed. Images are typically the largest files on any web page and the primary cause of slow load times. Google has made page speed a direct ranking factor through its Core Web Vitals metrics — specifically Largest Contentful Paint (LCP), which measures how long it takes for the largest visible element (usually a hero image) to load. A poorly optimized hero image can single-handedly push your LCP score into the failing range and directly suppress your rankings. We covered this in depth in Why Your Website Is Slow — image optimization is consistently the highest-impact fix.

Google Image Search. Google Images is a significant traffic source that most site owners don't actively optimize for. Properly labeled, contextually relevant images can rank in Google Images for searches that your text pages might never reach — product photos, how-to illustrations, infographics, and portfolio images all have real Image Search potential.

Overall page relevance signals. Google uses images as additional signals about what a page is about. An image with a descriptive file name, relevant alt text, and appropriate surrounding context contributes to the page's overall topical relevance — it's not just decoration, it's content.

File Names: The First Signal Google Reads

Before Google ever sees an image on your page, it reads the file name in the URL. A file named IMG_4872.jpg tells Google nothing. A file named homemade-sourdough-bread-sliced.jpg tells Google exactly what the image contains and contributes to the page's relevance for related searches.

File naming is one of the easiest image SEO wins and one of the most consistently ignored. The rules are simple:

  • Use descriptive, specific words that describe what's actually in the image
  • Separate words with hyphens, not underscores — Google treats hyphens as word separators; underscores are treated as connectors
  • Keep it concise — 3 to 5 words is usually enough; keyword stuffing file names is both ineffective and looks spammy
  • Rename before uploading — renaming after upload changes the URL, which breaks existing links and requires redirects

This takes about five seconds per image and costs nothing. It's pure upside.

Alt Text: The Most Important Image SEO Element

Alt text (the alt attribute on <img> tags) was originally designed as an accessibility feature — it describes an image to users who can't see it, whether because of a visual impairment, a slow connection that blocked the image from loading, or a browser that doesn't render images. It's also the primary way Google understands image content.

Good alt text is descriptive and specific without being keyword-stuffed. It should describe what's actually in the image in a way that would make sense to someone who couldn't see it. "golden retriever puppy playing fetch in a park" is good alt text. "dog dog puppy golden retriever cute pet animal" is keyword stuffing and will either be ignored or penalized.

The alt text test: Read your alt text out loud as if describing the image to someone over the phone. If it sounds like a natural description of the image, it's probably good. If it sounds like a list of keywords, rewrite it. Screen reader users will literally hear your alt text read aloud — write it for them first, and the SEO benefit follows automatically.

A few specific guidelines:

  • Decorative images — purely decorative images with no informational content (background textures, decorative dividers, abstract shapes) should have an empty alt attribute (alt=""), not missing alt text. This tells screen readers and Google to skip the image entirely.
  • Product images — include the product name, key attributes (color, size if relevant), and brand. "red ceramic coffee mug 12oz by BrandName" is better than "coffee mug."
  • Informational images — charts, infographics, and diagrams should have alt text that conveys the key information the image communicates, not just a label. "bar chart showing 40% reduction in page load time after image compression" is better than "performance chart."
  • Images with text — if an image contains important text, that text should be in the alt attribute (and ideally also available as actual HTML text on the page).

File Format: Use WebP for the Web

Format choice directly affects both file size and page speed, which connects back to your Core Web Vitals scores. WebP consistently produces files 25–35% smaller than JPEG at the same visual quality, and 20–30% smaller than PNG for graphics — with near-universal browser support across all modern browsers.

If you're still serving JPEG and PNG images on your website, switching to WebP is one of the most impactful single changes you can make for page speed and LCP scores. The WebP Converter handles the conversion from any format in your browser — no software needed. We covered the full case for the switch in How to Convert Images to WebP.

File Size and Compression: Non-Negotiable for Core Web Vitals

Even in the right format, uncompressed images will tank your page speed. A WebP hero image that's 3 MB is still a 3 MB file — format alone doesn't make an image web-ready. Compression at 80–85% quality produces files that are visually indistinguishable from the original at a fraction of the size.

The target file sizes for typical web use:

  • Hero / above-the-fold images: under 200 KB — these load first and directly determine your LCP score
  • Standard content images: 50–150 KB — blog post images, product photos at standard display size
  • Thumbnails: under 30 KB — these load in grids, often dozens at once

The Image Compressor handles individual images, and the Bulk Compressor processes an entire folder in one pass — useful when you're optimizing an existing library rather than individual new uploads.

Image Dimensions: Serve the Right Size

Serving a 4000px image in a 800px container wastes bandwidth regardless of compression. The browser downloads the full 4000px image and then scales it down — you pay the bandwidth cost of a large image to display a small one. Resize images to approximately 2× their display size (to cover high-DPI screens) before compressing.

For a hero image displayed at 1400px wide: resize to 2800px wide, compress to 80–85% quality, convert to WebP. That's the full optimization workflow in three steps. The Image Resizer handles the dimensional step. For the full breakdown of what dimensions to use for different contexts, see What Is the Right Image Resolution.

Structured Data for Images

Structured data (JSON-LD schema markup) allows you to provide Google with explicit, machine-readable information about your images — not just inferred information from file names and alt text. Relevant schema types for images include:

ImageObject — directly describes an image with properties like contentUrl, description, author, datePublished, and license. Adding ImageObject schema to images on your pages gives Google structured information it can use for rich results and Image Search ranking.

Product schema with image — for ecommerce, Product schema that includes high-quality images with proper dimensions is required for product rich results in Google Shopping and search.

Article schema with image — for blog posts and articles, including a properly specified image property in Article schema (minimum 1200px wide, 1:1, 4:3, or 16:9 aspect ratio) is a requirement for Top Stories rich results.

Google's own documentation specifies that images in structured data must be crawlable and indexable — they can't be blocked by robots.txt, served via JavaScript that Googlebot can't execute, or protected by login walls.

Image Sitemaps

Google can discover most images by crawling your pages normally, but an image sitemap — or image entries in your existing sitemap — ensures that all your images are known to Google, including any that might be loaded via JavaScript or otherwise harder to crawl. The standard approach is to add <image:image> entries within your existing page <url> blocks in your sitemap.xml.

For content-heavy sites where images are a significant traffic driver — photography portfolios, recipe sites, product catalogs — explicit image sitemaps are worth the setup time. For most sites, ensuring images are on indexable pages with proper alt text is sufficient.

Lazy Loading: The Right Way

Lazy loading defers the loading of below-the-fold images until the user scrolls near them — a significant page weight saving when a page has many images. The HTML implementation is a single attribute: loading="lazy" on your <img> tags.

The critical rule: never lazy load above-the-fold images. Your hero image and any other images visible in the initial viewport should load immediately — adding loading="lazy" to them will delay their loading and directly hurt your LCP score. Lazy load everything below the fold; let everything above the fold load normally.

EXIF Data and Privacy

This one is less about Google ranking and more about what you're inadvertently publishing. Every photo taken on a smartphone embeds GPS coordinates, timestamp, and device information in the file's EXIF metadata. That data is readable by anyone who downloads the image — and it travels with the file when you upload it to your website.

From an SEO standpoint, EXIF data has minimal impact. From a privacy standpoint, publishing photos taken at your home or business with embedded GPS coordinates is worth thinking about. The EXIF Viewer & Remover lets you inspect and strip this data before publishing. We covered the full privacy implications in What Is EXIF Data and Why You Should Remove It.

The Image SEO Checklist

To put this all together — before any image goes live on your site:

  • Rename the file descriptively with hyphen-separated keywords before uploading
  • Resize to approximately 2× the display dimensions
  • Compress at 80–85% quality with the Image Compressor
  • Convert to WebP with the WebP Converter
  • Write specific, descriptive alt text — not keyword lists
  • Add width and height attributes to prevent layout shift (CLS)
  • Add loading="lazy" to all below-the-fold images
  • Strip EXIF data from photos taken at private locations
  • For important pages: add ImageObject or relevant schema markup

None of these steps is technically difficult or time-consuming — together they represent an hour of work on a new site and a meaningful improvement in both rankings and page experience. Image SEO is one of those areas where the gap between the average site and the well-optimized site is wide, and most of the work is just knowing what to do and building the habit of doing it consistently.