Skip to main content
BlogWebsite images

Image File Names for SEO: Naming Rules and Examples

Name images for SEO with examples for products, blog photos, and screenshots. Choose descriptive words, use hyphens, and check alt text before publishing.

Published: Updated: 3 min read
On this page
RenameClick suggests filenames from visible image content; you can edit them before applying.
RenameClick suggests filenames from visible image content; you can edit them before applying.

Give the file a short, descriptive name

For image filename SEO, use a short description of what the image shows. A useful naming convention starts with the subject, adds a distinguishing detail, and separates words with hyphens. Choose names before uploading them to your website.

Google describes filenames as a small clue about an image’s subject. It also uses the surrounding page and alt text, so the name should describe the image rather than repeat a list of search keywords.

Renaming alone does not establish that an image will rank better. It is one part of preparing the image and the page where it appears.

Read Google’s image SEO guidance.

Image filename examples and naming rules

These illustrative before-and-after examples use the image’s subject and a distinguishing detail.

Use caseBeforeDescriptive filename
Product front viewIMG_4829.jpgblue-ceramic-mug-front.jpg
Product detailIMG_4830.jpgblue-ceramic-mug-handle-detail.jpg
Blog photophoto1.jpgsourdough-loaf-before-baking.jpg
Support screenshotScreenshot 2026-09-14.pngcheckout-address-validation-error.png
  • Describe the subject and a useful distinction: the view, color, action, or setting. Product models and locations belong in the name only when known and relevant. Avoid unrelated sales, service, or city keywords.
  • Use hyphens between words. Google recommends them rather than underscores in URLs. Lowercase is a convenient convention to keep your links consistent; URL paths can be case-sensitive.
  • Keep the extension matched to the actual image format. Changing .jpg to .webp in a filename does not convert the image.

An AI description can be a starting point, but check it against the image: it can misidentify objects or invent a place.

See Google’s URL naming guidance for word separators and case sensitivity.

Use Slug Case in RenameClick

  1. Add the images to the Rename workspace.
  2. With the built-in instructions selected, choose Slug Case under Format.
  3. Choose the output language used on the website.
  4. Run analysis and inspect the suggestions.

For a custom format, $slugcase{$1} makes the AI description lowercase with hyphen separators. $lower{$1} only changes case and leaves spaces.

$slugcase{$1}

If you select Custom Instructions, put the final separator and language requirements in that prompt. The normal Format and Output Language controls are disabled in this mode.

See format patterns for the full reference.

Check before publishing

Read the suggested names alongside the images. Remove irrelevant details, correct product names, and keep filenames distinct. RenameClick preserves the extension; it does not compress images or convert formats.

Apply the selected names before uploading. If an image is already published, changing its filename changes its URL unless your publishing system handles it. Update references and redirects as appropriate for that site.

Write alt text in the context of the page

A filename is not a substitute for alt text. Write alt text where the image is published, according to its purpose on that page. A decorative image may need different treatment from a product photo or instructional screenshot.

RenameClick changes local filenames. It does not write HTML alt attributes, edit your CMS, or ensure that Google can discover the uploaded image.

See image renaming features for the full reference.

See image publishing recommendations for the full reference.