How to Name Images for SEO: Alt, Title, Filename & Figcaption (2026)

Updated for 2026: This guide now covers how AI-powered search engines like ChatGPT Search, Claude, and Perplexity interpret image metadata. We have also refreshed all best practices to reflect the latest Google Search documentation and Core Web Vitals standards.

Every image on your website is a ranking opportunity. When you learn how to name images for SEO, you unlock traffic from Google Images, improve your pages’ topical relevance, and make your content accessible to both humans and machines.

In this in-depth guide, we break down the four HTML elements that control how search engines understand your images: filenames, alt text, title text, and figcaptions. You will learn exactly how to write each one, see real-world examples, and walk away with a checklist you can apply to every image you publish.

If you manage a WordPress site with hundreds or thousands of images, doing this manually is not realistic. That is why we built the ImageSEO plugin, which uses AI to generate optimized alt text and filenames at scale. But whether you optimize by hand or with a tool, the principles below apply to every website.

Why Image SEO Matters in 2026

Image search is no longer a secondary channel. It is a major source of qualified traffic for e-commerce stores, publishers, and service businesses alike. Here are the numbers that make the case:

  • Google Images receives over 1 billion page views every day. That is a massive pool of potential visitors who are actively looking for visual content related to your products, services, or expertise.
  • Roughly one-third of all Google search queries return image results in the main web results, not just in the Images tab. Your images can appear in standard search without the user ever switching tabs.
  • Pages with optimized images are 50% more likely to appear in the top three positions of Google Images results compared to pages with generic or missing image metadata.
  • Images drive engagement. Articles with relevant images receive 94% more views than those without, and product pages with multiple optimized images convert at significantly higher rates.

The AI Search Engine Factor

In 2026, the landscape has expanded beyond traditional search. AI-powered search engines and assistants, including ChatGPT Search, Claude, and Perplexity, now crawl and index web content. These systems rely heavily on structured text signals like alt text and filenames to understand what an image depicts. When an AI assistant answers a question that involves visual content, properly named images with descriptive alt text are far more likely to be referenced and linked.

This means that optimizing your image metadata is no longer just about Google. It is about ensuring your visual content is discoverable across every platform where people search for information.

The 4 Key Image SEO Elements

Before we dive into the details, here is a quick overview of the four HTML attributes and elements you need to understand:

  • Filename – The name of the image file itself (e.g., blue-running-shoes-nike.jpg). Search engines read the filename before anything else.
  • Alt text (alt attribute) – A short text description inside the <img> tag that tells search engines and screen readers what the image shows.
  • Title text (title attribute) – A tooltip that appears when a user hovers over the image. It has minimal direct SEO impact but can improve user experience.
  • Figcaption – A visible caption displayed below the image, wrapped in <figure> and <figcaption> HTML elements. Figcaptions are indexed by search engines and read by users.

Each element serves a distinct purpose. The most important ones for SEO are the filename and the alt text. Let us start with filenames.

How to Name Images for SEO

The filename is the first piece of information a search engine encounters about your image. It is baked into the URL, which means it is permanent, public, and crawlable. Getting it right from the start saves you from painful redirects later.

Why Filenames Matter for SEO

When Googlebot discovers an image, it reads the file path and name to form an initial understanding of the image content. Google’s own image SEO documentation states that filenames can give Google clues about the subject matter of the image.

Consider the difference between these two URLs:

  • example.com/images/IMG_20260301_1847.jpg – Tells search engines nothing.
  • example.com/images/red-leather-handbag-front-view.jpg – Immediately communicates the subject, color, material, and perspective.

The second URL reinforces the page’s keyword relevance and gives Google Images a strong signal to rank that image for queries like “red leather handbag.”

Image Filename Best Practices

Follow these rules every time you name an image file:

  • Be descriptive and specific. Include the subject, relevant attributes (color, size, type), and context when useful.
  • Use hyphens to separate words. Search engines treat hyphens as word separators. Underscores are not treated the same way.
  • Use lowercase letters only. Some servers treat uppercase and lowercase URLs differently, which can cause duplicate content issues.
  • Include your target keyword naturally. If the page targets “blue running shoes,” a filename like blue-running-shoes-on-trail.jpg is ideal.
  • Avoid keyword stuffing. One to two keywords in the filename is plenty. Do not string together five keywords with hyphens.
  • Remove stop words when they add no meaning. “a,” “the,” “and,” “of” can usually be dropped to keep filenames concise.
  • Never use auto-generated names. Rename files like DSC0001.jpg, image1.png, or Screenshot 2026-03-15.png before uploading.

