Image SEO

Image SEO: How to Name, Compress & Optimize Photos for Google

Image SEO means optimizing filenames, alt text, size, and format so your photos rank in Google Images and speed up your pages. Here's the complete checklist for creators.

⚡ Quick answer

Image SEO is the practice of optimizing your images — filename, alt text, file size, format, and dimensions — so they rank in Google Images and improve your page speed. The five highest-impact steps are: use descriptive filenames, write clear alt text, compress to JPEG at ~80%, resize to display dimensions, and serve modern formats where possible.

Advertisement
In this guide
  1. What exactly is image SEO?
  2. How should I name image files for SEO?
  3. How do I write alt text that helps SEO?
  4. What's the right file size and format for web images?
  5. How does image optimization affect Core Web Vitals?

What exactly is image SEO?

Image SEO is optimizing your images so search engines can understand them and so they don't slow your site down. It has two goals: earning traffic from Google Images, and protecting your page speed (a ranking factor) by keeping image files light.

For creators and online business owners, image SEO is underrated free traffic. Google Images is one of the largest search engines in the world, and product photos, recipe images, and how-to visuals all attract clicks when optimized properly.

How should I name image files for SEO?

Name image files descriptively with hyphens between words, before you upload them. Google reads filenames to understand image content, so blue-ceramic-coffee-mug.jpg communicates far more than DSC_0294.jpg.

  • Use real words that describe the image.
  • Separate words with hyphens, not underscores or spaces.
  • Keep it concise — three to five words is ideal.
  • Include a keyword naturally, but don't stuff.
Image SEO stepBadGood
FilenameIMG_4821.jpgwalnut-cutting-board.jpg
Alt text(empty)"Handmade walnut cutting board"
Format (photo)PNG, 4MBJPEG 80%, 280KB
Dimensions4000px wideSized to display (1200px)
Hero image weight2MB+Under 400KB

How do I write alt text that helps SEO?

Write alt text that describes the image clearly in a sentence, as if explaining it to someone who can't see it. Alt text serves accessibility first and SEO second — both are satisfied by a natural, accurate description.

For an online store, "handmade walnut cutting board with juice groove" is excellent alt text: it's descriptive, useful to screen-reader users, and naturally contains the terms a shopper would search. Avoid keyword stuffing like "cutting board cheap cutting board buy cutting board" — Google penalizes it and screen readers find it useless.

What's the right file size and format for web images?

For photographs, export JPEG at around 80% quality and resize to the dimensions your page actually displays. This is the core of image performance SEO. An image shown at 800px wide should not be uploaded at 4000px wide.

Aim to keep most content images under 200KB and hero images under 400KB. Use the converter to compress and resize in one step, and consider exporting a WebP copy for an additional 25–35% saving on supported browsers.

How does image optimization affect Core Web Vitals?

Large images are the most common cause of a poor Largest Contentful Paint (LCP) score, one of Google's three Core Web Vitals. The LCP element on most pages is the hero image, so a heavy hero directly drags down the score Google uses for ranking.

Compressing and correctly sizing your images is the single most effective way to improve LCP. Combine that with specifying width and height attributes (to prevent layout shift) and you address two of the three Core Web Vitals through image work alone.

Convert PNG to JPEG — Free & Private

Batch convert and compress in your browser. No upload, no sign-up, no watermark.

Open the Converter →

Frequently asked questions

What is image SEO?

Image SEO is the process of optimizing images so search engines can understand and rank them, and so they don't slow your page down. It covers descriptive filenames, alt text, compression, correct dimensions, and format choice. Done well, it earns traffic from Google Images and improves your Core Web Vitals.

Do image filenames affect SEO?

Yes. Descriptive filenames like red-leather-handbag.jpg help Google understand the image and can improve ranking in Google Images, while generic names like IMG_4821.jpg tell search engines nothing. Rename images before uploading, using hyphens between words.

What is alt text and why does it matter for SEO?

Alt text is a short written description of an image, read by screen readers and search engines. It improves accessibility, helps images rank in Google Images, and displays when an image fails to load. Good alt text describes the image naturally and includes relevant keywords only where they fit.

Advertisement