Skip to content

Image SEO: Alt Text, File Names and Compression Explained

Image SEO means setting up your images so Google can read them and your pages still load fast. You do that with three things: a clear file name, short alt text (a written description of the image), and a smaller file size.

You already know how to show your work with a strong photo or a clean diagram. But Google can’t see an image the way a client does.

It reads clues instead, and this guide shows you how to set them up.

What Is Image SEO and Why Does It Matter?

TermMeaning
Image SEOSetting up your images so search tools can understand them. It also keeps the files small enough that your pages load fast.

Image SEO helps search tools understand your pictures. It also helps your pages load faster.

Search tools can’t look at a photo the way a person does. They read clues instead: the file name, the alt text, the words around the image, and the file size.

Image SEO is one small piece of SEO overall. More exactly, it sits under on-page SEO, the work you do on the page itself.

Search tools find images the same way they find pages. Our guide on how Google works explains that process step by step.

Picture a personal trainer who publishes a guide to a beginner workout. The trainer uploads a great photo straight from a phone, and the file weighs several megabytes under the name IMG_4032.

Readers see a perfect photo. Search tools see a slow, unlabeled file.

So why does this matter? Image SEO pays off in three ways.

More Visibility in Image Search

Clear names and alt text give your pictures a chance to show up in image search, the part of search that shows pictures first. A reader who finds your diagram there can click through to your page.

Faster Pages

Big image files slow a page down. Page speed, meaning how quickly a page loads, matters most on phones and slow connections.

A slow page can lose a visitor before they see your expertise.

Better Access for Everyone

Alt text helps people who can’t see an image understand it. That makes your page easier to use for everyone, and it shows care for your readers.

How Do You Write Good Alt Text?

TermMeaning
Alt textA short written description of an image. Screen readers read it aloud, and search tools use it to understand the picture.

Good alt text describes what the image shows in one short, plain sentence. It helps people who can’t see the image, and it helps search tools understand it.

A screen reader is a tool that reads a page aloud for people with low vision. When it reaches your image, it reads the alt text instead.

Search tools read that same text. So one good sentence serves both audiences.

How to Write Alt Text

Follow these steps for every meaningful image:

  1. Look at the image and ask what it shows.
  2. Describe it in one short, plain sentence.
  3. Add your keyword only if it fits naturally.
  4. Read it aloud, and rewrite it if it sounds odd.

What to Avoid

Skip keyword stuffing, which means repeating your keyword again and again to please search tools. It reads badly for people, and search tools treat it as a poor practice.

Skip openers like “image of” or “picture of.” Screen readers already announce that an image is there.

Never leave alt text blank on an image that carries meaning. Purely decorative images, like a divider line, can carry empty alt text so screen readers skip them.

Here’s how weak and strong alt text compare for three common professional images.

ImageWeak alt textStrong alt text
A trainer showing a squatsquatPersonal trainer showing a beginner the correct squat position
An engineer’s project diagramdiagram imageDiagram of a simple bridge truss showing how weight travels through it
A consultant’s portraitbest consultant business consulting expertPortrait of a business consultant smiling at a desk

The strong versions say what the image shows. They also sound natural when a screen reader says them aloud.

The weak versions either say too little or stuff in extra words. The third one shows keyword stuffing in action.

How Should You Name Your Image Files?

TermMeaning
File nameThe name of the image file, like squat-form-guide.jpg. Search tools read it as a first clue about what the image shows.

Name each file with a few plain words that describe the image. Use lowercase letters and put hyphens between the words.

Phone cameras and design tools create names like IMG_4032 or Final-NEW-2. Those names tell search tools nothing.

Hyphens work best because search tools read them as word breaks. Underscores can join words together, and spaces can turn into messy characters in a web address.

That last point matters more than it seems. Your file name becomes part of the image’s web address, so the same clean habits apply. Our guide on URL structure best practices covers them.

Here’s how bad and good file names compare.

File nameWhat’s wrongBetter name
IMG_4032.jpgSays nothing about the imagebeginner-squat-form.jpg
Final Photo NEW 2.JPGSpaces, capitals, and no cluehome-office-desk-setup.jpg
squat_squat_gym_best-squat.jpgRepeats words and mixes symbolssquat-form-guide.jpg

Keep names short and honest. Three to five words usually do the job.

Rename the file before you upload it. Changing a name after upload can break links to the old version.

How Do You Compress Images Without Losing Quality?

TermMeaning
Image compressionShrinking an image’s file size so it loads faster. Done well, the image still looks sharp.

Compression makes your image file smaller so your page loads faster. Done right, your readers can’t see the difference.

Photos from a phone or camera come out huge. An engineer who adds eight project diagrams to one post can end up with a page that crawls on a mobile connection.

Slow pages hurt more than reader patience. Page speed falls under technical SEO, and search tools notice it too.

Two Kinds of Compression

Lossy compression removes small details that the eye rarely notices. It gives the biggest drop in file size.

Lossless compression shrinks the file without removing any detail. The saving is smaller, but the image stays exactly the same.

For most photos on a blog, lossy compression at a moderate setting works well. For logos and sharp graphics, lossless keeps edges clean.

Why Size Matters as Well

