← Journal

Guides

How to write title tags for SEO: what Google uses, why it rewrites them, and how to avoid it

By Thomas Lovas Lokoy · Published 16 October 2026 · 7 min read

An open book showing a decorated title page
Photo: Royal folio. Perch paper. Leaf · CC0

The title tag is the line of HTML that names a page, and in Google Search it is the main source of the clickable headline, which Google calls the title link. Google's SEO starter guide describes the title link as "the headline part of the search result" that "can help people decide which search result to click". That makes it the most visible piece of text you write for search, and also the one most often written in a hurry. This guide covers what Google says about titles, how it decides whether to use yours, and a routine for writing one that survives.

Title tag versus title link

The two terms are worth separating because they explain a common frustration. The title tag, or title element, is what you write in the page's HTML. Most content management systems create it automatically from the title you type into the editor, and some let you set a separate SEO title. The title link is what Google actually displays in results.

They are usually the same text, but not always. Google's documentation lists the sources it draws on to generate a title link: the title element, the main visual title shown on the page, heading elements such as the H1, og:title meta tags, other large and prominent text, other text on the page, anchor text on the page, text in links pointing to the page, and WebSite structured data. Your title element is one input among several.

In practice it is the dominant one. When Google changed its title system in August 2021, Danny Sullivan wrote on the Search Central blog that content from HTML title tags was "still by far the most likely used, more than 80% of the time". A follow-up post in September 2021, after further adjustments, put the figure at around 87%. Those figures date from 2021, so treat them as a snapshot rather than a current statistic, but they establish the point: write a good title element and it will usually be what people see.

Is there a title tag length limit?

No. Google's title link documentation says there is no limit on how long a title element can be, and that the title link is truncated in search results as needed, typically to fit the device width. Any precise character count you see quoted as a rule is someone's estimate of a display width, not a Google requirement.

What Google does ask for is restraint. The same page says to write "descriptive and concise text" and to avoid "unnecessarily long or verbose text". The August 2021 blog post listed very long titles among the reasons Google sometimes looks elsewhere. So the working rule is: say what the page is in as few words as that takes, and put the most important words first so that truncation, if it happens, removes the least useful part.

How to write a title tag, step by step

  1. State what the page is, specifically. Google's starter guide says a good title is "unique to the page, clear and concise, and accurately describes the contents of the page". Write the plainest accurate description first: "How to repot a cheese plant" before anything clever.
  2. Use the searcher's words for the subject. If the people you are writing for search for "title tags", use that phrase, because it tells them the page answers their question. If you have not yet worked out which phrase that is, the guide to keyword research without search volumes covers how to find it from the results themselves.
  3. Add the one detail that distinguishes the page. A year for something that changes annually, a country for advice that depends on jurisdiction, a format ("checklist", "worked example") if that is what the reader gets. One detail, not three.
  4. Add the site name if you use one, briefly. Google's guidance is to brand titles concisely: consider including just the site name at the beginning or end, separated from the rest by a delimiter such as a hyphen, colon or pipe.
  5. Read it as a result. Imagine it in a list of ten results for the same query. Would someone know what is on your page and how it differs from the others?
  6. Check it against the page's main heading. Google considers the main visual title on the page when generating title links, so a title element that says one thing while the H1 says something unrelated invites a rewrite. They need not be identical, but they should describe the same page.

What makes Google rewrite a title

Google's documentation lists the common issues it adjusts for, and they double as a checklist of mistakes.

  • Half-empty titles. Part of the title text is missing, often leaving only the site name. The September 2021 post describes the system looking at header elements to fill the gap.
  • Obsolete titles. The same page is reused year after year for recurring information, but the date in the title was never updated.
  • Inaccurate titles. The title element does not reflect what the page is about, for example a static title on a page whose content changes.
  • Micro-boilerplate. Repeated boilerplate text in the titles of a subset of pages, so that several pages in a section look identical.
  • No clear main title. More than one large, prominent heading, so it is not obvious which is the page's title.
  • Language mismatch. The title is in a different language or writing system from the page's main content.
  • Duplicated site name. For domain-level site names, Google may omit the site name from the title link if it repeats the site name already shown in the result.

If Google is rewriting your titles, start here. The documentation's own advice is to check whether the page has one of these issues, and if not, to consider whether the rewritten title is a better fit for the query.

Keyword stuffing and boilerplate

Two habits cause most bad titles. The first is stuffing. Google's documentation says it is sometimes helpful to have a few descriptive terms in the title element, but there is no reason for the same words or phrases to appear multiple times, and gives "Foobar, foo bar, foobars, foo bars" as an example of title text that "doesn't help the user". Its spam policies define keyword stuffing more broadly, as filling a page with keywords or numbers in an attempt to manipulate rankings, including "repeating the same words or phrases so often that it sounds unnatural".

The second is boilerplate. Google's example is a commerce site that titles every page "Cheap products for sale", which makes it impossible for users to tell two pages apart. On a blog the equivalent is a long site slogan appended to every article title, or a category prefix that repeats across hundreds of posts. Keep shared text short and put the distinctive part first.

Other details worth getting right

  • Every page needs one. Google's first best practice is that every page should have a title specified in the title element. Missing titles are among the reasons the 2021 post gave for Google generating its own.
  • Avoid vague titles. "Home" for a home page or "Profile" for a person's profile page are Google's examples of descriptors to avoid.
  • Match the language of the page. If Google decides the title does not match the language or writing system of the main content, it may choose different text.
  • Let changes settle. Google has to recrawl and reprocess a page to notice changes to these sources, which its documentation says may take from a few days to a few weeks. Judge a new title after that, not the next morning.
  • There is no manual override. Google says it cannot manually change title links for individual sites. The only lever is the page itself.

The title tag and the meta description together

The title and the meta description appear together in search results, and they work best when they divide the job: the title says what the page is, the description says what the reader gets and why this page rather than another. The companion guide on how to write a meta description applies the same method to the second half. And if you are deciding how much to write under that title, how long a blog post should be covers what Google says about length.

Sources