(On-page)

Title Tag

The main source of search result title links

The title tag is the <title> element of an HTML document: the page title shown in search result title links and browser tabs. Google Search Central’s document “Influencing your title links” explains that Google generates title links in search results automatically, and that the most representative of its many sources is each page’s <title> element. Google (official) Users look at this one line on the search engine results page (SERP) and decide whether to click, so the title link is your first impression in search results.

In the same document, Google recommends putting distinct text that describes each page’s content in its <title>, and avoiding keyword stuffing, where the same words are repeated many times. Google (official) The meta description, which sits alongside the title link, is the other main part of the search snippet.

Basic writing rules and a code example

<head>
    <title>Page topic - Site name</title>
</head>

Google’s documentation recommends writing <title> text that is descriptive and concise, and placing the site name (brand) at the start or end of each title, separated by a delimiter such as a hyphen, colon or pipe. Google (official)

Length is about display width, not character count

On length, Google’s documentation sets no fixed character limit. It only explains that title links are truncated to fit the device width, and advises avoiding unnecessarily long or verbose text. Google (official) Search Engine Journal also reported that Google sets no upper limit on the number of characters in a title tag. SEJ (report) The pixel guideline commonly used in practice comes from third-party measurements. Ahrefs describes the title display width in desktop search results as about 600px (roughly 60 English characters) as of 2023. Ahrefs (measured) Wider characters get cut off earlier, so judging by display width rather than character count is closer to how truncation actually works.

Google’s title rewrites: the gap between the official position and field data

In its August 2021 blog post “An update to how we generate web page titles,” Google announced that it had overhauled how title links are generated, and said that HTML <title> text is still used more than 80% of the time. Google (official) In a follow-up post in September 2021, after adjustments based on feedback, Google said it “now uses the original HTML title text around 87% of the time.” Google (official)

Third-party measurements, however, find rewrites far more common. Google’s explanation and the measured numbers seem to clash over the same phenomenon. Side by side, the two views look like this.

Google’s official position<title> is one of several sources for title links, and Google may replace it with other text if it judges that text more suitable. Google says the original title text is used as is about 87% of the time. Google (official)
Expert field dataZyppy analyzed 80,959 titles from 2,370 sites in Q1 2022 and found that Google rewrote titles at least partially 61.6% of the time. Aligning the <title> with the on-page H1 lowered the chance of a rewrite. Zyppy (measured)

The two numbers seem to conflict because they count differently. Google counts how often the original is used ‘as is’ (about 87%), while Zyppy counts how often ‘even one character changed’ (61.6%). So in the latter, adding just a brand suffix counts as a rewrite. Zyppy (measured) Google offers no way to block rewrites entirely, so the realistic approach in practice is to align the key phrase in your H1 and <title> to lower the rewrite rate, and to write titles that still read well if they are cut off or changed.

Managing titles dynamically in WordPress

The official WordPress documentation recommends that themes declare title-tag support so WordPress handles document title output. This feature was introduced in WordPress 4.1 (2014) and later became a requirement for themes listed in the directory. WordPress (official) With this declaration, SEO plugins or filters can control the title of each page without hard-coding <title> in header.php.

// functions.php - let WordPress manage the title output
add_theme_support( 'title-tag' );

// Customize titles by page type with the document_title_parts filter
add_filter( 'document_title_parts', function ( $parts ) {
    if ( is_singular( 'portfolio' ) ) {
        $parts['title'] = get_the_title() . ' Case Study';
    }
    return $parts;
} );

document_title_parts is the official hook for filtering each part of the document title that WordPress assembles (the current page title, the pagination number, the site tagline and the site name). WordPress (official) If you design title rules per template, such as single posts, archives, search results and custom post type archives, every page automatically gets a unique title even as content grows. This is how you meet Google’s “distinct title text for each page” requirement at the code level.

Common mistakes

  • Using only the site name as the title on every page: this is the repeated boilerplate Google’s documentation points out, and it triggers rewrites.
  • Keyword-list titles that repeat the same words and phrases: this is keyword stuffing, which Google’s documentation explicitly says to avoid.
  • Unnecessarily long or verbose titles: they get cut off when they exceed the display width, and Google’s documentation also advises against them.
  • Duplicate titles across multiple pages: this goes against Google’s recommendation of distinct title text for each page. Distinguish pagination and filter pages by reflecting their conditions in the title, too.
  • Repeating the same sentence in the title and the meta description: this wastes both parts of the snippet on duplicate text.

References

Jul.2026By Studio JT

More from On-page

Like this term?
Give it a like!

(232)