File size also depends on dimensions, meaning how many pixels wide and tall the image is. Pixels are the tiny dots that make up an image.

A phone photo can be thousands of pixels wide. Your page may only show it at a fraction of that width.

So resize first, then compress. That order gives the best result.

Choose the Right Format

The format you save in changes the file size a lot. This table shows the four you’ll meet most often.

FormatBest forTrade-off
JPEGPhotosNo see-through backgrounds, and heavy compression blurs detail
PNGScreenshots, graphics, see-through backgroundsLarger files for photos
WebPPhotos and graphics at small file sizesSome older tools may not open it
SVGLogos and iconsNot suitable for photos

How to Compress an Image

Follow these steps before you upload:

  1. Resize the image to the width your page actually shows.
  2. Save it in a suitable format from the table above.
  3. Run it through a free image compressor, or use the export setting in your editing app.
  4. Zoom in and check that the image still looks sharp.
  5. Upload it and view the page on your phone.

Many website platforms also shrink images on upload. Check the result instead of assuming it worked.

There’s no single perfect file size. Aim for the smallest file that still looks clear, since a few hundred kilobytes is a common target for page photos.

Once your images are ready, Google Search Console shows how your pages perform in search. It’s a free tool from Google, and you can filter its results by search type, including image search.

A fast, clear page builds trust with new visitors. That trust brings clients, and income grows from there.

What Other Image SEO Details Should You Know About?

TermMeaning
Lazy loadingA setting that loads images only when a reader scrolls close to them. It keeps the top of your page fast.

Once the three basics are in place, four extras add polish: sizing, lazy loading, nearby text, and behind-the-scenes labels. You don’t need all four on day one.

Set the Right Dimensions

Tell your page how wide and tall each image is. That way, the layout holds still while images load, and the page doesn’t jump around under a reader’s thumb.

Most editors and website tools let you set this when you insert the image.

Use Lazy Loading

Lazy loading saves time on long pages. Images far down the page wait until the reader scrolls near them.

Skip it for the first image at the top of the page. Readers see that one right away, so it should load right away.

Add Captions and Useful Nearby Text

Search tools read the words around an image too. A short caption or a clear sentence next to the picture gives them extra context.

Good surrounding text comes from good writing. Our guide on how to write a blog post that ranks shows how to make each section clear.

Consider an Image Sitemap and Structured Data

An image sitemap is a file that lists your images so search tools can find them. Structured data is extra code that labels what a page contains, and our guide to structured data explains it simply.

Many website tools handle both for you. Treat them as a later step, not a first one.

What Is a Simple Image SEO Checklist to Follow Before You Publish?

TermMeaning
Featured imageThe main image at the top of a post. It often appears in search results and social shares.

Run five steps on every image: name it, size it, compress it, add alt text, and check it on your phone. The whole routine takes a few minutes per image.

Work through the steps in this order:

  1. Give the file a short, clear name with hyphens.
  2. Resize it to the width your page needs.
  3. Compress it and check that it still looks sharp.
  4. Add one short sentence of alt text.
  5. Preview the page on your phone.

Give your featured image the same care. Readers often meet it first, in search results or a shared link.

Here’s what “done” looks like for each check.

CheckWhat “done” looks like
File nameShort, lowercase, hyphens between words
SizeNo wider than the page needs
CompressionSmall file that still looks sharp
Alt textOne plain sentence that describes the image
Mobile checkThe page loads quickly and the image looks clear

Here’s one small action for this week. Open your most visited page and run this checklist on every image.

You’ll likely find at least one photo still named IMG followed by numbers. Fix that one first.

Important FAQs

These six questions come up most often from professionals starting out with image SEO.

Does Alt Text Really Help SEO?

Yes, alt text helps. It gives search tools a clear clue about what the image shows and what the page covers. It also makes your page easier to use for people with screen readers.

How Long Should Alt Text Be?

Keep alt text to one short, plain sentence. Say what the image shows and stop there. Long alt text reads badly aloud and starts to look like keyword stuffing.

What Is the Best Image Format for SEO?

Use JPEG or WebP for photos, PNG for graphics and screenshots, and SVG for logos. The best format is the one that gives a small file that still looks sharp. Check that your tools can open it.

How Small Should an Image File Be?

Aim for the smallest file that still looks clear. A few hundred kilobytes is a common target for page photos. Resize first, then compress, and check the result on your phone.

Should Every Image on My Page Have Alt Text?

Every image that carries meaning should have alt text. Purely decorative images can carry empty alt text so screen readers skip them. If you’re unsure, ask whether a reader would miss the image if it vanished.

Do I Need to Optimize Images If I Only Publish a Few Posts a Month?

Yes, and it helps more than you’d expect. The routine takes a few minutes per image. Each post you publish then starts with clean, fast images that build credibility.

What Should You Do Next?

TermMeaning
SEO auditA quick check of your site for problems that hold back your search results. It shows you what to fix first.

Start with one page. Pick your most visited page and run the checklist on every image.

Then run a basic SEO audit to see what else needs work. When you want the full path, follow Digital Grow Kit’s SEO for Beginners roadmap from the first step.

You already know how to show your work. Now you know how to help search tools see it too.

A fast, clear page earns trust with new visitors. Clients come from that trust, and income follows.

Leave a Comment