DEV Community

Cover image for I Used AI to Rename 71 Travel Photos for SEO — Here's What Happened
Luca Sammarco
Luca Sammarco

Posted on • Originally published at sammapix.com

I Used AI to Rename 71 Travel Photos for SEO — Here's What Happened

I came back from Sri Lanka with 71 photos — all named IMG_3570.JPG

Sixteen days of travel, 71 iPhone shots. Every single file with a generic name, from IMG_3570.JPG to IMG_5018.JPG.

If you've ever uploaded photos to a blog, portfolio, or e-commerce site, you know the problem: generic filenames are invisible to search engines.

Google Images can't understand what IMG_3570.JPG contains. But gangaramaya-temple-buddha-statues-colombo-sri-lanka.jpg? That ranks.

The problem: 71 files, zero SEO value

Here's what my camera roll looked like: IMG_3570.JPG, IMG_3572.JPG, IMG_3574.JPG, IMG_3583.JPG... 71 files total.

Manually renaming 71 photos with descriptive, keyword-rich filenames? That's easily 2+ hours of tedious work. I know because I've done it before.

The solution: AI reads the photo and names it
I built SammaPix AI Rename specifically for this. It uses Google Gemini to analyze what's actually in the image and generates an SEO-optimized filename.

Here are real before/after examples from my Sri Lanka trip:

🛕 Temples & Sacred Sites
IMG_3570.JPG → gangaramaya-temple-buddha-statues-stupa-colombo-sri-lanka.jpg
IMG_3583.JPG → gangaramaya-temple-interior-golden-buddha-colombo.jpg
IMG_3754.JPG → kelaniya-raja-maha-vihara-stone-carvings-gampaha.jpg
IMG_3843.JPG → dambulla-cave-temple-reclining-buddha-ancient-murals.jpg

🌿 Landscapes & Nature
IMG_3867.JPG → pidurangala-rock-panoramic-jungle-view-sigiriya.jpg
IMG_4155.JPG → nuwara-eliya-tea-plantation-misty-hills-sri-lanka.jpg
IMG_4458.JPG → nine-arches-bridge-ella-train-crossing-sri-lanka.jpg
IMG_4785.JPG → mirissa-coconut-tree-hill-ocean-sunset.jpg

👥 People & Culture
IMG_3622.JPG → maharagama-elephant-keeper-gentle-giant-sri-lanka.jpg
IMG_3765.JPG → colombo-pettah-market-street-electric-wires.jpg
IMG_4998.JPG → negombo-fisherman-traditional-boat-morning-catch.jpg

Every filename is descriptive (tells Google exactly what's in the image), keyword-rich (includes location, subject, and context), hyphenated (proper URL format for SEO), and unique (no two files have the same name).

Why filenames matter for SEO

Google's own documentation says image filenames are a ranking signal for Google Images. The filename is one of the first things Googlebot reads when crawling an image.

A study by Backlinko found that descriptive image filenames correlate with higher Google Images rankings. It's one of the easiest SEO wins — yet most people ignore it because renaming files manually is painful.

The technical approach
The AI Rename tool works like this:

Drop images into the browser (nothing gets uploaded to a server)

A compressed thumbnail is sent to Google Gemini Flash
Gemini analyzes the image content, identifies subjects, location cues, and context

It generates a slug-formatted filename optimized for SEO
Download the renamed files

💡 The key insight: the AI doesn't just describe the image — it generates a filename specifically structured for search engines. It uses hyphens, includes relevant keywords, and follows Google's recommended format.

Results: 71 photos renamed in under 3 minutes
The entire batch was processed in about 2.5 minutes. Each photo got a unique, descriptive filename that actually means something to search engines. For comparison: manual renaming would have taken ~2 hours. That's a 97% time saving.

The full workflow I use
For my travel photography, I chain three tools together:

🏷️ AI Rename → descriptive SEO filenames
📦 Compress → reduce file size by 60–70% without visible quality loss
🖼️ WebP Convert → modern format, additional 25–30% size reduction

Total processing time for 71 photos: about 5 minutes. All in the browser, no uploads to any server.

SammaPix AI Rename is free for 5 renames/day. The photos from this article are in my Sri Lanka portfolio.

What's your current workflow for naming image files? I'm curious if anyone else has automated this.

Top comments (0)