Alt text character limit: Google’s guidance explained

    Reviewing website images before publication? Alt text is an HTML attribute that provides a textual alternative to an image. Its length should follow the information the image contributes, not a keyword quota. Google’s documentation style guide recommends 155 characters or fewer, but Search’s image guidance does not establish that number as a universal ranking limit. Start with the image’s function, then choose the description.

    Franck Gordi, SEO and GEO consultant

    Franck Gordi

    · 7 min read

    Contact me
    Alt text

    Image function

    Text alternative

    Understanding

    Key takeaways

    • Alt text describes an image’s useful information; the right alternative depends on the image’s function within the page.
    • Google Images uses alt text alongside the page’s content and computer vision to understand the subject of an image.
    • Google’s documentation style guide recommends 155 characters or fewer, without establishing a universal alt text character limit for search rankings.
    • Decorative or redundant images can use empty alt text; an image acting as the only link label needs useful wording.
    • Complex charts need a brief alt summary and an accessible text explanation, rather than every detail packed into the attribute.

    Alt text, captions and filenames: what is the difference?

    Alt text supplies a textual replacement, a caption provides visible text beside the image, and a filename identifies the image resource. They can complement one another, but their jobs are different.

    SEO tools often use the expression “alt tag.” In HTML, alt is an attribute on an img element, not a standalone tag. A content editor’s alternative text field should therefore produce an alt attribute on the published image, rather than only a caption below it.

    The Google Images documentation says Google combines alt text, page content and computer vision to understand an image’s subject. Filenames provide a light clue. A meaningful filename does not replace a useful textual alternative.

    Is there a universal alt text character limit?

    The Google sources reviewed here do not set a universal alt text ranking cutoff. The Google documentation style guide recommends short, descriptive alt text of 155 characters or fewer. That is guidance for writing documentation, not evidence that one extra character causes a ranking loss.

    Separate three issues: the space available in your editor, the reader’s information needs, and the search engine’s guidance. An editor that truncates a description creates a tool constraint. A length warning in an audit identifies text to review. Neither observation establishes a Google penalty.

    For a detailed diagram or screenshot, summarize the useful information in alt text and explain the rest in adjacent text. Google’s accessible writing guide recommends this combination. Do not remove information a reader needs simply to make an audit counter turn green.

    How should the image’s function shape its alt text?

    Choose the alternative according to the image’s role on that page. An informative image needs a description, a decorative image needs empty alt text, and an image acting as a link needs understandable wording.

    Function before character count

    Inform
    Describe the useful information in the context of the page.
    Explain
    Summarize the chart in alt text and explain its details in accessible text.
    Navigate
    Give an image acting as a link an understandable label.
    Decorate
    Use empty alt text when the image adds no information or independent function.
    Operational decision grid based on Google’s image and accessible writing guides, not a claimed ranking effect.

    An informative image

    Describe what helps readers understand the subject. Google recommends useful, information-rich text that fits the page’s context. That does not mean listing every object, color or background detail. The right alternative follows what readers need to learn from this image, rather than its appearance alone.

    A complex image

    A chart, diagram or interface screenshot may convey more information than a short alternative can hold. Give its topic and useful conclusion in alt text. Put the necessary values, relationships or steps in a paragraph, list or accessible table. The explanation should remain understandable without inspecting the visual.

    A decorative or redundant image

    Google’s accessible writing guide recommends empty alt text for decorative images or images repeating information already expressed in text. This does not mean removing the attribute. Without alt text, a screen reader may announce the filename instead of ignoring the image. Before choosing an empty value, check that the image carries no unique information or action.

    An image inside a link

    Google says the alt text of an image used as a link serves as anchor text. When the image is the link’s only content, readers must be able to understand its destination. Do not classify it as decorative merely because it is an icon. If text already accompanies the link, review the complete label to avoid unnecessary repetition.

    Which alt text errors should you fix first?

    Fix alternatives that remove important information or make a link incomprehensible first. Then remove keyword stuffing and automatically generated descriptions that do not match the visual.

    A populated field can still be wrong

    Missing attribute
    Identify the image’s role before adding a description or empty alt text.
    Repeated keyword
    Remove terms that do not describe the information in the image.
    Generic description
    Replace reused template text with an alternative suited to the context.
    Unlabeled link
    Check that the destination remains understandable without seeing the image.
    Suggested review order for published pages, not a ranking of Google search factors.

    Google explicitly warns that filling alt attributes with keywords creates a negative user experience and may cause a site to be seen as spam. Repeating the page’s main keyword in every image is not a sound optimization standard.

    Automatically generated descriptions also need review against the actual image. An interface, logo or chart should not receive text inventing a feature or result absent from the visual. The issue is not simply length: it is the accuracy of the information being communicated.

    Does good alt text make an image visible in Google Images?

    Not by itself. Alt text helps Google understand an image, but does not replace discovery and crawling. Google says it finds images in the src attribute of img elements and does not index CSS images.

    Check the resource separately from the description: does it exist, load and allow crawling? Is the image included in an img element? Does the page provide relevant context? A CSS background can be appropriate for decoration, but it is not the right implementation when the image needs to be indexed in Google Images.

    If important images are not discovered, the issue belongs to technical SEO, not only to alternative text writing. If several templates produce errors, an SEO audit can separate content problems from access problems.

    How do you check alt text before publication?

    Inspect the rendered page, not just the editor’s fields. Correctly entered alternative text can still be replaced or removed by a template.

    • Inventory important images and identify their function: information, explanation, navigation or decoration.
    • Check for an alt attribute on each img element; distinguish an empty value from a missing attribute.
    • Review the text alongside the visual and neighboring paragraph: does the alternative convey the right information?
    • For linked images, check the link’s label in the accessibility tree or with a screen reader.
    • For charts, confirm that a detailed text explanation exists and does not depend exclusively on the visual.
    • Compare French and English versions: alternative text should match the page’s language and the actual image used.

    Record the defect, the correction and the page to recheck. This standard supports content quality and maintenance; it does not promise ranking gains or additional AI citations.

    Frequently asked questions about alt text

    What is an alt attribute?

    The alt attribute on an HTML img element supplies a textual alternative to the image. Google Images uses that text alongside the page’s context and computer vision to understand the image’s subject. It is an attribute, not a separate HTML tag.

    Source: Google documentation

    What is the alt text character limit?

    Google’s documentation style guide recommends descriptive alt text of 155 characters or fewer. That is writing guidance for documentation, not an announced Search ranking cutoff. If an image contains more useful information, put a short summary in alt and the details in adjacent text.

    Source: Google documentation

    Should every alt include a keyword?

    No. Google recommends useful, information-rich text that fits the page’s context. A keyword can appear naturally when it describes the image. Filling alt attributes with keywords creates a negative user experience and may cause the site to be seen as spam.

    Source: Google documentation

    Can an alt attribute be empty?

    Yes. Google’s accessible writing guide recommends empty alt text for decorative images or images that duplicate information already expressed in the page’s text. An empty attribute is different from a missing one: without alt text, a screen reader may announce the filename.

    Source: Google documentation

    What alt text should a linked image use?

    Google says an image’s alt text is used as anchor text when the image is a link. The wording should make the destination understandable. When the image provides the only label for the link, empty alt text would remove useful navigation information.

    Source: Google documentation

    Does good alt text guarantee image rankings?

    No. Alt text contributes to image understanding, but Google also needs to discover and crawl the image. Google finds images in the src attribute of img elements and does not index CSS images. Alt text alone cannot guarantee inclusion in Google Images.

    Source: Google documentation

    Sources and scope

    Documentation reviewed on October 25, 2026. Search Central’s guidance concerns Google Images; the style and accessible writing guides concern writing and accessibility. The decision grid is an operational synthesis of those sources, with no client measurements or claimed SEO or GEO outcomes.