Your camera calls the file IMG_4023.jpg. Your phone calls it something equally forgettable. If you upload it as is, you’ve handed search engines an image with zero context in its name. Renaming takes ten seconds and is one of the easiest image SEO wins around.
Why file names matter
Search engines can’t just look at an image and know what it is, at least not perfectly. They rely on clues: the alt text, the caption, the surrounding paragraph, the page title and the file name. The file name is a small signal, but it’s free, and it also shows up in places like image search results and when someone saves your picture.
The simple rules
- Describe the image. What would you type to find it? Use those words.
- Use hyphens between words. Google’s own guidance recommends hyphens over underscores because it treats hyphens as word separators.
- Stay lowercase. Some servers treat Photo.jpg and photo.jpg as different files, which breaks links.
- Avoid spaces and special characters. Spaces turn into %20 in URLs, which looks messy and can cause errors.
- Keep it short. Three to five words is plenty.
- Don’t stuff keywords. It reads as spam and doesn’t help.
Before and after
IMG_4023.jpgbecomesgolden-retriever-puppy-in-garden.jpgScreenshot 2026-03-14 at 10.22.45.pngbecomesresize-tool-width-height-settings.pngfinal_FINAL_v3 (1).jpgbecomeshandmade-ceramic-mug-blue-glaze.jpgbest-cheap-cheap-image-resizer-free-resize-photo.jpgbecomesonline-image-resizer-interface.jpg
Match the name to the page
The file name should fit the topic of the page it appears on. A photo of a laptop on a post about resizing images could be named resizing-image-on-laptop.jpg. Context helps search engines connect the dots. It also keeps you organized, since you’ll be able to find the file again later.
Rename before you upload
Do this before the upload, not after. Once an image is live on a page, changing its name changes its URL, which can break the image everywhere it’s been used. If you rename a published image, replace it in the post properly rather than renaming it in your media folder.
A good workflow
- Resize the image to the size you actually need. See how to resize without losing quality.
- Name the file descriptively as you save it.
- Upload it and write alt text. Our alt text guide has examples.
- Add it to the page near text that discusses the same topic.
Frequently asked questions
Will renaming files alone boost my rankings?
Not by itself. It’s one signal among many, and a modest one. But combined with proper alt text, a fast-loading file and relevant page content, it adds up.
Should I rename old images?
For new uploads, always. For old ones, it’s rarely worth the risk of breaking links unless you’re already rebuilding the page.
When you download your resized image from our image resizer, take a moment to rename the file before it goes anywhere else. Your future self will thank you.
