Back to Glossary
SEO

Title Tag

A title tag is the HTML <title> element that defines the title of a web page. It appears as the title link in search results, on browser tabs, and in social sharing previews, and Google sometimes rewrites it with a different title based on the page's content.

  • The title tag is the HTML <title> element that defines a page's title, surfacing in search result title links, browser tabs, and sharing previews.
  • Because it is the key piece of information that drives clicks, every page should have a unique title that accurately describes its content.
  • The recommended length is roughly 50–60 characters (about 600 pixels on desktop); titles that exceed this range are more likely to be truncated or rewritten in search results.
  • When a title is empty, vague, or mismatched with the page, Google regenerates one from the H1, body copy, or other sources instead of the <title>.
  • An Ahrefs analysis of over 950,000 pages found Google rewrote about 33.4% of title tags, rising to 46.12% for titles longer than 600 pixels.

The Title Tag

The title tag is the <title> element located inside the <head> of an HTML document, and it defines the title of that page. This value appears in several places: the clickable title in search results (what Google calls the title link), browser tabs, bookmarks, and social media sharing previews. Because it is the first thing users see when deciding which page to click in search results, it is a core SEO element that directly affects search visibility and click-through rate (CTR).

According to Google, the title link helps people quickly assess a result's content and relevance, and it is often the primary piece of information people use when deciding which result to click. Summarizing the page's content accurately and concisely is therefore the top priority.

How Title Links Are Generated

Google does not build the title link from the <title> element alone. It draws on several sources to automatically select the most suitable title:

  • The content of the <title> element
  • The main visual title on the page and headings such as <h1>
  • Meta tags like og:title
  • Large, prominently styled text
  • Anchor text and link text pointing to the page
  • WebSite structured data

In other words, the <title> is the strongest signal but not the only one, so it is best to keep the page's actual headings and body copy consistent with the title.

When Google Rewrites Titles

When Google judges a <title> value to be unsuitable, it displays a different title in search results. The main reasons for rewriting cited in Google's official documentation are below.

ReasonDescription
Empty contentIf the <title> is empty or thin, Google substitutes heading or body text.
Outdated informationFor pages that recur annually, the year or date in the title may not have been updated.
Inaccurate descriptionIf the title does not match the actual page content, Google adjusts it.
Duplicate or boilerplateWhen the same title repeats across many pages, Google adds distinguishing information.
Language mismatchIf the title's language differs from the body language, Google may generate a different title.

Best Practices and Code Example

An effective title tag follows these criteria:

  • Length: Keep it within roughly 50–60 characters. Google's desktop results display titles up to about 600 pixels and truncate anything longer.
  • Uniqueness: Ensure every page on the site has a distinct title.
  • Keywords: Place the core keyword near the front of the title where possible, but avoid keyword stuffing—listing or repeating keywords.
  • Avoid vague titles: Don't use generic labels like "Home" for the homepage or "Profile" for a profile page.
  • Brand name: Append the brand name concisely and avoid repeating it excessively on every page.
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <!-- Recommended: core keyword up front + brand name, about 50-60 chars -->
  <title>Best 10 Summer Hiking Boots | OutdoorShop</title>
</head>
<body>
  <h1>Best 10 Summer Hiking Boots</h1>
</body>
</html>

Supporting Evidence

According to an Ahrefs study of 953,276 pages ranking in the top 10, Google used title tags as written only about 66.6% of the time and rewrote the remaining roughly 33.4%. Long titles exceeding 600 pixels in particular were rewritten 46.12% of the time, so the longer the title, the much higher the chance of a rewrite. When Google regenerated a title, it drew on the <h1> tag about 50.76% of the time, and 7.4% of top-ranking pages had no title tag at all.

A separate study by Zyppy reported that Google changes about 61% of page titles in some form. The gap stems from differences in measurement (whether an exact match is required). The figures vary by study, but the conclusion is consistent: the longer, vaguer, or more duplicated a title is, the more likely it is to be rewritten.

Implementation Checklist

  • Confirm that every page has a unique <title> that accurately describes its content.
  • Keep title length within roughly 50–60 characters (600 pixels).
  • Place the core keyword near the front of the title and avoid keyword stuffing.
  • Replace vague titles like "Home" or "Profile" with specific descriptions.
  • Match the title's language to the body language.
  • Keep the <title> consistent with the page's <h1> and body content.
  • Update titles that contain a year or date whenever the content is refreshed.

References and Sources

Related terms