ONPAGE

Title Tag SEO: How to Write Title Tags That Rank and Get Clicks

Title tags are the single most important on-page SEO element. Here's how to write them for rankings and CTR — with length rules, keyword placement, rewrite triggers, and examples.

The title tag is the most important on-page SEO element on any page. It tells Google what the page is about, appears as the clickable blue headline in the SERP, and is the first thing users see when deciding whether to click. Getting title tags right is one of the highest-leverage improvements you can make to organic traffic — both through better rankings and higher click-through rates.

This guide covers how title tags affect rankings, how to write them, what Google does when it rewrites them, and how to audit them across your entire site.

How title tags affect SEO

Title tags influence SEO in two distinct ways:

Rankings: The title tag is the strongest on-page signal for what a page is about. Google's systems use it as the primary input for understanding a page's topic and query relevance. While Google also considers H1s, body content, and links, the title tag carries the most concentrated weight of any single on-page HTML element. Including the target keyword in the title tag — especially near the beginning — is one of the clearest ranking signals available.

Click-through rate: The title tag becomes the headline users see in the SERP. Even for a page that ranks in position 3, a compelling title can drive significantly more clicks than a boring or poorly written one. CTR affects rankings indirectly: consistently high CTR for a given query signals to Google that users prefer your result, which can improve ranking over time.

Both effects matter. An optimised title that helps you rank #5 instead of #8 is valuable. An optimised title that drives 30% more clicks at position #5 is equally valuable — and compounds with the ranking benefit.

Title tag length rules

Google truncates title tags in the SERP based on pixel width, not character count. The desktop SERP truncates titles at approximately 600px wide. At typical font sizes, this corresponds to about 55–60 characters for mixed-case text.

Practical guidelines:

  • Target 50–60 characters — enough room for the keyword + context + brand without truncation
  • Never exceed 65 characters — most titles beyond this will be cut off with "…"
  • Don't pad to fill the limit — a tight, specific 40-character title is better than a padded 60-character one
  • Brand name at the end — "Title Tag SEO Guide | Company Name" not "Company Name | Title Tag SEO Guide" — users and Google read from the left

If your title is too long, Google doesn't always truncate gracefully — it may cut mid-word or mid-phrase. Check your titles in a SERP preview tool before publishing.

Where to put the keyword

The target keyword should appear as early in the title as possible without making the title unreadable.

Examples:

| Query | Good title | Why | |---|---|---| | "title tag seo" | "Title Tag SEO: Write Tags That Rank and Convert" | Query first | | "canonical url" | "Canonical URL: What It Is and How to Set It Correctly" | Query first | | "shopify seo audit" | "Shopify SEO Audit — Free, No Signup | DeepSEOAnalysis" | Query first + brand at end | | "best seo tools" | "Best SEO Tools 2026 — Expert Picks With Honest Tradeoffs" | Year adds freshness signal |

Google and users scan titles from left to right. A keyword at position 1 in the title carries more weight than the same keyword at position 8. More importantly, users scanning a list of SERP results identify relevant results by the first words of the title — a title that leads with the query they searched for matches their intent immediately.

Avoid front-loading the brand: "Company Name | Title Tag SEO Guide" buries the keyword behind a brand signal that most users will skip past. The exception: brand queries ("Company Name pricing", "Company Name review"), where users are specifically looking for your brand and it should come first.

How to write title tags for CTR

A title tag that ranks but doesn't get clicked is only half of the value. To maximise CTR:

Match the intent precisely. A title that promises what the user actually wants gets clicks. "Title Tag SEO: A Complete Guide" matches informational intent. "Best Title Tag Checker Tool — Free" matches commercial intent. "Write a Title Tag in 3 Steps" matches process-seeking intent. Mismatched intent (a transactional title for informational content, or vice versa) gets ignored.

Use power words that signal value. "Complete", "Free", "Step-by-step", "Checklist", "2026", "Guide", "Examples" — these signal to users that your page has a complete, useful answer rather than a thin overview. Use sparingly and only when accurate; a title that overpromises and underdelivers increases pogo-sticking.

Include the year for freshness signals. For queries where users want current information ("best SEO tools 2026", "core web vitals 2026"), adding the current year to the title signals freshness and boosts CTR — especially if competitors' titles show older years.

Ask a question for FAQ-style content. "What Is a Title Tag? Definition, Best Practices, and Examples" performs well for informational queries because it mirrors how users phrase their searches. Question-format titles also match voice search and AI answer engine phrasing.

Avoid keyword stuffing. "Title Tag SEO: Best Title Tags for SEO Ranking 2026 Title Tag Guide" is a stuffed title. Google may rewrite it, and users will skip it. Write for the human first.

When Google rewrites your title tag

Google rewrites title tags in approximately 60–70% of cases, replacing your title with text it considers more representative of the page's content. Common triggers:

Title tag too long. If truncation would make the title meaningless, Google may replace it with a shorter version derived from the H1, OG title, or prominent page text.

