Free SEO audit for new clients — claim yours
Home/Blog/Ecommerce/Meta Description Templates for Large Sites
Ecommerce

Meta Description Templates for Large Sites

Meta Description Templates for Large Sites
Table of contents
  1. Why Google is fine with templated meta descriptions on big sites
    1. When a template is the right tool (and when it isn’t)
  2. Which variables to pull into a meta description template
    1. Platform variables you may already have
  3. Category page templates that read like a person wrote them
    1. Handling tiny categories
  4. Product page templates with real product data
  5. Location and service page templates
  6. Length rules and fallbacks every template needs
  7. Keeping thousands of descriptions from turning into duplicates
  8. Overriding the template on your most valuable pages
  9. A QA checklist before you push templates live
  10. Questions store owners ask about templated meta descriptions
    1. Will Google penalize me for using meta description templates?
    2. Should I include the price in product meta descriptions?
    3. Is it better to leave a meta description blank than use a weak template?
    4. How long should a templated meta description be?
    5. Do meta descriptions affect rankings?
  11. How I would roll out meta description templates this month
  12. Further reading on meta description templates
  13. Sources for this meta description templates guide

If you run a store with 8,000 products or a service business with 300 location pages, someone has probably told you that every page needs a “unique, hand-written meta description.” That advice is fine for a 20-page site. For a large site it is not realistic, and most owners end up with one of two results: thousands of blank descriptions, or one sentence copied onto every page.

There is a better middle path, and Google itself supports it. For big, database-driven sites, templated meta descriptions, built from real data about each page, are perfectly acceptable, as long as the output reads like a human wrote it and differs meaningfully from page to page.

Let me explain when templates make sense, which variables to pull in, ready-to-adapt templates for category, product and location pages, how to avoid duplicates, when to override a template by hand, and a QA checklist you can run before and after launch.

Why Google is fine with templated meta descriptions on big sites

A meta description is the short summary you put in the page’s <meta name="description"> tag. Google may use it as the text under your blue link in search results. It is not a ranking factor, but it can influence whether someone clicks. If you need the basics first, our beginner lesson on meta descriptions covers them, and our main guide on how to write meta descriptions has hand-written examples.

Google’s snippet documentation says that for larger database-driven sites, such as product aggregators, writing descriptions by hand can be impractical, and that generating them programmatically is appropriate and encouraged. The same page sets the bar for what a good generated description looks like:

“Good descriptions are human-readable and diverse.”

— Google Search Central, Control your snippets in search results

Google also warns that identical or similar descriptions on every page are not helpful, and suggests that if you can’t write every description, you should prioritize your most important pages. That is the whole strategy of this article in one line: templates for the long tail, hand-written copy for the pages that matter most.

One honest caveat. Google often ignores your description anyway and builds its own snippet from the page. Ahrefs’ meta description guide (updated May 2026) says Google shows the meta description about 37% of the time. So a template will not control every snippet. What it does is give Google a decent option for the many cases where it does use yours, and give social and messaging previews something better than a random line of page text. If you want to know why rewrites happen, read our guide to why Google rewrites meta descriptions.

When a template is the right tool (and when it isn’t)

Templates are not right for every page type. Here is how I suggest you decide:

Page typeTypical countApproach
Home page1Hand-written
Top-level categories or main service pages5–50Hand-written
Subcategories and filtered categories you want indexed50–2,000Template with strong variables, hand-edit the top 10%
Product pagesHundreds to millionsTemplate, hand-edit bestsellers
Location pages (city, area, branch)Dozens to thousandsTemplate with local data, hand-edit the biggest markets
Blog postsAnyHand-written; a template here usually just repeats the excerpt
Paginated, tag or archive pagesAnySimple template, low effort

A template is a bad idea when the pages themselves are thin or nearly identical. If your 300 location pages say the same thing with only the city swapped, a smart meta description template will not save them. Fix the pages first. Our guide on programmatic SEO without spam explains what makes templated pages worth indexing in the first place.

Which variables to pull into a meta description template

The quality of a template depends almost entirely on the data you feed it. A template with only {product_name} and {site_name} produces dull, near-duplicate text. A template that pulls in five or six real attributes produces descriptions that genuinely differ.

