Title Tag Optimization: How to Write Titles That Rank and Get Clicked
A practical guide to writing title tags that rank: ideal length in pixels, keyword placement, why Google rewrites titles, and how to preview yours before you publish.
The title tag is the single most important on-page SEO element you can control. It's the clickable headline of your search result, a strong ranking signal, and the first impression a searcher forms of your page, all in roughly 60 characters. Yet most titles are an afterthought: the CMS default, the raw page name, or a keyword crammed in and forgotten. Fixing your title tags is one of the fastest ways to earn more clicks from rankings you already have.
What a title tag is (and isn't)
A title tag is the HTML element that defines a page's title:
<title>Your Page Title Here</title>
It shows up in three places: the clickable blue headline in search results, the browser tab, and the preview card when your page is shared on social platforms. It is not the same as your on-page <h1> heading, though they often overlap. The <h1> is for readers on the page. The title tag is for people deciding whether to visit at all. You can and often should write them slightly differently, the title tag optimised for the search snippet, the H1 optimised for the reader who's already arrived.
How long should a title tag be?
The honest answer is measured in pixels, not characters, because Google truncates titles by width. A capital "W" is far wider than a lowercase "i", so a 60-character title of narrow letters may fit while a 55-character title of wide ones gets cut with an ellipsis.
As a working guideline:
- Aim for around 50–60 characters, or roughly 575 pixels, for desktop results.
- Front-load the important words so nothing critical gets truncated.
- Don't pad to hit a length. A tight 45-character title beats a bloated 60-character one.
Because character counts lie, the reliable move is to preview the actual rendered width before publishing. Our meta title preview shows you exactly where Google will cut your title, so you're optimising against the real limit instead of guessing.
Where to put your keyword
Placement matters. A few durable principles:
- Include your primary keyword, ideally near the front. It confirms relevance to both the search engine and the scanning eye.
- Write for a human first. A title stuffed with keywords ("Cheap Shoes Buy Shoes Best Shoes Online Shoes") reads like spam and tanks click-through even when it ranks.
- Lead with the specific, follow with the brand. A common, effective pattern is
Primary Keyword - Useful Modifier | Brand. The brand at the end builds recognition without stealing prime space. - Match search intent. If people searching your keyword want a comparison, signal a comparison. If they want a how-to, signal steps.
Make it click-worthy, not just rankable
Ranking gets you shown. The title gets you chosen. Titles that earn clicks tend to share traits:
- Specificity. "How to Compress a PDF Under 25 MB" beats "PDF Compression Tips" because it names an outcome.
- Numbers and years where honest. "7 Fixes" or "in 2026" adds concreteness, but never fake a year or a number.
- A clear benefit or answer. Tell the searcher what they'll get.
- Power words used sparingly ("free", "fast", "no sign-up") when they're true and relevant.
The goal is a title that reads as the most direct, credible answer to the query. That's what wins the click even from position three or four.
Why Google rewrites your titles
Frustratingly, Google sometimes replaces the title you wrote with one of its own. This happens more than people realise, and it's usually a signal, not random. Google tends to rewrite titles that are:
- Too long and get awkwardly truncated.
- Keyword-stuffed or repetitive.
- Boilerplate, like an identical brand-prefix on every page.
- Missing or empty, forcing it to pull from your
<h1>or anchor text. - A poor match for the actual query, when your
<h1>fits better.
You can't force Google to keep your title, but you dramatically improve the odds by writing a concise, accurate, non-repetitive title that clearly matches the page. In other words: the same things that make a good title also make Google leave it alone.
Common title tag mistakes
- Duplicate titles across many pages. Each page needs a distinct title. Identical ones confuse both users and crawlers.
- Leaving the CMS default ("Home", "Untitled", "Page 2").
- Over-branding, where the brand name eats half the pixel budget on every page.
- Truncation that cuts your title mid-word because you never previewed the width.
- Mismatched intent, where the title promises something the page doesn't deliver, which spikes bounce and, over time, suppresses rankings.
Preview before you publish
The reliable title workflow has one non-negotiable step: preview. Seeing your title rendered at true search width (beside its description and URL) catches truncation, awkward brand placement, and weak wording before real searchers ever see them. Check the width with the meta title preview, then check the whole snippet in context with our Google SERP preview so the title, URL, and description read as one coherent pitch.
While you're here, remember the title works alongside the rest of your page metadata. A great title earns the click. A correct canonical URL makes sure the right page is the one ranking in the first place. Optimising them together is what separates pages that merely appear from pages that get visited.
High leverage, low effort
Title tag optimization is high leverage and low effort: write a concise, specific, human-first headline. Put your primary keyword near the front. Keep it under about 575 pixels, and make it the clearest answer to the query. Preview the real rendered width with the meta title preview before you ship, keep every title unique, and you'll pull more clicks from rankings you've already earned: often the fastest traffic win available to you.
Preview in pixels before you publish
Because Google truncates by rendered width rather than character count, the only preview worth trusting is one that measures pixels. The meta title preview renders your title at real result widths and warns when wide letters push it past the budget that a character counter would have approved. Two minutes there before publishing beats discovering the truncation in the wild a week later.
Sources
- Influencing your title links in search results (Google Search Central), why Google sometimes rewrites your title
Written by
Chandrabhan Shekhawat
Founder of Gigai Kripa Services. Builds the 250+ privacy-first browser tools on this site and writes the guides that go with them.
Never miss a guide
New tools and how-to articles land regularly. Follow along however you like. No inbox required.
Keep reading
seo-tools
HTTP Security Headers Explained: CSP, HSTS, and the Rest
What HTTP security headers do, why they matter for both security and SEO trust, and a plain-English walkthrough of CSP, HSTS, X-Frame-Options, and the other headers worth adding.
6 mins readseo-tools
Robots.txt Explained (With Real Examples)
Understand robots.txt: how it controls crawlers, the exact syntax for User-agent, Disallow and Allow, common templates, and the mistakes that can deindex your site.
6 mins readseo-tools
How to Preview Your Google Search Result Before You Publish
See exactly how your page will look in Google before it goes live: how the title, URL, and meta description render, where they truncate, and how to optimise the whole snippet for clicks.
5 mins read