• Home
  • Blog
  • SEO
  • SEO Title Tag: How to Write the Perfect Title for Google

SEO Title Tag: How to Write the Perfect Title for Google

Last updated on 14 Nov 2026
SEO title tag: a search result title highlighted in a list of search results
On a Google results page, searchers scan a dozen blue titles in a few seconds. They click the one that answers their question most clearly. That title is your page’s title tag, or what Google made of it.

The SEO title tag is still one of the most cost-effective settings in search optimization: a handful of words that help Google understand the page and largely decide whether people click. Written well, it lifts click-through rate without changing rankings. Written badly, it gets truncated, rewritten by Google or simply ignored.

This guide covers what a title tag is, how it differs from the H1, the right length, a 4-step method to write an SEO title, before-and-after examples, why Google rewrites titles, and how to manage them on WordPress or an online store. A live tester lets you check your titles as you type.

At a glance

  • The title tag is a page’s HTML title: Google usually shows it as the blue link in search results.
  • Aim for about 50 to 60 characters (under 600 px), with the primary keyword near the start.
  • Every page needs a unique title that reflects its content and stays close to its H1.
  • Google may rewrite a title that is too long, vague, repetitive or stuffed with keywords.
  • On sites with hundreds of pages, title templates save time without sacrificing quality.

What is a title tag?

The title tag is an HTML element in the <head> section of every page: <title>Page title</title>. It does not appear in the body of the page, but it shows up in three places: the browser tab, search engine results (as a clickable link) and often in social media share previews.

Google calls the clickable title of a result a “title link”. To build it, Google relies first on the title tag, but also on the main visible title of the page, headings, the text of links pointing to the page and structured data. In the vast majority of cases, your title tag is what gets shown, as long as it describes the page well.

Its role is twofold. For SEO, it is a strong signal about the topic of the page. For searchers, it is a promise: in a list of results, it is often the only thing they read before clicking.

Title tag vs H1

The two are often confused. The title speaks to the searcher who is not on your site yet; the H1 welcomes the visitor who just arrived.

Title tag H1 heading
Where it shows Browser tab, Google results, shares On the page, at the top of the content
Audience Searchers in results and search engines Visitors who already landed
Length Short (about 60 characters) Free, can be more descriptive
Number One per page One recommended per page
Role Earn the click Confirm the topic and structure the page
Title tag vs H1 heading.

They can be identical, but they do not have to be. A good approach is to keep the same topic and keyword, with a shorter, more compelling title and a slightly more descriptive H1. What matters is consistency: a title that promises something different from the H1 encourages Google to rewrite it.

The rules of an effective SEO title tag

Element Recommendation Why
Length About 50 to 60 characters, under 600 px Longer titles get cut with “…” on desktop
Primary keyword Near the start, in natural wording It reassures searchers that the page matches their query
Uniqueness A different title for every page Two pages with the same title compete with each other
Promise The benefit or angle of the page This is what wins the click against competitors
Brand At the end, after a dash or a pipe Good for recognition, but not the priority
Consistency Close to the H1 and the actual content Otherwise Google is more likely to rewrite it
The essential rules for an SEO title tag.

Title tag length: how many characters?

Google does not set a character limit: it truncates the displayed title when it exceeds the available width, about 600 pixels on desktop. Since letters have different widths, the practical range is 50 to 60 characters. A longer title is not penalized, but its end may not be read, so put the essentials first.

Where to put the keyword

As close to the start as possible, in natural wording. Searchers scan results from left to right: if they see their query in the first words, they know they are in the right place. One primary keyword is enough, possibly with one variation.

Should you include your brand?

On the home page, yes, prominently. On other pages, put the brand at the end, after a dash or a pipe, if length allows. Google already shows the site name above the title in many results, so for blog posts the brand is often optional.

Writing an SEO title: choosing the keyword, writing a base title and fitting it to the right length

How to write an SEO title in 4 steps

Step 1: choose the primary keyword

Start from the query the page should capture. Check its search volume and, above all, its intent: someone typing “title tag” wants an explanation, someone typing “SEO agency Austin” wants a provider. The title must match that intent.

Step 2: list variations and long-tail queries

Note close wordings (“SEO title”, “title tag examples”, “meta title”) and related questions. They will not all fit in the title, but they help you choose the angle and complete the page’s headings.

Step 3: write the base title

Combine the keyword and the topic into a short, clear phrase: “SEO Title Tag: Definition and Best Practices”. The base title should make sense on its own, without the context of your site.

Step 4: add what sets you apart

Look at competing titles for the same query and ask why anyone would click yours: a method, an example, a tool, a direct answer, a specific audience. Add that element without overpromising: a title that promises more than the page delivers drives visitors away.

