Image File Naming for SEO: What Alt Text Alone Misses
Here's a guess: somewhere in your website's media library there's a file called IMG_4821.jpg, or Photo (12).png, or Screenshot 2026-03-11 at 2.47.11pm.png. We see it constantly, even on genuinely good-looking websites 💖 — and it's one of those invisible problems nobody warns you about, because nothing looks wrong on the page. It's wrong in the code, which is exactly where it quietly costs you visibility.
Most businesses treat alt text as the whole job
Alt text matters — for accessibility first, and for SEO second — and most website builders put a neat little "alt text" field right there when you click on an image, so that's the one thing people remember to fill in. But file name is a separate signal, sitting one step earlier, and it doesn't get its own friendly field in Shopify, Wix or Squarespace. You have to fix it before you upload, which means almost nobody does.
The result: a site with perfectly good alt text sitting on top of a pile of meaningless file names. Google Images, and increasingly AI-powered search, read both. Relying on only one of them is leaving a signal on the table.
[primary keyword]-[descriptor]-[location or brand, if relevant]-[variant].jpg
- Rename the file before you upload it — not after.
- Use lowercase only, and hyphens, never underscores or spaces.
- Lead with the most important word — search engines weight the earlier words more heavily.
- Keep it to around five or six words maximum.
- Don't keyword-stuff — "kitchen-renovation-gold-coast.jpg" is useful, "best-cheap-kitchen-renovation-company-near-me-gold-coast.jpg" reads as spam.
- Add a short variant tag when you've got multiples of the same subject:
-01,-02,-before,-after.
studio-booking-confirmation-what-to-expect.jpg, that same photo can also surface in Google Images for people researching before they commit — which, done well, is one more small nudge against last-minute cold feet.Screenshot2026-02-14.png tells search engines nothing; client-dashboard-case-study-results.jpg gives it a fighting chance of showing up when a prospect, deep in their research phase, searches for exactly that kind of result.pool-cleaning-gold-coast-winter-maintenance.jpg does double duty as a seasonal keyword and a genuinely descriptive file name — IMG_9983.jpg does neither.How file names actually feed SEO
A few mechanics worth knowing:
- Google Images treats the file name as a relevance signal, and leans on it more heavily when alt text is thin, missing, or generic (hello, "image1").
- The file name frequently becomes part of the image's own URL, which search engines parse the same way they parse a page URL.
- Descriptive names make your own media library searchable later — genuinely useful once you've got hundreds of images and need to find "that one photo" for a new page.
- If you ever build an image sitemap, descriptive file names make that exercise far less painful.
coffee-shop-courtyard-seating.jpg, alt text "Outdoor courtyard seating area with string lights in the evening."Mistakes to avoid
- Uploading straight from your phone or camera without renaming anything first
- Keyword-stuffing the file name with every service you offer
- Using spaces or underscores instead of hyphens
- Naming every image on a page the same thing with a number, like
image-1.jpg,image-2.jpg - Renaming a file after it's already uploaded, rather than before — some platforms keep the old file name cached in the URL
- Assuming naming fixes everything else — it won't rescue a slow-loading 8MB photo that should have been compressed anyway
Frequently asked questions
Does renaming an already-uploaded image file help?
Sometimes, but it's messier than doing it right the first time. Many platforms generate a new URL when you re-upload a renamed file, which can leave duplicate versions floating around or break links if the old URL was already linked or indexed elsewhere. It's usually best to fix your highest-traffic pages first, rather than re-doing an entire media library overnight.
Does file naming actually move the needle on rankings?
Honestly, on its own, not much — it's a supporting signal, not a silver bullet. A beautifully named file won't outrank a competitor with stronger content and more backlinks. It's one of those small, cumulative things worth doing properly because it's nearly free, not because it'll transform your traffic overnight.
Does the file format (jpg vs webp vs png) matter for the name itself?
Keep the two separate in your head — the descriptive words are about relevance, while format affects load speed and compression. Choose your format for performance reasons, and apply the naming formula regardless of which one you land on.
Do I need to rename every single image on my site right now?
No. Prioritise high-traffic pages, product or service images, and anything likely to turn up in Google Images searches — portfolios, before-and-afters, process photos. The rest can be fixed gradually as you update pages anyway.
Keep reading 🤍
I help Gold Coast and Brisbane businesses grow with branding, websites and marketing that actually works.
Work with me ✦