Sub topic 6
Writing descriptions that earn clicks
This chapter covers how to write meta descriptions that help a searcher decide to click your result. It assumes you know basic HTML structure (head and body), have seen a search results page, and have read the earlier chapters on the title tag and the meta description tag.
What a description can and cannot do
A meta description is a <meta> tag in the head that summarizes the page. Google has said it does not use the description as a ranking signal. Its job is to give the searcher a reason to click. A good description does not move you up the page. It gets a larger share of the clicks you already earn.
Search engines also treat the tag as a suggestion. They often build the snippet from text on the page instead, when that text matches the query better. You write the description for the common case and accept that it will not always be shown. The next chapter covers how snippets are chosen.
Anatomy of a strong description
A strong description does four things.
- States what the page offers. Say what the searcher will find, using the words they are likely to search with.
- Adds detail the title lacks. The title names the page. The description supplies specifics such as a price range, a feature, a number of items, or who the page is for.
- Matches the page. If the description promises something the page does not deliver, visitors leave quickly. Over time that hurts you more than a lower click rate does.
- Ends with a reason to act. A short invitation, such as "Compare sizes" or "See the full checklist", is enough. You do not need a slogan.
Compare two descriptions for the same page.
| Weak | Stronger |
|---|---|
| Welcome to our store. We sell shoes and many other products at great prices. | Compare cushioned trail running shoes for first-time runners, with fit tips and a size guide. |
| Trail running shoes, running shoes, best trail shoes, cheap trail shoes, buy shoes | Eight beginner-friendly trail shoes ranked by cushioning and grip, with advice on choosing your size. |
The weak versions are generic or are lists of keywords. The stronger versions are complete sentences that describe real content on the page.
Length and truncation
There is no official character limit. Search engines cut a snippet to fit the available width, and that width differs between desktop and mobile and changes over time. The practical guidance is:
- Aim for roughly 120 to 160 characters on desktop.
- Put the most important information in the first 100 or so characters, because mobile displays often cut earlier.
- Do not pad to reach a length. A short, complete description is better than a long, vague one.
Truncation is not a penalty. The engine shows an ellipsis and the page is indexed the same way. It only matters because a cut-off sentence can lose your call to action.
Uniqueness
Every indexable page should have its own description. Reusing one description across hundreds of pages gives searchers no way to tell the results apart, and engines are more likely to ignore the tag when it does not describe the page it appears on.
If you cannot write a hand-made description for every page, use a pattern that draws on real fields. A product page can combine its name, a key attribute, and a price range. A blog post can use its summary field. Pages with no distinctive content, such as thin tag archives, are better left without a description than given a duplicate. Without one, the engine builds a snippet from the page text.
Words that help and words that hurt
- Use the searcher's vocabulary. Search engines bold words from the query that appear in the snippet, which draws the eye. Using natural terms for the topic helps both relevance and attention.
- Avoid keyword stuffing. Repeating terms makes the result look like spam and does not help ranking.
- Avoid claims you cannot support. "Best", "cheapest", and "#1" invite distrust unless the page backs them up.
- Avoid quotation marks inside the content attribute. A straight double quote ends the attribute early. Use the typographic quote, the HTML entity
", or rephrase. - Do not copy the title. Repeating it wastes the space.
Writing descriptions for different page types
The right content depends on what the page is.
| Page type | What to include |
|---|---|
| Product | The product type, a distinguishing feature, and price or availability if stable |
| Article or guide | The question answered and what the reader will be able to do afterward |
| Category | What is in the category, and how many items or what range |
| Home page | What the organization does and for whom, in one sentence |
| Tool or calculator | What it computes and what input it needs |
Avoid details that change often, such as exact stock counts. An outdated figure in a stored snippet looks careless until the engine recrawls the page.
Generating descriptions from data
When you have many pages, build descriptions from structured fields and check the result. The function below assembles a description from a summary and optional detail, trims at a word boundary, and escapes the text for use in an attribute.
function escapeAttr(text) {
return text
.replace(/&/g, "&")
.replace(/"/g, """)
.replace(/</g, "<")
.replace(/>/g, ">");
}
function buildDescription(summary, detail = "", maxLength = 155) {
let text = [summary.trim(), detail.trim()].filter(Boolean).join(" ");
text = text.replace(/\s+/g, " ");
if (text.length > maxLength) {
const cut = text.slice(0, maxLength - 1);
text = cut.slice(0, cut.lastIndexOf(" ")).replace(/[,;:.\-\s]+$/, "") + "…";
}
return text;
}
function descriptionTag(summary, detail) {
const text = buildDescription(summary, detail);
return `<meta name="description" content="${escapeAttr(text)}">`;
}
console.log(
descriptionTag(
"Compare cushioned trail running shoes for first-time runners.",
"Includes fit tips, a size guide, and a \"how to break them in\" checklist."
)
);The output is a single tag whose quotes are escaped. Trimming at a word boundary prevents a cut in the middle of a word. If the summary is empty, the function returns a tag with an empty value, so in a real template you should skip the tag entirely when no usable text exists.
Testing and improving descriptions
You can judge a description only against how it performs, so measure it.
- In Search Console, open the Performance report and filter to a page or group of pages.
- Note impressions, clicks, and click-through rate (CTR), which is clicks divided by impressions.
- Compare pages that rank in similar positions. A page with a much lower CTR than its neighbors is a candidate for a rewrite.
- Change one thing at a time and wait for the engine to recrawl the page. Then compare a comparable period before and after.
Keep in mind that CTR depends heavily on position, on the query, and on the other elements in the result, such as ads and images. A change in CTR after a rewrite is evidence, not proof. Also check which queries drive impressions. If the engine is showing page text rather than your description for the main queries, the description may not match what people are actually asking.
Common mistakes
- One description for the whole site. It is usually set once in a template and forgotten.
- Descriptions that are only keywords. They read as spam and are often replaced.
- Descriptions that do not match the page. The engine tends to ignore these.
- Unescaped quotes. They break the attribute and can cut the description short or drop it from the page's parsed head.
- Multiple description tags. Conflicting tags make it unclear which one the engine uses. Keep exactly one per page.
- Missing description on important pages. The engine will generate a snippet, but you give up control over the pitch.
Exercise
A category page for "waterproof hiking jackets" has this tag: <meta name="description" content="Jackets, jackets, waterproof jackets, hiking jackets, buy jackets online, best jackets">. Name two problems with it and write a better one of 120 to 160 characters.
Show answer
The tag is a keyword list, not a sentence that tells the searcher what the page offers. It also repeats terms (keyword stuffing) and makes an unsupported claim ("best"). A better version: "Browse waterproof hiking jackets for rain and wind, from lightweight shells to insulated styles. Filter by size, weight, and price." This is a complete sentence, adds specifics beyond the title, and ends with an action.
Exercise
Your site has 2,000 product pages that all share the description "Quality products at low prices." What would you change, and what would you do for pages that have no distinctive data?
Show answer
Replace the shared text with a template that builds each description from real fields, such as product name, a key attribute, and a price range, and escape the output for use in an attribute. For pages that have no distinctive data, omit the description tag so the engine builds a snippet from the page text, rather than repeating a duplicate.