Google’s snippet guidance suggests that descriptions can include useful details such as price, author, publication date or age. For commerce and local pages, the useful variables usually look like this:

  • Identity: product name, brand, model number, category name, city or area name.
  • Specifics: material, size range, color count, capacity, key spec (for example “2-ton inverter AC”).
  • Commercial facts: starting price, price range, number of products in a category, stock status.
  • Trust facts: average rating and review count (only if shown on the page), years in business, warranty length.
  • Service facts: delivery speed, free-shipping threshold, return window, same-day availability, service hours.
  • Local facts: neighborhoods covered, branch address, phone number, number of local jobs completed (only if real and on the page).

Whatever you pull in, keep it tight. Ahrefs puts the principle well:

“Meta descriptions are not a place for storytelling.”

— Ahrefs, How to Write the Perfect Meta Description

Two rules keep this honest. First, only use data that is visible on the page; a description promising “free delivery” when the page says nothing about it misleads people. Second, use data that changes from page to page; “Shop now at Example Store” is the same everywhere and adds nothing.

Platform variables you may already have

You don’t always need a developer. If you run WordPress with WooCommerce and Yoast, its list of snippet variables includes %%term_title%% for category names and, through the Yoast WooCommerce SEO add-on, %%wc_price%%, %%wc_shortdesc%%, %%wc_sku%% and %%wc_brand%%. Other SEO plugins have similar systems. In Shopify, the description field can be set for products, collections, pages and blog posts, according to Shopify’s help center; to template it at scale you usually edit the theme’s Liquid code or use an SEO app.

Category page templates that read like a person wrote them

Category pages (also called collection pages) are often the most valuable pages on a store, so they deserve the best template. For the page itself, see our guide to category page SEO; here I only cover the description.

A strong category template answers three questions: what is here, how much choice is there, and why buy here?

Template A (choice + price):
Shop {product_count} {category_name_lower} from {brand_count} brands, from {min_price}.
{top_attribute_phrase}. {shipping_phrase}.

Template B (use case):
{category_name} for {use_case}: compare {product_count} options by {filter_1}, {filter_2} and price.
{shipping_phrase}.

Here is what Template A could output for two categories on a hypothetical outdoor store:

  • “Shop 64 hiking boots from 11 brands, from $79. Waterproof, wide-fit and vegan options. Free delivery over $50.”
  • “Shop 23 camping stoves from 6 brands, from $34. Gas, multi-fuel and solid-fuel models. Free delivery over $50.”

Notice that the second sentence comes from a field the merchandiser fills in once per category ({top_attribute_phrase}). That single field does more for uniqueness than any amount of clever code. If you can get your category managers to write one short phrase per category, do it.

Handling tiny categories

“Shop 1 camping kettles from 1 brands” is the kind of output that makes templates look bad. Build simple rules:

  • If product_count is below 5, drop the count and use “Browse our {category_name_lower}”.
  • If brand_count is 1, use the brand name instead (“from Jetboil”).
  • Handle singular and plural properly.

Product page templates with real product data

Product pages are where volume is highest and where lazy templates do the most damage. A good product template leads with what makes this product different from its siblings.

Template (physical product):
{product_name} by {brand}: {key_spec_1}, {key_spec_2}. {price_phrase}{rating_phrase}.
{delivery_phrase}.

Template (spare part / SKU-led):
{part_name} ({sku}) for {compatible_models}. {stock_phrase}. {delivery_phrase}.

Example (hypothetical): “TrailPro X2 by Northpeak: waterproof Gore-Tex lining, 1.1 kg per pair. $149, rated 4.6 from 212 reviews. Free delivery and 30-day returns.”

A few choices make product templates much safer:

  • Keep the price phrase optional. If prices change daily, a cached description can show an old price. Use a phrase like “from {price}” only if your descriptions are regenerated when prices change.
  • Show ratings only when they exist. If review_count is zero, the rating phrase should disappear, not say “rated 0 from 0 reviews.”
  • Do not stuff the category name in. “Hiking boots TrailPro X2 hiking boots men’s hiking boots” reads like spam, and Google is less likely to use it.
  • Use the short description carefully. Many stores map the description to the first 155 characters of the product description. That works only if your product copy starts with something meaningful, not “Welcome to our store!”

