How to Write a Title Tag: A Guide for SEO and Clicks
What a title tag is, how long it should be and why Google rewrites it. Title tag examples by page type, branding and how to check them in Search Console.
A title tag is the tag that defines a page’s name in HTML and usually appears as the clickable headline in Google search results. A good title tag is unique to the page, uses the phrase the user searched for near the start and says in one line what the page answers. The short answer to how to write a title tag is this: pick the page’s main query, add the answer you give to that query as a short promise, and leave the brand name for the end.
In this post I cover where the title tag appears, when Google changes it, how to think about length and examples by page type. I covered the second line of a search result, the description, in how to write a meta description; content writing as a whole is in the how to write SEO-friendly content guide.
What is a title tag and where does it appear?
A title tag is the title element in the head section of an HTML document that defines the page’s name. According to MDN’s HTML reference, the element contains only plain text and a document should have just one.[5] In code, the tag is a single line:
<head>
<title>How to Write a Title Tag: A Guide for SEO and Clicks</title>
<meta name="description" content="What a title tag is, how long it should be and why Google rewrites it.">
</head>
The title tag appears in three places. The first is the browser tab and bookmarks; when a user saves a page, this text becomes its default name. The second is social sharing; if og:title isn’t defined, some platforms take the page name from the title. The third, and the most important for SEO, is the Google search result.
Google calls the clickable headline in a search result the title link. The title link is not the title tag itself but the text Google produces from the title tag and other sources. This distinction matters for the rest of the post: you write the title tag, Google chooses the title link.
Why is the title tag important for SEO?
The title tag is one of the first signals Google looks at to understand a page’s topic, and it directly affects the click decision in search results. Google’s title link guide notes that the title is often the primary piece of information people use to decide which result to click.[1]
So the title tag has two jobs. The first is relevance: telling the search engine clearly which question the page answers. The second is the click: showing the user, among ten results that answer the same question, why they should choose this one. A title focused only on the keyword secures relevance but can lose the click. A title focused only on grabbing attention blurs the page’s topic.
The title tag also has a limit: on its own, it won’t push a weak page up the rankings. The page’s content, its match with search intent and the overall quality of the site are more decisive. The title helps a page with that foundation appear for the right query and get clicked. To choose which query to target, you first need keyword research.
How many characters should a title tag be?
Google sets no official character limit for title tags. According to Google’s guide, there’s no limit on how long a title element can be; the title link is truncated as needed, typically to fit the device width.[1] The same guide recommends avoiding unnecessarily long or verbose titles.
Because truncation is based on pixel width, character count is only an approximate measure. Wide letters such as “W” and “M” take up more space than narrow ones such as “i” and “l”. In Turkish, long words with stacked suffixes can also fill the headline sooner than expected. On my own site I use a 30-65 character range as a working rule; that range is my preference, not Google’s.
Order matters more than length. If the main query and the page’s promise are in the first half of the headline, the user understands what they’ll get even if the title is cut. The brand name and secondary phrases go at the end, because cutting them loses the least information.
You can use the tool below to measure the length of your title and description and see an approximate preview of the result. It counts characters and shows where the text may be cut in search results:
Why does Google change the title tag?
Google generates the title link from other sources when the title tag doesn’t describe the page’s content accurately or sufficiently. According to Google, title link generation is completely automated and takes into account both the content of the page and references to it on the web.[1]
The sources Google lists are: the title element, the main visual title shown on the page, heading elements such as the H1, the og:title meta tag, large text made prominent through styling, other text on the page, anchor text on the page, the text of links pointing to the page and WebSite structured data.[1] The title tag is first on this list, but it isn’t the only source.
In 2021 Google announced that it had updated its title generation system.[2] In a follow-up published the same year, it wrote that the system was by then using title elements around 87% of the time, up from around 80% before.[3] In other words, the large majority of titles are shown as written; the ones that get changed usually have specific problems.
Google’s guide describes the title types changed most often as follows:[1]
- Half-empty title: Part of the text is missing, for example only ”| Site Name” is left.
- Obsolete title: On a page updated every year, the year in the title is out of date while the heading on the page shows the new year.
- Inaccurate title: The title doesn’t match what the page actually covers.
- Micro-boilerplate text: Titles across a group of pages repeat the same pattern and don’t distinguish the pages from each other.
- Unclear main title: The page has several headings with the same visual weight, so it isn’t clear which one is the main title.
Looking at this list, the fix becomes clear. Keeping the title consistent with the page’s visible main heading, writing it uniquely for each page and keeping time-sensitive information current all reduce the chance that Google changes it.
How do you write a title tag?
Short answer
How do you write a title tag?
To write a title tag, you first define the page’s single main query. You write that query near the start of the headline, naturally, and add the concrete benefit the page provides as a short promise. Then you remove repeated words, put the brand name at the end with a delimiter and check that the title matches the H1 on the page.
- Define a single main query for the page.
- Write the main query near the start of the title, in its natural form.
- Add the concrete benefit the page offers as a short promise.
- Don't repeat the same word or its synonyms.
- Add the brand name at the end with a short delimiter.
- Check that the title and the H1 on the page describe the same topic.
- Check the length and make sure the important information is in the first half.
Three principles sit behind these steps. I use them as check questions rather than as a formula.
Put the query first and the promise in the middle
Users scan a search result from left to right, and their eyes look for the phrase they searched first. So writing the main query near the start of the title strengthens the relevance signal and protects against truncation. The promise comes right after the query: phrases such as “Guide”, “Examples” or “Setup Steps” tell the user the page’s format. Don’t put a promise in the title that the page doesn’t actually deliver; that is exactly the problem Google calls an “inaccurate title”.
Don’t stuff the keyword
Google states that having the same word or phrase appear several times in a title doesn’t help users and can make the result look spammy.[1] A string like “title tag, title tags, SEO title, page title” doesn’t cover synonyms; it just makes the headline unreadable. Using synonyms and different phrasings naturally in the body of the page is the better path.
Add the brand name briefly and consistently
For inner pages, Google recommends adding the site name at the beginning or end of the title, separated by a delimiter such as a hyphen, colon or pipe.[1] The home page is a reasonable place for a longer title that explains the brand a little more. Repeating the same long slogan on every page makes results look like copies of each other when several of your pages show up for the same query.
The site name shown above the headline in search results is a separate feature. Google determines the site name from WebSite structured data, the home page’s title tag and other signals across the site.[4] That’s why the brand suffix in your titles and the name in your WebSite structured data should match. I explained the general logic of structured data in what is schema markup.
Weak title
- A vague name such as "Home" or "Our Services"
- The same word repeated in three spellings
- The same long slogan on every page
- A promise the page doesn't deliver
- The main query coming after the brand name
Strong title
- A clear name that states the page's topic
- The main query once, in its natural form
- Text unique to each page, short brand suffix
- A promise that matches the page content exactly
- Main query first, brand name last
Title tag examples by page type
A title tag does a different job depending on the page type; the home page defines the brand, a service page the offer, a blog post the question and a product page the product. I wrote the examples below for a fictional site; to adapt them, just change the query and the promise.
| Page type | Example title | What I focused on |
|---|---|---|
| Home page | Example Brand: Web Design and SEO Services in Ankara | Brand first, what the site does in the explanation |
| Service page | Technical SEO Services: Audit and Implementation · Example Brand | Service name first, scope in the middle, brand last |
| Blog post | What Is Robots.txt? A Setup Guide with Examples | Question form, format promise, no brand suffix |
| Category page | Men’s Running Shoes: Models and Prices · Example Store | Category name and shopping intent |
| Product page | Example Model Running Shoe, Navy · Example Store | Product name, distinguishing feature, brand |
On e-commerce sites it’s impossible to write titles by hand for thousands of products and categories. In that case titles need to be generated from a template using page-specific fields such as product name, color and category. The template’s trap is what Google calls “micro-boilerplate”: when a variable field is empty, or only a single word changes, titles turn into copies of each other. Google’s guide recommends showing template phrases only when the page actually has the matching content; for example, using the word “video” only on pages that have a video.[1] I covered the other details of category pages in category page SEO.
What is the difference between the title, the H1 and og:title?
The title tag is written for search results and the browser, the H1 for the reader who has arrived on the page, and og:title for the social sharing preview. All three describe the page’s topic, but they appear in different places and different reading contexts.
- Title tag: It sits in the head section and isn’t visible on the page. Because it’s read side by side with other results, it carries a brand suffix and a short promise.
- H1: It’s the page’s visible main heading. The reader is already on the page, so no brand suffix is needed and the topic can be stated directly.
- og:title: It’s the title field of the Open Graph protocol and appears on the share card on platforms such as LinkedIn and Facebook. Google also lists this field as one of its sources for title links.[1]
These three headings don’t have to be identical. But if they describe very different topics, Google has a harder time deciding which one describes the page correctly. Google’s guide recommends making the main title distinct from other text on the page, for example by placing it in the first visible H1 element.[1] I build the title and the H1 around the same main query; I leave the brand suffix to the title and a more natural sentence structure to the H1.
How should title tags be written on multilingual sites?
On multilingual sites, the title tag should be written in the same language and writing system as the page’s main content. Google states that if it determines the title element doesn’t match the language or alphabet of the page’s primary content, it may choose different text for the title link.[1]
In practice, this rule breaks most often in translation workflows. The body of the page gets translated, but the title and description in the head section stay in the original language. If the theme or CMS was set up with a multilingual plugin, the title field may not be a separate field per language, and the same text can be published in every language.
Translating word for word isn’t enough either. Users in the target language may search for the same topic with a different phrase, so each language’s title should be written for the search phrase used in that language. Setting up hreflang and the relationship between language versions is a separate job; the title is a field that has to be written separately for each version, in its own language.
How do you find title tag problems?
Title problems are found from two sources: performance data in Google Search Console and an SEO crawler that scans the whole site. Search Console shows which page is losing clicks, while the crawler shows which page carries a technically problematic title.
When I open the Performance report in Search Console and sort pages by impressions, I first look at pages with high impressions and a low click-through rate. These pages already rank but aren’t being chosen in the results; the title and the description are the first suspects. Looking at which queries a page gets impressions for also shows whether the title really answers those queries. I explained how to read the report in how to use Google Search Console.
On the crawling side, a tool like Screaming Frog lists missing, duplicate, overly long titles and titles identical to the H1. To see the actual headline in search results, searching for the page’s own target query is enough. After you change a title, it can take anywhere from a few days to a few weeks for Google to recrawl and reprocess the page.[1] For important pages you can request a recrawl with the URL Inspection tool.
Conclusion
The title tag is the page’s name in search results and one of the first signals Google looks at to understand a page. Even though Google generates title links automatically, it uses the title tag as written in the large majority of cases. The titles it changes are usually half-empty, obsolete, inaccurate or boilerplate.
Writing a good title doesn’t require a formula: put the main query first, add the page’s real promise, leave the brand name for the end and keep the title consistent with the page’s H1 and language. As a next step, pick five pages in Search Console with high impressions but a low click-through rate and review their titles with the checklist in this post. If you want to plan this kind of content and technical work as a whole, take a look at the SEO services page.
Key terms
- Title tag
- A title tag is the tag that defines a web page's name through the title element written in the head section of the HTML. It is also called the page title or SEO title. It appears in the browser tab, in bookmarks and, most of the time, as the clickable headline in Google search results.
- Title link
- A title link is the clickable headline in a Google search result that leads to the page. Google generates this text automatically and uses the title tag first. If the title doesn't describe the page well, it turns to other sources such as the H1, prominent text or anchor text.
- Site name
- A site name is the name shown above the title link in a Google search result, indicating which brand the site belongs to. Google determines it from WebSite structured data, the home page's title tag and other signals across the site. It doesn't do the same job as the brand suffix in a title tag, but the two should be consistent.
Frequently asked questions
How long should a title tag be?
Google sets no official length limit for title tags; the title link is truncated in search results as needed to fit the device width. Putting the main query and the page's promise first matters more than counting characters. On my own site I use a 30-65 character range as a working rule.
Should the title tag and the H1 be the same?
They don't have to be identical, but they should describe the same topic. The title is written for the clickable headline in search results, while the H1 is written for the reader who has arrived on the page. If the two differ too much, Google may not be sure which one describes the page correctly and can rewrite the title link.
Why is Google changing my title tag?
Google generates title links automatically and looks at other sources when the title tag doesn't describe the page well. Half-empty, obsolete, inaccurate or boilerplate titles are the ones changed most often. In those cases Google may use the H1, prominent text on the page or the anchor text of links pointing to the page.
Should I include my brand name in the title tag?
Yes, but keep it short. For inner pages, Google recommends adding the site name at the beginning or end of the title, separated by a delimiter such as a hyphen, colon or pipe. The home page is a reasonable place for a title that explains the brand in a little more detail.
How long does it take for a new title tag to show up in Google?
Google has to recrawl and reprocess the page, which can take anywhere from a few days to a few weeks. For important pages you can request a recrawl with the URL Inspection tool in Search Console. To judge the result, wait for at least a few weeks of click and impression data.
Sources
- Google Search Central: Influencing your title links in search results
- Google Search Central Blog: An update to how we generate web page titles (2021)
- Google Search Central Blog: More info about our update to title generation (2021)
- Google Search Central: Site names in Google Search
- MDN Web Docs: The Document Title element
The full topic: Content SEO guide ↗