}
Alt text is the short written description held in the alt attribute of an image. Its first job is accessibility, because screen readers announce it to people who cannot see the picture. Its second job is search: Google describes alt text as the most important attribute for giving it information about an image, and reads it together with the file name, the surrounding text and what its own computer vision detects.
Good image alt text best practices are therefore easy to state. Describe what the image shows and why it is on the page, in one plain sentence, in the language of the page, without stuffing keywords. The rest of this guide covers the detail: length, decorative images, file names, formats, lazy loading, image sitemaps, multilingual sites, product photography and how to audit alt text across thousands of pages.
In this article
Alt text, short for alternative text, is the value of the alt attribute on an HTML img element. People often call it an alt tag, which is not technically correct since it is an attribute and not a tag, but the two phrases mean the same thing in practice. An image of a sheet metal bending cell might carry alt="Automatic panel bender folding a steel sheet".
The attribute exists so that the information in a picture is still available when the picture is not. Screen readers announce it, browsers show it when images fail to load, and crawlers use it to understand what the image contributes.
Accessibility comes first, and in the UK it has a legal dimension. Public sector websites must meet the WCAG 2.2 AA standard under the 2018 accessibility regulations, and gov.uk reminds all service providers of their duty to make reasonable adjustments under the Equality Act 2010. Writing for the person who cannot see the image is also the most reliable way to write alt text that search engines understand.
Yes, in two ways that are worth separating. The direct effect is on image search. Google states that alt text is the most important attribute for providing metadata about an image, so pictures without it are harder to rank in Google Images and in the image blocks that appear inside ordinary results.
The indirect effect is on the page itself. Alt text adds a little context to the page, and when an image is used as a link, its alt text works as the anchor text of that link.
What alt text will not do is lift a weak page. It is one signal among many, and filling it with keywords is treated by Google as a poor experience that may cause a site to be seen as spam. Think of alt text as part of the basic hygiene covered on our SEO service page, alongside clean titles, sensible URLs and a page that answers the search. Our guide to the five key areas of SEO shows where image work sits among the other priorities.
Google does not rely on one signal. Its documentation explains that it uses alt text together with computer vision and the contents of the page to understand what an image shows.
The page around the image is underrated. Google advises placing images near relevant text and on pages related to the subject of the image. A photograph of a filling pump placed beside the paragraph that explains it is far easier to interpret than the same photograph lost in a gallery with no words around it.
There is also a technical condition. Google indexes images placed with an img element and its src attribute. Images loaded as CSS backgrounds are not indexed, so a hero photo set as a background will never appear in image search, whatever text you put near it.
Start from one question: if you were describing this image over the phone to someone who needs the information, what would you say? That sentence, trimmed, is usually the alt text. Google's own example makes the point well. A string of puppy-related keywords is labelled bad, "puppy" is better, and "Dalmatian puppy playing fetch" is the best version because it describes the actual image.
A few working rules help:
When an image is a link or a button, describe the action or the destination, not the picture. A magnifying glass icon used to open search should say "Search", not "Magnifying glass".
Google does not publish a character limit for alt text, and WCAG does not set one either. The figure of 125 characters that circulates online comes from the behaviour of older screen readers and is only a convention. What matters is that the description is complete and as short as it can be while staying complete.
For most photographs that means one sentence. A listener cannot skim a screen reader, so a paragraph of alt text becomes an obstacle. If an image needs more explanation, as charts, technical drawings and infographics often do, keep the alt text to a summary such as "Bar chart of export sales by country, 2024 to 2026" and put the actual figures in the page text or in a table.
Not every image deserves a description. A decorative divider, a background texture, a stock photograph used only for mood or an icon that repeats the label beside it adds nothing when read aloud. The W3C accessibility tutorials recommend an empty alt attribute, written alt="", for these images, so that assistive technology passes over them in silence.
An empty alt is different from a missing alt. When the attribute is left out altogether, some screen readers announce the file name instead, which is how users end up hearing "IMG underscore 4471 dot jpg".
A quick test helps you decide. If you removed the image, would the reader lose any information? If not, give it an empty alt. If yes, describe what they would lose.
"Image titles for SEO", a phrase common in older guides, matters less than people think. If you have context worth sharing, such as where a photo was taken or which client the machine was built for, put it in a caption that everyone can see.
Google recommends file names that are short but descriptive and warns against generic names such as image1.jpg or pic.gif. A name such as stainless-steel-dosing-pump.jpg tells a crawler something useful before it opens the file.
Use lower case words joined by hyphens, avoid spaces and special characters, and keep the name consistent with the alt text without being a copy of it. The same logic applies to the folders in the image path, so the advice on URL structure applies to images as much as to pages.
Renaming files on a live site changes their URLs, so fix names going forward and rename existing images only where the gain is clear.
Google Search supports images in BMP, GIF, JPEG, PNG, WebP, SVG and AVIF formats, and asks that the file extension matches the actual type of file. WebP and AVIF usually give lighter files than JPEG, while SVG suits logos and icons.
Weight matters more than format. The largest image above the fold often decides Largest Contentful Paint, one of the Core Web Vitals. Google's threshold for a good LCP is 2.5 seconds or less. A few habits keep images light:
For image search, Google also prefers high resolution, representative images and advises against extreme aspect ratios.
Not when it is done properly. The browser's built-in method, the loading="lazy" attribute, keeps the full img element with its src in the HTML, so Google can still find the image.
Problems come from two situations. The first is script-based lazy loading that inserts the image URL only after a scroll or a click. Google's guidance is that content must load when it becomes visible in the viewport, because Googlebot does not scroll or click. The second is lazy loading the main image at the top of the page. Google says not to lazy load content that is likely to be visible as soon as the page opens, and doing so usually slows LCP.
The rule is easy to apply. Load the first visible image normally, lazy load everything further down, and use the URL Inspection tool in Search Console to confirm that the rendered page contains the images you expect.
An image sitemap helps Google discover images it might otherwise miss, such as pictures loaded by scripts or hosted on a separate domain. It can list image URLs from other domains, which is useful when images are served from a content delivery network, and each page entry can contain up to 1,000 images.
The format is simpler than it used to be. Google removed the caption, title, geo location and licence extensions from its documentation in 2022, so today an image sitemap only needs the image location inside each page entry.
If your images sit in normal img elements on crawlable pages, a standard sitemap is usually enough.
Translate it, every time. Alt text left in English on a French or German page is a gap for readers and for crawlers, and it is one of the strings most often forgotten in translation briefs. Google also says that localised images should have translated file names where possible, encoded correctly when they use non-Latin characters.
The trap is technical. Many content management systems store an image once in a media library, with one alt text, and reuse it across every language version. Check whether your platform allows alt text per language. If it does not, set the alt text in the page content of each version, not in the media library.
Translation is not always enough. A machine that is called one thing in British English may have a different trade name in German or French, and the alt text should use the word a local buyer would search for. Our guide to setting up an international SEO strategy covers that research. At Mintense, native speakers in London, Lille and Verona write and check these strings as part of each language version, across 16 languages. If you are expanding into specific markets, our articles on SEO in Germany and quick wins in international SEO show where image text fits among the other fixes.
Product photography is where alt text earns the most. People search for products by name and by variant, and image results often send buyers straight to a product page. Describe each image the way a customer would name the item, including what makes it different from its siblings: colour, size, material, model number or capacity.
Product pages usually have several images of the same item, and each one should say what is different about that view. "Front view of the 40 litre stainless steel tank" and "Outlet valve detail of the 40 litre stainless steel tank" are both useful.
On large catalogues, alt text is often generated from product data. That is reasonable as a starting point, provided the template uses the right fields and the output is checked. A template that writes "Product image" on every product page is a common finding in audits. For multilingual shops, the template must pull the translated product name for each language.
Google Images ranks pictures using the signals described above, with the page around the image carrying a lot of weight. Google says that the content and metadata of the page strongly influence how and where an image appears. An image on a thin page with a generic title is unlikely to rank, however well its alt text is written. In Search Console, the Performance report can be filtered to the Image search type, so you can see which pictures already earn impressions and clicks.
AI features in Google Search, such as AI Overviews and AI Mode, work from the same index. Google states that there are no additional requirements and no special markup needed to appear in them, and that the usual SEO practices apply. Its guidance for these features also recommends supporting your text with high quality images and videos where they are relevant. Google does not document exactly how images are chosen for AI answers, so treat any claim of a special "AI image optimisation" with caution. What helps is what already helps image search: an indexable img element, accurate alt text, a clear file name and a page that is about the subject.
Voice assistants work the same way, as our article on optimising for voice search explains.
The same errors appear on almost every site we review:
None triggers a penalty, but each one costs search visibility and usability.
On a site with hundreds or thousands of pages, alt text needs a structured process rather than a page-by-page reading. A practical audit runs in five steps:
Badly described images usually come with other maintenance gaps. Our articles on link building strategy and on choosing the right SEO agency will help you plan the next step, and the team behind our SEO service can run the whole review for you. For background, Google's own image SEO best practices are worth reading in full.
In everyday use, yes. Strictly speaking alt is an attribute of the img element, and alt text is the value written inside it. Many content systems still label the field "alt tag". Whatever you call it, the job is the same: a short written alternative that a screen reader announces and a search engine reads to understand the picture.
As many as describe the image honestly, which is often one and sometimes none. If a photo shows a stainless steel dosing pump and that is the term your buyers search for, the words belong in the alt text because they are true. If the photo shows your team at a desk, adding service keywords helps nobody. Google's own documentation treats keyword stuffing in alt attributes as a poor experience that may cause a site to be seen as spam.
No. There is no penalty for missing alt text, and treating it as one leads to rushed bulk fixes that write poor descriptions. What you lose is the chance to rank those images, a little context for the page and, for anyone using a screen reader, access to the information in the picture. Fix it in order of value, starting with product and service pages.
No, and in most cases you can leave the title attribute out. It only shows a tooltip on hover, does not work on touch screens and is not reliably announced by screen readers. Where it is announced, a copy of the alt text means the same sentence is read twice. If there is extra context worth sharing, such as the location of a project or the name of a client, put it in a visible caption that every visitor and every crawler can read.
Yes, as a first draft, provided a person checks the output. Image recognition tools describe what they see, but they do not know why the image is on the page or what your buyers call the product. Use them to fill gaps on large catalogues, then review the pages that matter commercially by hand, and make sure each language version gets its own description written or checked by a native speaker.
It depends on the job the image does. A logo that links to the home page needs alt text describing the destination, usually the company name. An icon that is the only content of a button needs a label that says what the button does. An icon placed next to a text label that already says the same thing is decorative and should be hidden from assistive technology. Google can index SVG files in img elements, so the usual rules on file names apply too.
Changes are picked up when Google recrawls the pages, which can take days for frequently visited pages and weeks for deep ones. Gains in image search usually appear first, and they are easiest to measure in Search Console by filtering the Performance report to the Image search type. The effect on the ranking of the page itself is modest, since alt text is one signal among many.