Title keyword-stuffed. Titles that repeat the keyword 2–3 times or contain pipe-delimited keyword lists ("SEO | SEO Tool | SEO Audit | Free SEO") are rewritten with cleaner alternatives.

Title mismatches the page content. If the title tag doesn't accurately describe what's on the page — an over-optimised title that promises content the page doesn't deliver — Google substitutes text from the page that better represents the actual content.

Title tag contains boilerplate. "Home", "Untitled", "New Page", or the CMS's default title template triggers rewriting.

Title doesn't match the dominant query. When the page ranks for a different query than the title targets, Google may rewrite the title to better match the query it's actually serving.

How to prevent rewrites: Write an accurate title that genuinely describes the page's content at the right length. If Google keeps rewriting your title despite following best practices, check whether your H1 is significantly different from the title tag — Google often uses the H1 as the basis for a rewrite.

Common title tag mistakes

Duplicate title tags. Every page needs a unique title tag. Duplicate titles across multiple pages signal duplicate or near-duplicate content and make it harder for Google to understand which page is the authoritative version for a given query. The most common source: CMS templates that generate the same title for every blog post until an author manually edits it.

Missing title tags. Pages with no <title> element force Google to generate one from page content — almost always worse than a human-written title. Audit for missing titles first.

Title tag and H1 mismatch. The title tag and H1 don't need to be identical, but they should be closely related. A large mismatch (title targets "SEO tools" but H1 says "Our Product") sends conflicting signals about what the page is about.

No keyword in the title. A title like "The Complete Guide" or "Everything You Need to Know" without the target keyword gives Google no clear signal about the page's topic. Include the specific keyword the page targets.

Brand at the front of non-branded pages. Putting the brand name first on non-brand pages wastes valuable front-position real estate on a signal that doesn't help you rank or convert for the target query.

Setting title tags by CMS

Next.js (App Router):

export function generateMetadata(): Metadata {
  return {
    title: { absolute: 'Title Tag SEO: How to Write Tags That Rank | DeepSEOAnalysis' }
  }
}

Use absolute to prevent the default title template from appending the site name twice.

WordPress: Yoast SEO and Rank Math provide per-page title tag fields in the page editor sidebar. The SEO title field overrides whatever WordPress generates. Always set it manually for important pages; don't rely on the auto-generated %title% | %sitename% template for your highest-priority pages.

SvelteKit:

<svelte:head>
  <title>Title Tag SEO: How to Write Tags That Rank</title>
</svelte:head>

Hugo: Set title in front matter — it's used by the jekyll-seo-tag equivalent ({% seo %} tag) as the HTML title. Override per-page in YAML front matter with seoTitle if the front matter title is better suited as the page heading.

How to audit your title tags

Run a full audit to check every page for:

  • [ ] Missing title tag
  • [ ] Title tag over 60 characters (will be truncated)
  • [ ] Title tag under 20 characters (too short to be descriptive)
  • [ ] Duplicate title tag across multiple pages
  • [ ] Title tag doesn't contain the page's target keyword
  • [ ] Title tag is a CMS default ("Home", "Page 1", "Untitled")
  • [ ] Title tag significantly mismatches the H1

The DeepSEOAnalysis free audit checks all of these across every crawled page, flags violations by severity, and shows which specific pages need attention — no signup required.


Frequently asked questions

How long should a title tag be for SEO?

Aim for 50–60 characters. Google truncates titles at approximately 600px wide in the SERP — roughly 55–60 characters for typical mixed-case text. Titles beyond 65 characters are almost always cut off. Shorter is fine if the title is specific and descriptive; don't pad to hit a character target.

Does the title tag directly affect Google rankings?

Yes — the title tag is the strongest single on-page ranking signal. Google uses it as the primary indicator of what a page is about. Including the target keyword in the title tag, especially near the beginning, is one of the clearest ranking signals you control directly. Meta descriptions don't affect rankings; title tags do.

Why does Google change my title tag in the SERP?

Google rewrites title tags it considers inaccurate, too long, keyword-stuffed, or mismatched with the page's actual content. Studies estimate 60–70% of SERP titles differ from the title tag. To reduce rewrites: keep the title under 60 characters, write it to accurately describe the page, align it closely with the H1, and avoid keyword repetition. Google typically uses the H1 or prominent page text as the basis for rewrites.

Should the title tag and H1 be the same?

Not necessarily identical, but they should be closely related and describe the same topic. The title tag is optimised for the SERP (keyword-first, length-constrained, CTR-oriented); the H1 is the page's visible headline for readers (can be slightly longer, more descriptive). A common pattern: title tag = "Canonical URL: What It Is and How to Set It | Brand"; H1 = "What Is a Canonical URL and How Do You Set One?". Both describe the same page, but in slightly different registers for their respective audiences.

Run DeepSEOAnalysis on your own site.

Free, no signup. Technical SEO, Core Web Vitals, structured data, and AI visibility in one report.

Run a free audit →