Image SEO for Beginners
Most beginner guides to SEO focus on keywords, backlinks, and content. Images are almost always an afterthought. That’s a mistake.
Images are on virtually every page of your website — and they’re one of the most consistently under-optimized elements in SEO. Done right, image SEO can boost your page load speed, improve your rankings in Google Search, earn you traffic through Google Images, and make your content more accessible to all users.
This guide covers everything you need to know to start optimizing your images today.
Why Image SEO Matters
There are four core reasons image SEO deserves your attention:
- Rankings boost: Optimized images contribute to overall page quality signals that help your pages rank higher in regular Google Search.
- Google Images traffic: Google Images is a significant source of organic traffic, especially for visual niches like food, fashion, design, travel, and DIY. Properly optimized images can rank here independently.
- Page speed: Unoptimized images are the single biggest cause of slow-loading pages. Page speed is a confirmed Google ranking factor — and it directly impacts user experience and bounce rate.
- Accessibility: Alt text (a core part of image SEO) makes your site usable by visually impaired users relying on screen readers. Accessibility is increasingly factored into quality assessments.
1. Use the Right Image File Name
Before you upload any image, rename the file to something descriptive and keyword-relevant. Google reads file names as a signal of what an image contains.
Most images come straight from a camera or screenshot tool with names like IMG_4823.jpg or Screenshot_2024.png. These tell Google nothing.
Instead:
- Bad: IMG_4823.jpg
- Good: chocolate-chip-cookie-recipe.jpg
- Good: seo-checklist-for-beginners.png
Use lowercase letters, separate words with hyphens (not underscores), and keep names concise but descriptive. Include your target keyword where it naturally fits — but don’t stuff multiple keywords into a single file name.
2. Write Descriptive Alt Text
Alt text (alternative text) is an HTML attribute that describes the content of an image. It serves two critical purposes: it tells Google what your image shows, and it’s read aloud by screen readers for visually impaired users.
Alt text is arguably the most important image SEO element.
How to write good alt text:
- Be specific and descriptive: Describe what’s actually in the image, not just your keyword. “Woman drinking coffee at a wooden desk with a laptop” beats “coffee.”
- Include your keyword naturally: If your target keyword fits naturally in the description, include it. Don’t force it.
- Keep it under 125 characters: Screen readers typically cut off after 125 characters.
- Don’t start with ‘Image of’ or ‘Photo of’: Google and screen readers already know it’s an image. Just describe the content.
- Leave alt text empty for decorative images: If an image is purely decorative (e.g., a divider or background shape), use alt=”” so screen readers skip it.
Examples:
- Bad alt text: “cookie” or “chocolate chip cookie recipe SEO blog post food photography”
- Good alt text: “Freshly baked chocolate chip cookies cooling on a wire rack”
3. Choose the Right File Format
Different image formats have different strengths. Using the wrong format can unnecessarily bloat your file size or reduce quality.
- JPEG / JPG: Best for photographs and complex images with lots of colors. Good compression with acceptable quality loss. Use for most blog post photos.
- PNG: Best for images with text, logos, icons, or transparent backgrounds. Larger file size than JPEG but lossless quality.
- WebP: Google’s modern image format. Smaller file sizes than JPEG and PNG at equivalent quality. Supported by all modern browsers — this should be your default format where possible.
- SVG: Ideal for logos, icons, and illustrations. Scales perfectly at any size and has tiny file sizes. Not suitable for photographs.
- AVIF: The newest format — even smaller than WebP. Browser support is growing but not yet universal. Consider it for cutting-edge optimization.
If your website platform supports it (most modern CMSs do), serve WebP as your default format for photos. Your page speed will thank you.
4. Compress Your Images
Large image files are one of the primary causes of slow websites. A page with ten 2MB images will load painfully slowly — and Google will penalize it for it.
The goal is to find the smallest possible file size that still looks good on screen. In most cases, you can compress images by 60–80% with no visible quality loss.
Free compression tools:
- TinyPNG / TinyJPG (tinypng.com): Compress PNG and JPEG files up to 80% with no visible quality loss. Free for up to 20 images at a time.
- Squoosh (squoosh.app): Google’s free browser-based tool. Lets you compare quality side-by-side before downloading. Supports WebP conversion.
- ShortPixel / Imagify: WordPress plugins that automatically compress and convert images as you upload them.
As a general guideline, aim for images under 150KB for standard blog images and under 500KB for large hero images.
5. Set the Correct Image Dimensions
Uploading a 4000×3000 pixel image when it’s only displayed at 800×600 is wasteful. The browser has to download the full-size image and then scale it down — wasting bandwidth and slowing your page.
Always resize images to the maximum dimensions they’ll be displayed at before uploading. Check your theme or template’s documentation to find the recommended image sizes for different areas of your site.
Also consider responsive images — serving different image sizes to different screen sizes using the HTML srcset attribute or your CMS’s built-in responsive image support. This ensures mobile users don’t download desktop-sized images.
6. Add Images to Your XML Sitemap
Google discovers images through crawling, but you can help it along by including image data in your XML sitemap. This is especially important for images that appear in JavaScript or are hosted on a CDN.
If you use Yoast SEO or Rank Math on WordPress, image sitemap data is added automatically. If you manage your sitemap manually, include image: image entries for each page that contains important images.
7. Use Structured Data for Images
For certain content types — recipes, products, articles — adding structured data (schema markup) that includes image properties can unlock rich results in Google Search. These enhanced listings with images get significantly higher click-through rates than standard results.
At minimum, make sure your page-level schema (Article, Product, Recipe, etc.) includes a valid image property pointing to a high-quality image of at least 1200×630 pixels.
8. Consider Image Placement and Context
Google doesn’t just look at an image in isolation — it considers the surrounding text to understand what the image is about. This means:
- Place images near relevant text: An image of a chocolate cake should appear near the text that describes it, not at the bottom of an unrelated section.
- Use captions: Image captions are highly read by users and are crawled by Google. A descriptive caption reinforces the relevance signal.
- Use images to support your content: Don’t just add stock photos for visual breaks. Use images that genuinely illustrate your points.
Image SEO Checklist
- Rename file to a descriptive, hyphenated, keyword-relevant name before uploading
- Write specific, descriptive alt text under 125 characters
- Choose the correct format (WebP for photos, SVG for icons, PNG for graphics with transparency)
- Compress the image to under 150KB where possible
- Resize to the actual display dimensions before uploading
- Add a descriptive caption where appropriate
- Ensure images are included in your XML sitemap
- Add structured data with image properties for product/recipe/article pages
The Bottom Line
Image SEO isn’t glamorous, but it’s one of the highest-ROI optimizations you can make — especially on image-heavy sites. A single afternoon of cleaning up file names, writing alt text, and compressing images can produce measurable improvements in page speed scores, accessibility, and rankings.
Start with your most important pages, build the habits into your publishing workflow, and you’ll be ahead of the vast majority of websites that treat images as an afterthought.
More articles;
