SEO and marketing

Meta description

Definition

The meta description is an HTML tag that sums up a page's content in one or two sentences. Invisible on the page itself, it may be used by search engines as the snippet below the result title, but Google often replaces it with a passage from the content it considers more relevant.

Meta description, SEO and marketing

The meta description sits in the page's head section, in the form <meta name="description" content="…">. It doesn't appear in the visible content: it is meant for search engines, which may use it as the snippet below the title in search results pages. Its main purpose is therefore to earn the click by summing up what the page offers.

<meta name="description" content="How many attempts to allow, how long to block, and how to avoid locking out your own customers: method and settings.">

Does Google actually use it?

Not always. Google explains that it builds its snippets mainly from the page content, choosing the passage that best answers the query. It only uses the meta description when it thinks it describes the page more accurately than the text itself. The same page can therefore show your description for one search and an excerpt of the content for another. That is normal, and it isn't a penalty.

Don't confuse it with the meta keywords tag, a list of keywords that Google says it doesn't use at all.

How long should it be?

Google sets no limit: the displayed snippet is simply truncated to fit the screen width. SEO tools often recommend between 120 and 160 characters; treat that as a benchmark to keep the key sentence readable, not as a rule. A complete, useful description beats text cut off in the middle of an idea.

Writing a good meta description

  • Unique for each page: the same description across the whole site helps neither Google nor the searcher.
  • Specific: Google suggests including useful details such as the author, publication date or price, depending on the type of page.
  • A real sentence, not a list of keywords: Google says such a list is less likely to be shown.
  • Faithful to the page and aligned with the search intent: promising something the page doesn't deliver sends the searcher straight back.

For a large catalog, Google accepts descriptions generated automatically from the page's data, as long as they stay readable and varied.

Controlling the snippet

If, on the contrary, you want to limit what Google shows, the nosnippet robots rule removes the snippet, max-snippet:[number] sets its maximum length, and the data-nosnippet attribute excludes a specific part of the page. These settings also limit how your content can be used in some search features; use them with care.

For WordPress

WordPress doesn't output a meta description by default. SEO plugins (Yoast SEO, Rank Math, All in One SEO, SEOPress…) add a field below the editor for each piece of content, templates for each content type and often fall back on the post excerpt automatically. Don't forget the pages people overlook: home page, categories, tags and WooCommerce product pages. If you switch plugins, check that the descriptions are properly imported, otherwise every page loses its own overnight.

One last tip: if your site's snippets suddenly show pharmacy, casino or Japanese text, don't look at the meta description. That is a classic symptom of injected spam, covered in our article on hacked sites and SEO.

Further reading

  • Article Hacked WordPress site and SEO: spam, deindexing and review

Sources

  1. Google Search Central: contrôler vos extraits dans les résultats de recherche (external link, opens in a new tab)
  2. Google Search Central: guide de démarrage du référencement (SEO) (external link, opens in a new tab)

All definitions

Start free, go Pro when you’re ready

The free version already hides WordPress and moves the login page. Pro adds aliases, two-factor authentication and monitoring.