Home
Categories
Free Tools
Write For UsAbout UsContact

Image SEO for Bloggers: File Names, Alt Text and Compression

Image SEO for bloggers made simple: write descriptive file names and alt text, pick the right format, compress for speed and help Google index your...

October 28, 2026 Updated November 4, 2026 6 min read
Image SEO for Bloggers: File Names, Alt Text and Compression

Key takeaways

  • Alt text is the key image signal: describe what the picture shows, in plain language, without stuffing keywords.
  • Use short, descriptive file names with hyphens, such as red-silk-saree-draping-steps.jpg, not IMG00023.JPG.
  • Use real img elements with a src attribute, because CSS background images are not indexed as content images.
  • Compress and size images for the display width, and use WebP or AVIF where your setup supports them.
  • Place images near the text they illustrate and keep a fallback src when using srcset or picture.

Google calls alt text the most important piece of image metadata, and its own example is refreshingly plain: “Dalmatian puppy playing fetch” works, while a string of stuffed keywords does not.

Images do double duty on a blog. They make a post easier to read and share, and they can bring visitors from Google Images and Discover. They are also often the heaviest part of a page, so careless handling slows everything down. This guide covers the habits that matter: file names, alt text, the right formats, compression, placement and the technical details that decide whether Google can actually find your pictures.

File Names: Say What the Image Shows

Google recommends descriptive file names because they give a small hint about the subject. A name like my-new-black-kitten.jpg is more useful than IMG00023.JPG. Use lowercase words separated by hyphens, keep it short, and avoid dates, camera codes or long keyword strings.

Weak file nameBetter file name
IMG_4021.JPGdiwali-rangoli-peacock-design.jpg
image-final-new2.pngcore-web-vitals-lcp-chart.png
best-cheap-seo-tips-blog-seo-tips-2026.jpgblog-seo-checklist-on-laptop.jpg

Rename files before you upload them. Changing a file name later creates a new URL and can break existing embeds unless you update and redirect properly.

Alt Text: Describe, Do Not Stuff

Alt text serves people who use screen readers, shows when an image fails to load, and helps search engines understand the picture. Write it as a short, accurate description of what the image shows, in the context of the page.

  • Be specific: “Woman draping a red silk saree with pleats in hand” beats “saree”.
  • Keep it concise: one clear sentence is usually enough.
  • Add the keyword only if it fits naturally: never repeat it across every image.
  • Skip “image of” and “picture of”: screen readers already announce an image.
  • Leave decorative images empty: use alt=”” for purely decorative graphics so assistive tools can skip them.

Where an image contains important text, such as a chart or screenshot, add the key information in the surrounding text too, so no one depends on the picture alone.

Formats, Compression and Speed

Google Images supports BMP, GIF, JPEG, PNG, WebP, SVG and AVIF. In practice: use JPEG or WebP for photos, PNG for graphics that need transparency, SVG for logos and simple icons, and AVIF where your platform supports it. Because images are often the largest part of a page, compression directly affects loading speed and Core Web Vitals.

StepWhat to doWhy it matters
ResizeExport at the largest size the layout actually showsAvoids sending pixels nobody sees
CompressUse a quality setting that looks clean at normal viewingCuts file weight, improves LCP
ConvertUse WebP or AVIF where supportedSmaller files at similar quality
Lazy-loadLoad below-the-fold images on demandSaves bandwidth; never lazy-load the hero
Set dimensionsAdd width and height attributesPrevents layout shift (CLS)

Responsive Images

Use srcset or the picture element so phones receive smaller files. Always include a regular src as a fallback so Google and older browsers can still find a usable image URL.

Help Google Find and Understand Your Images

  • Use the img element with src: Google does not index CSS background images as content images.
  • Place images near relevant text: the surrounding words, headings and captions provide context.
  • Write helpful captions where they add information, since people read captions closely.
  • Use an image sitemap if images load in ways that are hard to crawl, or if you want to list extra ones.
  • Keep image URLs stable and crawlable: do not block them in robots.txt.
  • Respect rights: use images you own or have permission to use, and credit where required.

