The title tag is the single most important SEO element on any webpage. It is the blue clickable headline that appears in Google search results. It is the text in your browser tab. It is the name a visitor sees when they bookmark or share your page. Done well, it drives rankings and clicks. Done badly, it costs you both.
This guide covers everything about title tags: what they are, how Google uses them, the exact rules for writing strong titles, formulas you can apply to any page, common mistakes that hurt rankings, and real examples comparing good vs bad titles. By the end, you will be able to write title tags that earn higher rankings and more clicks.
- What Is a Title Tag?
- Title Tag vs H1: The Difference
- Where Title Tags Appear
- Why Title Tags Matter for SEO
- The Right Length
- Title Tag Formulas That Work
- Title Tag Patterns by Page Type
- Good vs Bad Examples
- Why Google Rewrites Title Tags
- Common Title Tag Mistakes
- How to Add or Update Title Tags
- Tools for Title Tag Optimisation
- Frequently Asked Questions
What Is a Title Tag?
A title tag is an HTML element placed inside the <head> section of a webpage. It defines the title of the page that browsers and search engines use to identify the document.
Here is what the HTML looks like:
<title>Web Design Kenya | Custom Websites with M-Pesa | WPfoss</title>
Notice the structure: a primary keyword phrase at the start, a value proposition in the middle, and the brand at the end, separated by pipes. This is one of the most common and effective title tag formulas, and we will cover several more below.
Title Tag vs H1: The Difference
One of the most common confusions in SEO. The title tag and the H1 heading are different elements with different jobs.
- Title tag lives in
<head>. It is what appears in browser tabs and Google search results. Visitors do not see it on the page itself. - H1 is the main visible heading at the top of the page content. Visitors see it the moment they land.
They can be identical, and often they are similar, but they do not have to be. The title tag is optimised for search engines and click-through rates. The H1 is optimised for the visitor who has already arrived on the page.
Example:
- Title tag: "Web Design Kenya | Custom Websites with M-Pesa | WPfoss"
- H1 on the page: "Custom Web Design in Kenya"
Where Title Tags Appear
Your title tag shows up in three places that affect your business.
1. In Google search results
The blue clickable headline at the top of each search result. This is by far the most important place because it directly affects whether people click on your listing or a competitor's.
2. In the browser tab
The text shown in the browser tab when the page is open. When users have many tabs open, the title helps them switch back to your page.
3. In bookmarks and shares
When someone bookmarks your page or shares the URL on platforms that do not override with Open Graph titles, the title tag is the default name used.
Why Title Tags Matter for SEO
Title tags affect rankings in two ways: directly and indirectly.
Direct ranking signal
Google has confirmed multiple times that the title tag is one of the strongest on-page ranking factors. Including your target keyword in the title (especially near the beginning) signals to Google what the page is about and helps it rank for that keyword.
Indirect ranking through click-through rate
Google measures how often searchers click your result over competitors. A compelling title that earns more clicks than expected signals to Google that your result is valuable, improving rankings over time. A boring or unclear title that gets few clicks signals the opposite.
Branding and recognition
Consistent brand placement in your title tags builds brand recognition in search results. After seeing "| WPfoss" five times across different searches, users start to recognise and trust your brand even before they click.
The Right Length
Title tags should be 50 to 60 characters in 2026. Google starts to truncate titles longer than this in search results, replacing the cut portion with an ellipsis.
Title tag character ranges
- Under 30 characters: Usually too short. You are leaving keyword and CTR opportunity on the table.
- 30 to 50 characters: Solid range. Most well-optimised titles land here.
- 50 to 60 characters: Maximum useful length. Make every character count.
- Over 60 characters: Gets truncated. Critical words at the end disappear from view.
Title Tag Formulas That Work
Here are proven formulas you can adapt for any page on your site. Each one matches a specific intent type.
Formula 1: Primary Keyword + Modifier + Brand
The cleanest, most reliable formula. Works for service pages, product pages, and most informational pages.
Formula 2: Listicle (Number + Keyword + Year + Brand)
Strong CTR formula for blog posts and listicles. Numbers and years signal freshness and specificity.
Formula 3: Question Title
Excellent for informational blog posts. Matches the searcher's exact query, especially for "what", "how", and "why" searches.
Formula 4: Comparison Title
For comparison content. Buyer-stage queries like "vs" and "compared" rank well with this format.
Formula 5: Action + Benefit + Brand
Compelling for service and product pages. Front-loads the action and the value proposition.
Formula 6: Location + Service + Brand
Perfect for local SEO. Matches "service near me" and "service [location]" queries directly.
Title Tag Patterns by Page Type
Different page types call for different title tag patterns. Use the right one for each.
๐ Homepage
Lead with your strongest brand or service term. Establish what the business does at a glance.
๐๏ธ Service Page
Lead with the service keyword. Include location and brand for local SEO and recognition.
๐ Blog Post
Lead with the topic or question. Add year for freshness. Brand at the end.
๐ฆ Product Page
Lead with the product name and key attribute. Brand at the end.
๐ Category Page
Use the category name and modifier. These pages should target broad commercial keywords.
โน๏ธ About Page
"About" works but is generic. Add brand and tagline for personality.
๐ Contact Page
"Contact" plus brand is fine. Add location for local SEO benefit.
Good vs Bad Examples
Real examples comparing weak titles to their stronger versions.
Example 1: Homepage
Generic, no keyword, no brand, no value. Google will likely rewrite this and you will lose CTR.
Brand recognised, primary services clear, location signals included. Builds trust at first glance.
Example 2: Service Page
No specific service mentioned, no location, no value. Cannot rank for anything meaningful.
Specific service keyword, location modifier, value proposition, and brand recognition.
Example 3: Blog Post
Too short, no location, no year, no specifics. Loses to more detailed competitor titles.
Answers a real question, includes location and year, signals comprehensiveness.
Example 4: Product Page
Could be anything. No brand, no spec, no buyer hook.
Specific product, exact specs, action verb, location, brand. Pulls in buyers ready to purchase.
Why Google Rewrites Title Tags
Google rewrites or replaces your title tag in search results in roughly 20% of cases. When and why:
- Your title is too long. Google truncates and may pull a clearer version from your H1 or first paragraph.
- Your title is keyword-stuffed. Repeating the same keyword three times signals manipulation, so Google rewrites it.
- Your title does not match the search query. If a user searches for "website cost Nairobi" and your title is generic, Google may swap in clearer text.
- Your title is missing. Google generates one from page content.
- Your title duplicates other pages. Google picks one of your pages to favour and rewrites the rest.
- Your title is just the brand name. Google may add context like "Home" or pull from the H1.
To prevent rewrites: keep titles under 60 characters, include the primary keyword naturally, match the search intent, make each page's title unique, and write for humans rather than for keyword density.
Common Title Tag Mistakes
- Leaving titles blank or as "Untitled Document". The default CMS placeholder is a missed opportunity.
- Using the same title on multiple pages. Causes keyword cannibalisation and confuses Google.
- Stuffing keywords. "Web Design Kenya, Best Web Designer Kenya, Kenya Web Design" looks spammy and gets rewritten.
- Forgetting the brand name. Hurts recognition and trust signals.
- Putting the brand at the start. Burying the keyword behind the brand wastes the most important position.
- Writing titles over 60 characters. Critical information gets cut off in search results.
- Generic titles like "Services", "About", "Home". They tell Google nothing about what the page is about.
- Clickbait that does not deliver. Misleading titles drive high bounce rates, which Google penalises.
- Using all caps. Looks shouty and unprofessional. Sentence case or title case works best.
- Not updating titles when content changes. Old titles drift away from current page content.
How to Add or Update Title Tags
On WordPress
Install a free SEO plugin like Rank Math or Yoast SEO. Each post and page editor will then have a section to set the SEO title independently from the visible post title. Type your optimised title there and save.
On Shopify
In each product or page editor, scroll to "Search engine listing preview" and click "Edit website SEO". Update the page title field there.
On custom HTML or PHP sites
Edit the <title> element inside the <head> section of each page:
<head>
<title>Your Page Title | Brand Name</title>
</head>
On Wix and Squarespace
Each platform has SEO settings per page. Look for "SEO Basics" or "Page SEO" in the page editor and update the title field.
Tools for Title Tag Optimisation
- Google Search Console. Free. Shows which queries your titles rank for and the click-through rate. Use this data to identify titles that need rewriting.
- SERPSim or Moz Title Tag Preview. Free. Preview how your title will appear in Google before publishing.
- Screaming Frog SEO Spider. Free up to 500 URLs. Crawls your site and flags missing, duplicate, or overlong title tags.
- Rank Math, Yoast SEO, AIOSEO. Free WordPress plugins that include title tag editors with length indicators and previews.
- Ahrefs or SEMrush Site Audit. Paid. Site-wide title tag analysis with prioritised recommendations.
- SEO services Kenya, KSh 10,000 per month includes title tag audits and optimisation for every page.
- Web design Kenya, every site we build ships with optimised title tags configured.
- Ultimate guide to meta tags, the bigger picture including descriptions, canonicals, and Open Graph tags.
- SEO in Kenya guide, how title tags fit into the bigger SEO strategy.
- Keyword research Kenya, finding the right keywords to put in your titles.
Frequently Asked Questions
What is a title tag?
A title tag is an HTML element placed in the head section of a webpage that defines the title of the page. It appears in three places: as the clickable blue headline in Google search results, in the browser tab when the page is open, and as the default name when someone bookmarks or shares the page. It is one of the most important on-page SEO elements.
How long should a title tag be in 2026?
Title tags should be 50 to 60 characters. Google typically truncates titles longer than 60 characters in search results, replacing the rest with an ellipsis. Mobile search shows slightly less. Aim for the most important words at the start so they show up even if truncated.
What is the difference between a title tag and an H1?
A title tag is the HTML title element that appears in browser tabs and Google search results. An H1 is the main visible heading on the page itself, which visitors see when they land. They can be the same text, but they often differ slightly: title tags are written for search engines and click-through rate, H1s are written for visitors on the page.
Does the title tag affect Google rankings?
Yes. The title tag is one of Google's most important on-page ranking signals. Including your target keyword in the title tag, especially near the beginning, signals to Google what the page is about. A well-written title tag also boosts click-through rates from search results, which is a confirmed indirect ranking signal.
Why does Google sometimes rewrite my title tag?
Google rewrites title tags when it judges your tag does not match the search query well, is too keyword-stuffed, is too long, is missing entirely, or duplicates other pages on your site. To prevent rewrites, write clear, unique, descriptive titles that match search intent and stay under 60 characters.
Where should I put the keyword in my title tag?
Put the primary keyword near the beginning of the title tag. This signals to Google that the keyword is central to the page's topic, and ensures the keyword shows even if the title gets truncated. The brand name typically goes at the end after a separator like the pipe character.
Should I include my brand name in every title tag?
Yes for most cases. Include your brand name at the end of the title tag (after a pipe or hyphen separator) on every page. This builds brand recognition in search results, improves CTR for repeat visitors, and helps users identify your business across multiple SERP listings.
How do I update my title tag in WordPress?
Install a free SEO plugin like Rank Math or Yoast SEO. Once installed, each page and post editor will have a section to set the SEO title independently from the post title. Type your optimised title there and save. The plugin handles the HTML automatically.
What separator should I use in title tags?
The pipe character (|) is the most common and clean separator. Hyphens (-) work too but can be confused with hyphenated words. Avoid colons (:) at the start, em dashes, or unusual characters. Stick with pipes or hyphens for consistency.
Can I use emojis in title tags?
Technically yes, but Google often strips them out in search results, and they can look unprofessional in many industries. Use sparingly and only when they add clear value (like a green tick for verified content or a star for ratings). For most business sites, skip emojis in title tags.
Want your title tags audited and optimised?
Our SEO service includes title tag audits and ongoing optimisation as part of the monthly KSh 10,000 plan. Every new WordPress site we build ships with optimised title tags configured for every page.
See SEO ServicesRelated: Ultimate Guide to Meta Tags ยท SEO in Kenya Guide ยท How to Choose Keywords ยท Keyword Research