Image Filename Do’s and Don’ts

Do (Good Filenames) Don’t (Bad Filenames)
chocolate-chip-cookies-recipe.jpg IMG_4521.jpg
yoga-mat-purple-6mm.jpg product-photo.jpg
new-york-skyline-sunset.jpg photo_final_v2 (1).jpg
seo-audit-checklist-template.png screenshot-2026-01-15-at-10.32.png
white-ceramic-coffee-mug.jpg mug.jpg

How to Rename Existing Images in WordPress

If your WordPress media library is full of poorly named images, you have several options:

  • Use the ImageSEO plugin. The ImageSEO plugin for WordPress can bulk-rename image files and automatically generate descriptive filenames based on the image content and the page context. It also handles URL redirects so you do not lose any existing backlinks or image rankings.
  • Rename manually via SFTP. Download the image, rename the file on your computer, re-upload it, and update the reference in your post. This works for a handful of images but does not scale.
  • Use a media file renamer plugin. Several free plugins let you rename the file directly from the WordPress Media Library without re-uploading.

Whichever method you choose, make sure old image URLs redirect (301) to the new ones. Broken image URLs hurt both user experience and SEO.

Ideal Image Filename Length

There is no official character limit from Google, but best practice is to keep filenames between 3 and 8 words (roughly 20 to 60 characters). Longer filenames get truncated in some tools and become harder to manage. Shorter filenames may lack the descriptive detail search engines need.

A good rule of thumb: if you can describe what the image shows in five hyphenated words, that is usually the sweet spot for learning how to name images for SEO effectively.

Alt Text for Image SEO

Alt text is the single most important on-page element for image SEO. It is also a legal accessibility requirement in many jurisdictions. Getting alt text right serves both search engines and users with disabilities.

What Is Alt Text?

Alt text (short for “alternative text”) is a text attribute added to the HTML <img> tag. It describes the content and function of an image. Here is what it looks like in code:

<img src="blue-running-shoes.jpg" alt="Blue Nike running shoes on a forest trail">

When the image cannot be displayed (slow connection, broken URL, or email client blocking images), the alt text appears in its place. Screen readers also read alt text aloud to visually impaired users, making it essential for web accessibility.

Alt Text vs Alt Tag vs Alt Attribute

You will hear these terms used interchangeably, but there are technical distinctions:

  • Alt attribute – The technically correct term. It is an attribute of the <img> HTML element.
  • Alt text – The value (the actual description) you write inside the alt attribute. This is the most commonly used term and is perfectly acceptable.
  • Alt tag – Technically incorrect because “alt” is not an HTML tag, but this term is widely used in the SEO community. You will see it in keyword research tools and blog posts everywhere.

For practical purposes, all three terms refer to the same thing: the descriptive text you write for your image.

How to Write SEO-Friendly Alt Text

Writing effective alt text is a balance between being descriptive for accessibility and being strategic for SEO. Follow these guidelines:

  • Describe the image accurately. What does the image actually show? Be specific about subjects, colors, actions, and setting.
  • Include your target keyword once if it is relevant to what the image depicts. Do not force a keyword into alt text where it does not belong.
  • Keep it under 125 characters. Most screen readers cut off alt text after this length, and overly long descriptions lose their impact.
  • Do not start with “Image of” or “Picture of.” Screen readers already announce the element as an image. Starting with these phrases is redundant.
  • Be specific rather than generic. “Dog” is too vague. “Golden retriever puppy playing with a red ball in a backyard” is useful.
  • Consider the page context. The alt text should relate to the surrounding content and support the page’s topic.

Alt Text Best Practices With Examples

Here are real-world examples showing the difference between poor, acceptable, and excellent alt text:

Example 1: Product image

  • Poor: alt="shoes"
  • Acceptable: alt="running shoes"
  • Excellent: alt="Women's blue Nike Air Zoom Pegasus 42 running shoes, side view"

Example 2: Blog post image

  • Poor: alt="chart"
  • Acceptable: alt="SEO traffic chart"
  • Excellent: alt="Line chart showing 140% increase in organic traffic after image SEO optimization over 6 months"