For Discover and social sharing, also make sure your featured image is large and clear. We cover the exact Discover guidance in a separate post.

A Quick Image SEO Checklist

Before publishing, scan each image for five things: Is the file name descriptive? Is the alt text accurate? Is it sized and compressed? Does it have dimensions set? Is it close to the text it supports? An audit of your 20 most-visited posts with this checklist usually finds easy wins, especially oversized hero images and missing alt text.

Related readGoogle Discover Optimization: How Blogs Get FeaturedRead →

Free tools for SEO

FAQs

Does alt text help SEO?

Yes. Google describes alt text as the most important metadata for images, because it helps explain the picture to search engines and to people using screen readers. Write a short, accurate description in natural language, and add a keyword only when it genuinely fits. Stuffing keywords harms readability and is not helpful. Check the alt text in your editor after uploading, because many themes leave the field blank by default and never warn you.

How long should alt text be?

There is no fixed limit, but one clear sentence is usually enough. Aim to describe what is visible and why it matters on the page, without starting with “image of”. Keep it concise so screen reader users are not slowed down, and leave decorative images with an empty alt attribute. If the image is a chart or screenshot, also summarise its main message in the nearby paragraph so the information is not locked inside it.

Which image format is best for a blog?

Use JPEG or WebP for photos, PNG when you need transparency, SVG for logos and icons, and AVIF if your platform supports it. Smaller modern formats help speed, but pick one that all your readers’ browsers can handle and keep a fallback in your markup where needed. Test the final file on a mobile connection too, since a format that looks fine on a laptop can still load slowly on a phone.

Do file names really matter for image SEO?

They matter a little. A descriptive file name gives Google a small clue about the subject, and it helps you organise your media library. Use lowercase words separated by hyphens and keep it short. It will not rescue a poor page, but it is a free habit that costs nothing. If you must change an existing file name, upload the new file, update the post and keep the old URL working so nothing breaks.

Why are my images not appearing in Google Images?

Common causes include images inserted as CSS backgrounds, blocked URLs in robots.txt, pages that are not indexed, very small or low-quality files, and images lacking context. Check that the img element has a src, the page is indexed in Search Console, and the picture sits near relevant text. Also confirm the page itself is indexed, because an image on a page Google has not indexed has little chance of showing up.

Should I lazy-load every image?

No. Lazy-load images below the fold to save bandwidth, but do not lazy-load the main hero or other above-the-fold image, because that can delay Largest Contentful Paint. Keep width and height attributes on all images so the layout stays stable while pictures load. Check your theme settings as well, since some themes apply lazy loading to every image by default, including the one that matters most.

Small Image Habits, Big Page Gains

Image SEO is mostly about care: a clear name, an honest description, a sensible size and a fitting place on the page. Do those four things consistently and your pictures will help readers and search engines alike.

Pick your ten most-visited posts, compress every hero image, and rewrite any alt text that says only “image” or repeats your focus keyword.

Sources: Google Search Central: Google Images best practices; Google Search Central: Image sitemaps; web.dev: Optimize Largest Contentful Paint

Was this guide helpful?
Jenny Edwards
Written by

Jenny Edwards

Jenny Edwards is an SEO and Digital Growth Specialist with 5+ years of experience in Technical SEO, AI SEO, International SEO, and organic growth strategy. She helps businesses improve search visibility through data-driven SEO, content optimization, search experience improvements, and AI-focused search strategies. Her work focuses on helping brands grow through sustainable and future-ready digital marketing.

More from this author

Keep exploring

Have expertise to share? Write for WritoryBuzz.Read the guidelines and send us your pitch.
Become a contributor
Free tools

63 free tools for writers, SEOs and developers

Open one in your browser and start. Nothing to install, and your text stays on your device.

PrivateInstant resultsNo sign up
Write for us

Have expertise to share?

  • Original, well researched guides
  • Reviewed by our editors
  • 29 categories to publish in
Submit a guest post
© 2026 WritoryBuzz. All rights reserved.Back to top