Skip to content
Back to log

Writing Titles and Meta Descriptions

Chainabit's Chao · · 8 min read

In short

A guide to how Google Search builds title links and snippets, and how to write effective and meta description elements.

The title and description in a search result

According to Google Search Central, a title link is the title that links to the page in a search result. A snippet is the description or summary portion of the result. These two pieces of text serve different purposes: the title link identifies the result, while the snippet highlights the part of the page content that is relevant to the search.

Google Search generates title links automatically. To do so, it uses the page's content and the references to the page found across the web. When generating a snippet, it looks first at the page's own content. If the meta description describes the page more accurately than a passage taken from the content, it may be used for the snippet.

This does not mean that the text you write in <title> and meta description will be shown verbatim in search results. Google may show different snippet text for the same page in different searches. Each snippet aims to highlight and preview the page content most relevant to the user's specific search.

Write a page-specific <title>

Google Search Central recommends that every page on a site have a <title> element, and that it contain concise, descriptive text. The title link gives users a quick idea of what the result contains and how it relates to their search. It can also be one of the main pieces of information used when deciding which result to click.

Google advises avoiding vague text such as just "Home" for a home page, or just "Profile" for the profile page of a specific person. Instead of such generic wording, each page's <title> should describe that page's content. This way, pages on the same site can be told apart in search results.

Avoid <title> text that is unnecessarily long or verbose as well. Google does not specify a length limit for the <title> element. However, when needed, it truncates the title link in search results, generally to fit the device's width. The full text of the element may not appear in the result.

Reduce repeated words and boilerplate

According to Google, including a few descriptive terms in the <title> can be helpful. Repeating the same words or phrases over and over, however, counts as keyword stuffing. In Google's example, a string made up of different spellings of the same term does not help users, and it can make both Google and users see the page as spam.

Using the same title on every page also makes it harder to tell pages apart. Google notes that if every page on an e-commerce site is given the same generic sales title, users cannot distinguish two pages from each other. Long boilerplate titles that change only a single detail from page to page, with the rest providing no information, can also be a problem.

One of the solutions Google offers is to update the <title> element dynamically so that it better reflects the page's actual content. For example, the words "video" and "lyrics" can be added to the title if the page really contains a video or song lyrics. With this approach, the words in the title correspond to that page's content, rather than adding the same list to every page.

Make the site name and main heading clear

Google recommends using the site name briefly in titles. The home page's <title> element can be a suitable place for additional information about the site. However, using that extra text on every page can look repetitive when several results from the same site are shown for the same query.

Google gives as an example using the site name at the beginning or end of each <title> element, separated from the rest of the text with a character such as a hyphen, colon, or pipe. Because the site name is already shown in the result, Google Search may remove it from the title link if it would be repeated.

It should also be clear which text on the page is the main heading. When generating a title link, Google looks at the visible main heading, heading elements, and other text that is large or prominent. If several headings have the same visual weight, the main heading can become ambiguous. Google gives as examples using a larger font size to set the main heading apart from other text, or placing the title in the first visible <h1> element on the page.

Match the language and writing system

Google recommends writing the <title> text in the same language and writing system as the main content of the page. In Google's example, the title of a Hindi page should also be written in Hindi; an English title, or the title transliterated into Latin characters, does not match the page's main content.

Turn this insight into action.

Use the mobile app to continue with guided workflows.

If Google detects a mismatch between the language or writing system of the page's main content and that of the <title> element, it may choose different text for the title link. Similarly, if the <title> does not accurately reflect the topic of the page, Google Search may change the title link. On pages with several large, prominent headings, it may use the text of the first heading.

Write a meta description

According to Google Search Central, a meta description gives a short, relevant summary of what a specific page is about. Google may use the text in the <meta name="description"> tag to generate a snippet when it thinks the tag offers a more accurate description than a passage that can be taken from the page content.

There is no specified length limit for the meta description either. However, Google Search truncates snippet text when needed, generally to fit the device's width. Even if the meta description text is used, there is no guarantee that all of it will appear in the search result.

Describe each page's content separately

Google notes that using identical or similar descriptions on every page of a site is not helpful when pages appear individually in search results. Wherever possible, each description should accurately describe the page it belongs to. Google recommends using site-wide descriptions on the home page or other aggregator pages, and page-specific descriptions on the remaining pages.

When there is no time to write a description for every page, Google recommends prioritizing. Creating descriptions for important URLs, such as the home page and popular pages, is the starting point Google gives for this situation.

A meta description does not have to consist only of sentences. Google says that for news or blog content, the author and byline information can appear in the description. For product pages, information spread across different parts of the page, such as the manufacturer, can be brought together in the description. In Google's book example, the author and illustrator details are explicitly labeled and separated from each other.

Create descriptive, readable text

In Google's examples, instead of a meta description that merely lists keywords, there is a description that explains what the page offers. Instead of using the same news description for every story, a passage from the specific story's content is used. Instead of a personal narrative that does not summarize the page, text that summarizes the whole page is shown.

Google also contrasts a very short, generic product description with a more detailed one that includes the product's features. The common criterion in these examples is that the text is specific to the page and gives the user clear information about what the page contains. Descriptions made up of long strings of keywords do not clearly explain the page's content, and they are less likely to be shown as snippets.

On large, database-driven sites, writing a description by hand for every page may not be feasible. Google considers it appropriate, and encourages, generating descriptions programmatically for such sites. Good descriptions are human-readable and distinct from one another; page-specific data is also a good candidate for programmatic generation.

Limits on display

Google Search Central states that individual sites cannot manually change their title links or snippet text. When a title link is generated, besides <title>, the visible main heading, heading elements such as <h1>, og:title meta tags, link text on the page, and the text of links pointing to the page can also be used. WebSite structured data is also among the sources Google lists.

Blocking a page from being crawled with robots.txt does not always prevent it from being indexed. Google may discover the page through a link from another site. When it cannot access the page content, it relies on off-page content, such as link text on other sites, to generate the title link. Google states that a noindex rule can be used to prevent a URL from being indexed.

Snippet display can also be configured. According to Google, the nosnippet meta tag prevents a snippet from being shown for a page. The max-snippet:[number] meta tag can specify a maximum length for the snippet. The data-nosnippet attribute can be used to prevent specific parts of a page from being shown in the snippet.

Ready to start?

Download the app and continue from your phone.

End of Entry