How to Write Alt Text for SEO: The 2026 Guide (+ 10 Examples)

Learning how to write alt text for SEO is one of the highest-return on-page skills you can pick up in 2026. It takes under a minute per image, yet most sites leave half their images with blank, auto-generated, or keyword-stuffed alt attributes. The result: screen readers stumble, Google Images ignores your visuals, and your pages send weaker topical signals than they should. This guide gives you the exact formula, ten real before-and-after rewrites, a WordPress fix-up workflow, and the 2026 angles (AI Overviews, Google Lens) that older guides miss. This is your complete playbook for how to write alt text for SEO — from the five-part formula to ten before-and-after examples you can copy today. What Alt Text Actually Is (and What It Is Not) Alt text — short for alternative text — is a written description of an image embedded in the HTML of your page: <img src=”trail-running-shoes.jpg” alt=”Pair of blue trail running shoes with red laces on a rocky mountain path”> Its primary job is accessibility: screen readers read it aloud to visually impaired users, and browsers display it when an image fails to load. Its secondary job is SEO: search engine crawlers are still fundamentally text-based, so alt text is the clearest signal you give them about what an image shows. It is commonly confused with two other things: Title text — the tooltip that appears when someone hovers over an image. It carries almost no SEO weight and is not read by screen readers. Never use it as an alt text substitute. Image file name — the name of the uploaded file, like trail-running-shoes.jpg. Descriptive, keyword-aware file names support your alt text, but they do not replace it. Understanding these distinctions is the foundation of how to write alt text for SEO correctly, because treating alt text, title text, and file names as interchangeable is the most common beginner error. Why Alt Text Matters for SEO in 2026 Google Images is a search engine in its own right, and a meaningful slice of discovery traffic starts there. When someone searches for a product or a how-to visual, Google matches their query against the textual signals around your images — and alt text is the strongest of those signals. Pages whose images carry precise alt text consistently earn more image-search impressions than identical pages with blank alt attributes. If you are serious about learning how to write alt text for SEO, image search is the fastest place to see a payoff. If you are still on the fence, consider this: learning how to write alt text for SEO is one of the highest-ROI on-page tasks because it improves accessibility and image discovery at the same time. Alt text also reinforces the topic of the entire page. If your article targets “trail running for beginners” and your images describe “blue trail running shoes on a rocky mountain path” and “runner tying trail shoes before a forest run,” every one of those descriptions is another contextual vote telling Google what the page is about. There is also an honesty point worth making: alt text is not a magic ranking lever for web search. Stuffing keywords into alt attributes will not move a page from position 40 to position 4. What it does is remove friction — accessibility friction for users, and understanding friction for crawlers — and in 2026, with AI-powered search leaning harder on structured understanding of your content, removing that friction matters more than ever. Fortunately, how to write alt text for SEO is a learnable, repeatable skill rather than guesswork — the formula below makes it mechanical. Google’s own image SEO best practices confirm that descriptive alt text helps Google understand your images. How to Write Alt Text for SEO: The 5-Part Formula Here is the repeatable method for how to write alt text for SEO that balances accessibility, search signals, and readability. Apply it to every meaningful image you publish. 1. Describe what you actually see (5–12 words) Imagine describing the image to someone over the phone. Lead with the main subject, then one or two distinguishing details: color, setting, action, or model number. Specifics beat generics every time — “Dell XPS 13 laptop, silver finish, half-open on a wooden desk” beats “laptop.” 2. Add context from the page The same photo needs different alt text on different pages. A picture of running shoes on a product page should name the model and variant; on a marathon-training article, it should describe the action (“runner lacing trail shoes at sunrise before a long run”). Context is what makes alt text useful instead of generic. 3. Weave in your keyword naturally — once If the page’s target keyword genuinely describes the image, include it. A product page targeting “trail running shoes for beginners” can carry alt text like “blue trail running shoes for beginners on a rocky mountain path.” If the keyword does not fit, leave it out. Forced keywords read badly to humans and look spammy to algorithms. 4. Keep it under 125 characters Most screen readers cut off alt text after roughly 125 characters. Longer descriptions get truncated mid-sentence, which is a worse experience than a shorter complete one. If an image needs more explanation (a data-heavy chart, for instance), summarize in the alt text and put the full detail in the surrounding paragraph or a data table. 5. Never start with “image of” or “picture of” The <img> tag already tells assistive technology it is dealing with an image. “A picture of a cat” wastes seven characters announcing the obvious. Start with the subject: “Orange tabby cat sleeping in a sunbeam on a white windowsill.” You now have the complete method for how to write alt text for SEO — let’s see it applied to ten realistic image types. 10 Before-and-After Alt Text Examples Theory is cheap; examples stick. Here are ten realistic rewrites across common image types: Work through all ten, and you will internalize how to write alt text for SEO