Example 3: Decorative image

  • If an image is purely decorative (a background pattern, a divider line), use an empty alt attribute: alt="". This tells screen readers to skip it.

Alt Text and Accessibility (WCAG)

The Web Content Accessibility Guidelines (WCAG 2.2) require that all non-decorative images have meaningful alt text. This is not optional. In many countries, including the United States (under the ADA) and the European Union (under the European Accessibility Act), failing to provide alt text can expose your organization to legal risk.

Beyond legal compliance, accessible images make your site usable for the estimated 2.2 billion people worldwide who have some form of vision impairment. Good alt text is good SEO and good ethics.

For a comprehensive deep dive into alt text optimization, read our full guide: Alt Text for SEO: The Complete Guide.

Title Text for Images

The title attribute is the second text attribute you can add to an <img> tag. It looks like this:

<img src="blue-shoes.jpg" alt="Blue running shoes on a trail" title="Nike Air Zoom Pegasus 42">

When a user hovers their mouse over the image, the title text appears as a small tooltip. On mobile devices, it is generally not visible at all.

Does Title Text Affect SEO?

The title attribute has minimal direct impact on search rankings. Google has stated that it uses alt text as the primary text signal for images, and the title attribute is considered a secondary signal at best. However, there are situations where it adds value:

  • Additional context. If the image requires extra explanation that does not belong in the alt text, the title can provide it.
  • User experience. For infographics or complex images, a hover tooltip can help desktop users understand what they are looking at.
  • Links within images. If an image is wrapped in a link, the title attribute can describe the link destination, which is helpful for accessibility.

When to Use Title Text

Do not spend significant time crafting title attributes for every image. Instead, use them strategically:

  • Add title text to images that serve as navigation links.
  • Add title text to complex images like charts or diagrams where a brief hover explanation improves clarity.
  • Skip title text for standard content images where the alt text and figcaption already provide sufficient context.

If you use the ImageSEO plugin, it can automatically generate title attributes alongside alt text, saving you the manual effort.

Figure and Figcaption for SEO

The <figure> and <figcaption> elements are among the most underused image SEO tools. While filenames and alt text work behind the scenes, figcaptions are visible to readers and provide an additional text signal that search engines index.

What Are Figure and Figcaption?

In HTML, the <figure> element wraps self-contained content like images, diagrams, or code snippets. The <figcaption> element sits inside <figure> and provides a caption. Here is the markup:

<figure>
  <img src="seo-traffic-chart.png" alt="Organic traffic growth after image optimization">
  <figcaption>Organic traffic increased 140% in 6 months after optimizing image filenames and alt text across 200 blog posts.</figcaption>
</figure>

The <figure> element tells browsers and search engines that the image and its caption are semantically related. This is stronger than simply placing a paragraph below an image.

Why Figcaptions Boost SEO

Figcaptions provide measurable SEO and engagement benefits:

  • Search engines index caption text. Google reads figcaption content and uses it to understand the image and the surrounding page context. This gives you another opportunity to include relevant keywords naturally.
  • Users read captions. Eye-tracking studies have found that image captions receive approximately 60% more attention than regular body text. Readers are drawn to captions because they provide quick, contextual information about the visual.
  • Captions reduce bounce rate. When users see a helpful caption that explains an image, they are more likely to stay on the page and continue reading.
  • Accessibility improvement. Figcaptions provide visible context that benefits all users, including those who may not fully understand the image without additional explanation.

How to Add Figcaptions in WordPress

Adding a figcaption in WordPress is straightforward:

  • Block Editor (Gutenberg): Insert an Image block, then click on the “Add caption” area below the image and type your caption. WordPress automatically wraps it in <figure> and <figcaption> tags.
  • Classic Editor: Click on the image after inserting it, then use the caption field in the image editing toolbar. WordPress generates the correct HTML.
  • Manual HTML: If you prefer to write HTML directly, use the <figure> and <figcaption> markup shown above.

Tip: Your figcaption should not duplicate the alt text. The alt text describes what the image shows for accessibility. The figcaption provides additional editorial context, a data point, or a call to action for sighted readers.

How AI Search Engines Read Your Images

The rise of AI-powered search platforms has introduced a new dimension to image SEO. Understanding how these systems work helps you optimize for the full spectrum of search in 2026.

How AI Assistants Interpret Image Metadata