Product names and titles have their own rules, which we cover in our guide to optimizing product titles.

Location and service page templates

Location pages are where templated descriptions are most at risk of near-duplication, because the only obvious variable is the city name. “Expert plumbers in {city}. Call today!” repeated 300 times is exactly the “identical or similar descriptions” pattern Google says is not helpful.

The fix is to pull in real local data:

Template (service area page):
{service} in {city}: {service_detail}. Serving {area_1}, {area_2} and {area_3}.
{availability_phrase}. {proof_phrase}.

Template (branch page):
Visit our {city} {branch_type} at {street}, open {hours_summary}.
{services_short_list}. Call {phone}.

Example (hypothetical): “Emergency plumbing in Mohali: leak repair, blocked drains and water heater fixes. Serving Phase 7, Sector 70 and Kharar. Same-day visits 7 days a week.”

Every piece of that output, the areas, the services and the availability, should match what the page actually says. If your Mohali page lists the same services and the same text as your Panchkula page, the description is the least of your problems. For local title tags, which follow similar logic, see our guide on title tags for local pages. For local strategy more broadly, our local SEO services team can help.

Length rules and fallbacks every template needs

A template must handle long product names, missing data and odd characters without breaking. Ahrefs suggests roughly 160 characters (about 920 pixels) on desktop and around 120 characters (about 680 pixels) on mobile, and recommends making your main point early so mobile users see it. Google itself sets no fixed limit and says it truncates descriptions as needed to fit the device width. Shopify’s help center recommends about 160 characters.

Here is a step-by-step build order I suggest for any template engine, whether it’s a plugin, a Liquid snippet or a Python script:

  1. Collect variables from the database for each page.
  2. Clean them: strip HTML, decode entities, collapse spaces, convert ALL CAPS product names to normal case.
  3. Build optional phrases only when their data exists (rating phrase, price phrase, delivery phrase).
  4. Assemble the description from the template, most important information first.
  5. Trim to length: if it is over about 155 characters, drop the least important optional phrase first, then shorten. Never cut mid-word.
  6. Escape quotes: a stray double quote can break the HTML attribute. Ahrefs points out that quotation marks in raw HTML should be escaped as &quot;.
  7. Check for a hand-written override and use it instead if one exists.
  8. Log the final output so you can audit it later.
Missing dataFallback
No priceDrop the price phrase entirely
No reviewsDrop the rating phrase; never print zeros
No brandUse category name: “{product_name}, a {category_singular} with…”
Product out of stockReplace delivery phrase with “Check back for restock dates” or omit
No local areas listedUse a services list instead of areas
Everything missingLeave the description empty rather than output a generic sentence; Google will create a snippet from the page

That last row surprises people. An empty description is better than “Welcome to Example Store, the best store online!” copied 5,000 times, because Google will at least pull text from the actual page.

Keeping thousands of descriptions from turning into duplicates

Duplicate meta descriptions are not a penalty, but they are a sign the template is too thin, and Google is less likely to use them. Here is a simple way to measure the problem.

Example (hypothetical): A store has 6,000 product pages. You export all meta descriptions and count how many are exact duplicates of another page’s description. You find 1,850 pages share their description with at least one other page, which is about 31%. Most of them are size or color variants with separate URLs, all saying “Classic Cotton Tee by Example: soft 180 gsm cotton. From $19.”

The fixes, in order of effort:

  1. Check whether those variant URLs should be indexed at all. If they point a canonical tag to the main product, their descriptions matter far less. Our guide to duplicate content causes and fixes explains canonicals.
  2. Add the variant attribute to the template: “Classic Cotton Tee in Navy, sizes S–XXL.”
  3. Add a second differentiating variable, such as fit or fabric weight.
  4. Re-measure. Aim to bring exact duplicates among indexable pages close to zero.

Exact duplicates are easy to count. Near-duplicates are harder. A rough check: strip numbers and the product name out of each description and count how many identical “skeletons” remain. If one skeleton covers 90% of your pages, your template has only one real variable, the name.

Overriding the template on your most valuable pages

