Image SEO: File Names, Alt Text and Sizes That Help Google and Visitors
Images make a website feel real. They also have two quiet effects on search. Large, heavy images slow your pages down, and badly labelled images give Google no idea what they show. Done well, images help people trust you, help Google understand your page, and can even bring visitors from Google Images. The good news is that the basics are simple.
Start with a good file name
Cameras and phones give files names like IMG_4821.jpg. Google cannot learn much from that. Rename the file before you upload it, so the name describes the picture.
- Use short, clear words: teh-tarik-cafe-pj.jpg is better than IMG_4821.jpg.
- Use lowercase letters and hyphens between words. Avoid spaces and special characters.
- Describe what is in the picture. Add the place name only if it is true and useful.
- Do not stuff many keywords into the name. Keep it natural.
Write helpful alt text
Alt text is a short written description of an image. It has two main jobs. First, it helps people who use screen readers, because the software reads the alt text aloud. Second, it helps Google understand the picture. It also shows up if the image fails to load.
Good alt text is simple and honest. Describe what the image shows, as you would to a friend on the phone.
- Good: "Technician cleaning an aircond unit in a living room"
- Weak: "aircond"
- Bad: "aircond service PJ cheap aircond KL best aircond service"
Keep it short, usually a single sentence. Include a keyword only if it fits naturally. If an image is purely decoration, such as a divider line, the alt text can be left empty so screen readers skip it.
Use images that are the right size
A phone photo can be several megabytes. If you upload it as it is, the page takes a long time to load, especially on mobile data. You do not need that much detail on a web page.
- Resize the image to the largest size it will be shown at. A full-width banner may need a wide image, while a small product thumbnail needs far less.
- Compress the file so it is as light as possible while still looking sharp.
- Check your page on a phone. If images take a moment to appear, they are probably too heavy.
Choose the right format
- WebP. A modern format that usually gives smaller files than JPEG or PNG at similar quality. It is supported by current browsers and is a good default for most pictures.
- JPEG. Still good for photos, and widely supported.
- PNG. Useful for logos and graphics with sharp edges or see-through backgrounds, but files can be big.
- SVG. Best for simple logos and icons, because it stays sharp at any size and is tiny.
Many website builders and plugins can convert images to WebP automatically. Check your settings before doing it by hand.
Load images wisely
Lazy loading means images further down the page only load when the visitor scrolls near them. This makes the top of the page appear faster. Most modern platforms support it. Do not lazy-load the main image at the very top of the page, because that should show up first.
Use real photos when you can
Customers can tell the difference between your real shop, food or team and a generic stock picture. Real photos build trust, and they are also unique, so they are more likely to stand out in Google Images. If you use stock or AI-made images, make sure they fit the story and do not mislead people about what you sell.
Help Google Images find you
- Place images near text that explains them. Surrounding words give extra context.
- Add a short caption when it helps the reader.
- Make sure Google is allowed to crawl your images and that they are not blocked by your site settings.
- Include your images in a sitemap if your platform offers this.
- Keep the image address stable. If you rename or move it often, Google has to start again.
Not every business will get many visitors from image search. Shops, restaurants, interior designers, florists and product sellers are more likely to benefit, since people often look at pictures before they buy.
A quick checklist before you upload
- Is the file name clear and in lowercase with hyphens?
- Is the image resized and compressed?
- Is it in WebP, JPEG or another suitable format?
- Does it have honest alt text?
- Does it help the reader understand the page?
Want us to check how your images are slowing your site? Talk to us.
Want this done for your business?
SNS Premium Digital is a data and AI marketing agency in Petaling Jaya. SEO, social media, ads and AI content, with clear monthly reports.
Get a free consultation