AI search engines like ChatGPT Search, Claude, and Perplexity use web crawlers to index content, similar to Googlebot. When these crawlers encounter images, they rely on text-based signals to understand visual content:

  • Alt text is the primary signal. AI systems parse alt text to determine what an image depicts and how it relates to the surrounding content.
  • Filenames provide secondary context. A descriptive filename reinforces the information from the alt text.
  • Figcaptions add editorial context. AI systems use captions to understand the significance of the image within the article.
  • Surrounding text matters. The paragraph before and after an image is analyzed to build a full picture of the image’s relevance.

Optimizing for AI Visibility

To maximize the chances that your images and associated content are referenced by AI search engines, follow these additional practices:

  • Use structured, factual alt text. AI systems favor precise descriptions over vague or promotional language. “Bar chart comparing 2025 vs 2026 e-commerce conversion rates by device” is better than “amazing results chart.”
  • Place images near relevant headings. AI crawlers use document structure to associate images with specific sections of content.
  • Include data and statistics in figcaptions. AI assistants frequently pull factual information from captions when generating answers.
  • Ensure images are crawlable. Avoid lazy-loading implementations that hide image URLs from crawlers. Use native lazy loading (loading="lazy") rather than JavaScript-only solutions.
  • Add structured data. Schema markup (such as ImageObject) can provide AI crawlers with additional metadata about your images.

The fundamental principle remains the same: describe your images accurately and thoroughly. What has changed is that the audience for those descriptions now includes AI systems that synthesize information across millions of pages.

Image SEO Checklist

Use this checklist every time you add an image to a page or blog post. It covers all the elements discussed in this guide.

  • Filename: Renamed from camera default to a descriptive, hyphenated, lowercase name (3 to 8 words).
  • Filename keyword: Target keyword included naturally in the filename when relevant.
  • Alt text written: Descriptive, specific, and under 125 characters.
  • Alt text keyword: Primary keyword included once without stuffing.
  • Alt text accessibility: Makes sense when read aloud by a screen reader. Does not start with “Image of.”
  • Decorative images: Use empty alt (alt="") for purely decorative images.
  • Title text: Added for linked images or complex visuals. Skipped for standard content images.
  • Figcaption: Visible caption added with editorial context, statistics, or a supporting statement.
  • Figcaption uniqueness: Caption does not duplicate the alt text.
  • File format: WebP or AVIF for photographs. SVG for icons and logos. PNG for screenshots with text.
  • File size: Compressed to under 200 KB for standard images. Use tools like ShortPixel, TinyPNG, or Imagify.
  • Lazy loading: Native loading="lazy" attribute added to images below the fold.
  • Responsive images: srcset and sizes attributes used to serve appropriate resolutions.
  • Surrounding content: The paragraph near the image references the same topic the image depicts.
  • Structured data: ImageObject schema added where applicable, especially for product images and infographics.
  • Old images audited: Existing images renamed and given proper alt text. 301 redirects in place for changed URLs.

If this checklist feels overwhelming for a site with thousands of images, the ImageSEO plugin can automate the filename, alt text, and title text steps in bulk.

Summary: The 4 Things You Need to Know

Knowing how to name images for SEO comes down to mastering four elements. Here is what to remember:

  1. Filenames are your foundation. Rename every image before uploading. Use descriptive, hyphenated, lowercase names that include your target keyword when relevant. The filename becomes part of the image URL and is the first signal search engines read.
  2. Alt text is the most important element. Write a concise, accurate description of each image. Include your primary keyword once, keep it under 125 characters, and make it meaningful for screen reader users. Alt text drives image rankings, supports page relevance, and is now read by AI search engines.
  3. Title text is a secondary signal. Use it selectively for linked images and complex visuals. Do not spend significant effort on title attributes for every image, but do not ignore them entirely on images where a hover tooltip adds genuine value.
  4. Figcaptions are the hidden advantage. Visible captions receive more reader attention than body text, they are fully indexed by search engines, and they give you another place to reinforce your content’s topical relevance. Use them on key images throughout every article.

Image SEO is not a one-time task. As you publish new content and update old pages, apply these practices consistently. The cumulative effect of well-named, well-described images across your entire site builds topical authority, drives image search traffic, and ensures your visual content is discoverable by both traditional search engines and AI-powered platforms in 2026 and beyond.

Our SEO Tool will grow your traffic

Why have you neglected images search engine optimization for so long ?

Try it for free
\n