How to write a title tag: put the keyword first, keep it under ~60 characters, make it compelling and unique, and match search intent. With examples.
How to Write a Title Tag for SEO
To write a title tag, lead with your primary keyword near the front, keep it under about 60 characters so it isn’t cut off, make it compelling and unique to the page, and match the searcher’s intent. Unlike the meta description, the title tag is a genuine ranking factor and it’s the clickable headline in search results — so it does double duty for rankings and clicks. Here’s how to write one well, with examples.
This guide covers the rules that matter for title tags — and how they differ from meta descriptions.
Why the title tag matters (and how it differs from the meta description)
Worth being precise up front: the title tag is the clickable blue headline of your search listing, and unlike the meta description — which is not a ranking factor — the title tag genuinely is a ranking signal and the biggest driver of whether people click. So it does two jobs at once: relevance for Google, and appeal for humans. That’s why it’s worth getting right on every page.
Step 1 — Put the primary keyword near the front
Include your target keyword, and place it toward the beginning of the title where possible. Front-loading the keyword signals relevance clearly and is more likely to survive truncation. Don’t stuff multiple keywords — one clear primary term, naturally placed.
Step 2 — Keep it under about 60 characters
Google truncates titles that are too long (it’s actually a pixel-width limit, but ~60 characters is the practical rule). Keep your title within that so it displays fully. If it’s longer, Google cuts it off with an ellipsis, and your message gets lost.
Step 3 — Make it compelling
The title is your listing’s headline — it should make someone want to click:
- Lead with the value or answer.
- Be specific and clear about what the page offers.
- Consider adding the year, a number, or a benefit where it genuinely fits (“(2026)”, “Step by Step”).
Compelling but honest — don’t overpromise what the page doesn’t deliver.
Step 4 — Make every title unique
Each page needs its own distinct title. Duplicate titles across pages confuse both users and Google about which page is which. A unique, page-specific title accurately represents that page and helps it rank for its own term without competing with your other pages (cannibalization).
Step 5 — Match search intent
The title should reflect what the searcher wants. A how-to query wants a “How to…” title; a comparison query wants an “X vs Y” title; a product query wants clear product framing. Matching the intent — often mirroring the phrasing of the query — makes the searcher recognize your result as what they’re looking for.
Step 6 — Add the brand thoughtfully
Many sites append the brand name (e.g. “Primary Keyword | Brand”). This builds recognition and is fine for most pages — but on tightly length-limited titles, prioritize the keyword and value over the brand, since the brand can be what gets truncated. Use judgment per page.
A quick example
Weak: “Home | Welcome to Our Website | Best Company Ever” (no keyword, no value, generic)
Strong: “How to Write a Title Tag for SEO (2026)” (keyword front, clear value, intent-matched, under 60 characters)
The honest caveat: Google sometimes rewrites titles
Set expectations correctly: Google sometimes rewrites the title it displays if it thinks a different one better matches the query — it may pull from your H1 or page content. You can’t fully control this, but writing a clear, relevant, well-structured title increases the chance Google keeps yours, and gives a strong result when it does. Write for humans and relevance, and the title does its job. (SEO consulting optimizes titles across a site to rank and get clicked — or run a free seo audit.)
Frequently asked questions
How do you write a good title tag? Lead with your primary keyword near the front, keep it under about 60 characters so it isn’t truncated, make it compelling and clear about the page’s value, ensure it’s unique to the page, and match the searcher’s intent — often mirroring the query’s phrasing. Unlike the meta description, the title tag is a genuine ranking factor and the main driver of clicks, so it’s worth getting right on every page.
What is the ideal title tag length? Keep title tags under about 60 characters. Google actually truncates based on pixel width rather than an exact character count, but roughly 60 characters is the practical rule to ensure your full title displays in search results. Titles longer than that get cut off with an ellipsis, so keeping within the limit ensures your complete message and keyword are visible to searchers.
Is the title tag a ranking factor? Yes. Unlike the meta description, which Google confirmed is not a ranking factor, the title tag genuinely is a ranking signal — it helps Google understand and rank the page’s relevance. It’s also the clickable headline in search results, making it the biggest driver of click-through rate. This dual role for both rankings and clicks makes the title tag one of the most important on-page elements.
Should I put my keyword at the beginning of the title tag? Yes, where it reads naturally. Placing your primary keyword toward the front of the title tag clearly signals relevance and makes the keyword more likely to survive if the title gets truncated. Avoid stuffing multiple keywords — use one clear primary term, naturally placed near the beginning, followed by supporting value and, if appropriate, your brand name.
Why does Google change my title tag? Google sometimes rewrites the displayed title when it thinks a different version better matches the user’s query, often pulling from your H1 or page content. You can’t fully control this, but writing a clear, relevant, well-structured title that matches intent increases the chance Google keeps yours. A strong title also serves as a good fallback whenever Google chooses not to rewrite it.
What is the difference between a title tag and an H1? The title tag is the HTML element that appears as the clickable headline in search results and browser tabs, while the H1 is the main visible heading on the page itself. They’re often similar and can even be identical, but they serve different places — the title tag for search listings and the H1 for on-page structure. Both should be clear, relevant, and keyword-appropriate.
Should I include my brand name in the title tag? Often yes — appending your brand name (like “Primary Keyword | Brand”) builds recognition and works well for most pages. However, on titles that are tight on length, prioritize the keyword and value over the brand, since the brand is what tends to get truncated. Use judgment per page: brand recognition matters, but not at the expense of the keyword and compelling value being visible.
Written by Bryan Collins, SEO & AEO strategist. Want titles that rank and get clicked? See SEO strategy work or run a free site audit.