Guide
Image Alt Text and Filenames for SEO
Image SEO that helps people and crawlers: alt text, filenames, and fast delivery.
Quick answer: Image SEO that helps search and people means descriptive filenames, accurate alt text, and fast, correctly sized files—not keyword stuffing. Fix dimensions and compression first (slow LCP images hurt experience signals), then polish names and alt. Surrounding page copy still matters more than clever IMG tags.
Pair good filenames and alt text with smaller files via the Image Compressor. Processing stays in your browser for normal use.
Search engines use surrounding text, captions, alt, and page relevance more than clever IMG tags alone. Treat images as content that must load quickly and describe something real. Rankings for “image SEO” queries still reward pages that answer the job—how to prepare files—not keyword-stuffed alt attributes.
Free online tool
Try our Image Compressor
Reduce image file size while keeping good visual quality.
File names that match the subject
Prefer schengen-visa-photo-example.jpg over DSC04561.jpg. One clear phrase is enough—do not write keyword-keyword-keyword.webp. Hyphens are fine; long spammy strings are not.
Alt text for people first
Describe the image purpose or content for screen readers and images-off contexts. Decorative images can use empty alt. Do not dump synonym lists into alt. If the caption already says everything, keep alt short and non-redundant.
Dimensions, format, and compression
Serve near the display size, use WebP/JPG for photos, and compress after resize with the Image Compressor. Slow LCP images hurt rankings indirectly via experience signals. A correctly named 3 MB hero still fails the user.
Context on the page
Put important images near relevant headings and captions. A lone stock photo with no related copy rarely ranks for anything useful. For how-to topics, show the actual crop, KB readout, or before/after that matches the steps.
Structured data and image search
Product or recipe pages may warrant structured data that references images. Blog guides usually do not need ImageObject markup for every illustration—focus on crawlable HTML, sensible srcset/width hints where your stack supports them, and honest Open Graph images for shares.
What we see when preparing real uploads
When we compare “optimized” blog posts that still use 2 MB heroes, Google PageSpeed flags LCP long before alt text quality matters. Fix weight and dimensions first; then polish names and alt. For placement sizes, see Best image size for blog posts and websites.
On IMG Free Toolkit posts, we also avoid inventing review stars or fake sameAs profiles in schema—trust signals should match the real About page and privacy policy.
Related: alt text examples · pixel size cheat sheet.
Worked example: one blog figure that can rank in image search
You are illustrating “Schengen visa photo size.”
- Create or crop a clear diagram/photo that shows the 35×45 frame.
- Filename:
schengen-visa-photo-size-35x45.jpg(notfinal-final.png). - Alt text: describe what is in the image—“Example Schengen visa photo frame 35 by 45 millimeters”—not keyword stuffing.
- Compress so the page stays fast; slow pages undermine any image SEO work.
- Place the figure near the relevant heading and caption it in visible text.
Image SEO is on-page clarity plus performance. Markup helps; a huge unlabeled screenshot does not.
FAQ
Does alt text alone rank images?
No. Alt helps accessibility and provides a text signal, but page relevance, crawlability, and speed still dominate.
Should every image be WebP?
For your own site, often yes for photos. Keep PNG for sharp UI with transparency. Convert when third-party forms reject WebP (WebP to JPG).
Is keyword stuffing in filenames still useful?
No. One descriptive phrase is enough. Over-optimized names look spammy and do not compensate for thin page content.
Final thoughts
Image SEO is clarity plus performance. Name honestly, describe accessibly, and ship bytes that match the layout—using Image Resizer and Image Compressor before publish.