Are your titles not earning enough clicks? Our SEO experts rewrite your title tags

Title tag examples, before and after

Page type Weak title Optimized title
Agency home page Home | Smith Web Web Design Agency in Austin: Websites and SEO | Smith Web
Blog post Our tips SEO Title Tag: How to Write the Perfect Title
Product page Product 4521 Men’s Waterproof Trail Running Shoes | Example Brand
Ecommerce category Category – Shop LED Desk Lamps: 120 Designer Models | Example Shop
Service page Services WordPress Maintenance: Updates and Security | Example Agency
Local page Contact Emergency Plumber in Toronto, 24/7 | Example Plumbing
Title tag examples, before and after optimization (fictional sites).

In each case, the optimized title says what the page is about, who it is for and what visitors will find. Generic titles (“Home”, “Services”, “Product”) help neither Google nor searchers.

Test your title tag

Type your title and keyword: the tool measures the pixel width with the font Google uses and checks where the keyword sits.

Approximate Google preview:
Title tag tester: pixel width and keyword position (calculated in your browser, nothing is saved)

Why does Google rewrite title tags?

Since 2021, Google has documented that it generates the displayed title itself when the title tag does not seem to describe the page well. The most common causes:

  • A title that is too long or cut in the middle of an idea.
  • A vague or generic title (“Home”, “Untitled page”).
  • The same title on many pages, often from a template.
  • A string of keywords instead of a real phrase.
  • An outdated title, such as a past year.
  • A mismatch between the title, the H1 and the content.
  • A different language from the page content.

No tag prevents rewriting. The best protection is a precise, unique title of reasonable length that matches the H1. If Google still rewrites it, compare the displayed title with yours: it often reveals what Google considers more relevant. After fixing it, you can request reindexing in Search Console.

Title tags and click-through rate

At the same position, a clearer title can earn noticeably more clicks. To measure the effect of a change, open the Performance report in Search Console, filter on the page and compare CTR for the 28 days before and after, query by query. Change only a small group of pages at a time so you know what worked.

Managing title tags on WordPress and ecommerce sites

On WordPress, the title is generated by the theme from the page title unless you use an SEO plugin such as Rank Math or Yoast SEO, which add an “SEO title” field with a preview and counter and let you define templates per content type. See our WordPress SEO guide.

On a store with hundreds of pages, writing every title by hand is unrealistic. SEO plugins and ecommerce platforms (WooCommerce, PrestaShop, Shopify) accept variables such as %product name% %brand% | %site name%. The template gives a clean, unique baseline; keep manual writing for the pages with the most impressions.

Title tags at scale: a template automatically generating unique titles for an online store's product pages

Common mistakes

  • Leaving the default title (“Home”, site name only).
  • Duplicating the same title across pages.
  • Stacking keywords separated by commas or pipes.
  • Putting the brand first on every page.
  • Writing in capitals or overusing symbols.
  • Promising what the page does not contain.
  • Changing titles too often, without time to measure.

These issues show up quickly with a crawler or during an SEO audit.

Conclusion: a small element with a big impact

The title tag fits on one line, but it shapes how Google understands your page and whether searchers click. The rules are simple: primary keyword first, a clear promise, a reasonable length, a unique title consistent with the content. The rest comes down to measurement: compare clicks before and after, page by page.

Our advice: start with the pages that have many impressions and few clicks in Search Console. They gain the most from a better title, often within a few weeks.

Frequently asked questions about title tags

What is the ideal title tag length?

Google does not set a character count, but it truncates the displayed title beyond about 600 pixels on desktop. In practice, aim for 50 to 60 characters and put the main information first. A longer title is not penalized, but its end may be replaced with an ellipsis.

Is the title tag still important for SEO?

Yes. It remains an important signal about the page topic and is the first thing searchers read in results. Even when Google rewrites the displayed title, it usually relies on your title tag. A good title improves both relevance and click-through rate.

Can the title tag and the H1 be the same?

Yes, that is not a mistake. Many sites keep the same topic and keyword, with a shorter, more compelling title and a more descriptive H1. What matters is that both stay consistent with the page content.

Should I include my brand name in the title tag?

On the home page, yes. On other pages, put the brand at the end, after a dash or a pipe, if length allows. Google often already shows the site name above the title, which makes the brand optional for blog posts.

How can I stop Google from rewriting my title tag?

No tag prevents it. Write a precise, unique title of reasonable length, without repeated keywords and consistent with the H1. If Google still rewrites it, compare the displayed title with yours to see what it finds more relevant, fix it, then request reindexing in Search Console.

How should I write title tags for ecommerce product pages?

Use a template that combines the product name, a key attribute or the brand, then the store name. Every title becomes unique. Keep manual writing for the products and categories with the most impressions in Search Console.

Sources