Templates are for scale. Your best pages deserve better, and Google itself recommends prioritizing important URLs when you can’t write every description. Here is a simple way to pick which pages get a hand-written override:

  • Export pages from Google Search Console with impressions and clicks for the last three months.
  • Sort by impressions. The top 1–5% of pages usually hold a large share of impressions on big sites.
  • Look for pages with high impressions and a click-through rate below what you get on similar pages. Those are your best candidates.
  • Write overrides for those pages, matched to the search intent of their main queries.

Store the override in its own field so the template never overwrites it. And put a review date on it: a hand-written description that mentions last year’s sale is worse than the template.

Measure carefully. Click-through rate moves with position, seasonality and SERP features, so compare like with like. Our guide on measuring on-page SEO changes shows how to set up a fair before-and-after.

A QA checklist before you push templates live

CheckHowPass condition
LengthSpreadsheet =LEN(A2) on exported descriptionsMost between about 110 and 160 characters
Exact duplicates=COUNTIF(A:A,A2)>1, or the duplicate filter in a crawler such as Screaming FrogNear zero among indexable pages
Broken placeholdersSearch exports for {, %%, “undefined”, “null”, “0 reviews”None
GrammarRead 50 random outputs aloudNo “1 products”, no double spaces, no ALL CAPS
AccuracyCompare 20 outputs with live pagesEvery fact appears on the page
EncodingView source on a few pagesNo &amp;amp; or broken quotes
Overrides respectedSpot-check pages with hand-written descriptionsOverride shown, not template
Title overlapCompare with title tagsDescription adds information, doesn’t repeat the title

Run the same checks one month after launch, because new products and categories bring new edge cases. If you’re also templating title tags, Google’s title link documentation has a helpful principle that applies to descriptions too: add variable terms only when they apply to that page. Its example is adding a word like “video” only if the page actually has a video.

Questions store owners ask about templated meta descriptions

Will Google penalize me for using meta description templates?

No. Google’s own documentation says programmatic descriptions are appropriate for large database-driven sites. The risk is not a penalty; it is that thin, repetitive templates get ignored and don’t help clicks.

Should I include the price in product meta descriptions?

Only if your descriptions refresh when prices change. Google lists price as a useful detail, but an outdated price in a snippet frustrates shoppers. If prices change often, use “from” pricing or leave price out.

Is it better to leave a meta description blank than use a weak template?

Often, yes. If your only option is the same generic sentence on thousands of pages, a blank field lets Google build a snippet from the page itself, which is usually more relevant.

How long should a templated meta description be?

Aim for roughly 120 to 160 characters, with the key information in the first 120 so it survives on mobile. Build trimming rules so long product names don’t push the useful part out.

Do meta descriptions affect rankings?

No. They are not a ranking factor. They can affect whether people click, and they are often reused in social and messaging link previews.

How I would roll out meta description templates this month

In brief: write by hand where it pays off, template everything else with real data, and test the output like you would test any other feature. Start with one page type, usually product pages because they are the biggest group, then move to categories and locations once the rules are proven.

If you want help designing the variables, writing overrides for your top pages or auditing an existing setup, our ecommerce SEO team does this work for stores of all sizes. Get in touch for a quote, or if you’d like to compare options first, request a custom quote through our plans page.

Further reading on meta description templates

Sources for this meta description templates guide

  1. Google Search Central: Control your snippets in search results
  2. Google Search Central: Influencing your title links
  3. Ahrefs: How to Write the Perfect Meta Description
  4. Yoast: List of available snippet variables in Yoast SEO
  5. Shopify Help Center: Adding keywords and editing meta descriptions
  6. Google Search Central: SEO Starter Guide
Rohit Choudhary
Written byRohit ChoudharyCo-Founder, My SEO Experts

Rohit Choudhary is the co-founder of My SEO Experts and has more than 14 years of hands-on experience in SEO, paid advertising and digital marketing. Since starting out in 2011 he has helped hundreds of businesses grow through practical, data-driven search strategies, and he also serves as a consulting Digital Marketing Director for several US-based companies.

Keep reading

Related articles

Ready to grow your business online?

Get a free, no-obligation proposal tailored to your goals and budget.

CallFree Quote