What Is a Title Tag and How Should You Write One

A title tag is the HTML element that defines the title of a web page: <title>Your Page Title Here</title>, placed in the document <head>. It shows up in three main...

On this page

A title tag is the HTML element that defines the title of a web page: <title>Your Page Title Here</title>, placed in the document <head>. It shows up in three main places: as the clickable headline in search engine results, as the text on a browser tab, and, via the og:title Open Graph property as a fallback, as the headline shown when a page is shared on social platforms (most social platforms will use a dedicated og:title tag if one is present and only fall back to the HTML title tag if it isn’t).

It is one of the oldest and most consistently important on-page SEO elements, partly because it does two jobs at once: it gives search engines a strong relevance signal about what the page is about, and it’s the first thing a human sees and judges before deciding whether to click.

Where It Shows Up

Location What's typically used
Google search results Your <!–INLINECODE4–> tag content, or a Google-generated alternative
Browser tab The raw <!–INLINECODE5–> tag content, unmodified
Social shares (Facebook, LinkedIn, etc.) <!–INLINECODE6–> if present, otherwise the <!–INLINECODE7–> tag
Bookmarks / browser history The raw <!–INLINECODE8–> tag content

Length and Display Guidance

The long-standing rule of thumb is to keep titles to roughly 50 to 60 characters, or about 600 pixels on desktop search results. This is genuinely useful as a planning guideline, but it’s important to be honest about what kind of guideline it is: Google does not enforce a hard character or pixel cutoff. What actually happens is that Google measures rendered pixel width, and because letters vary in width (a lowercase “i” takes far less horizontal space than an uppercase “W”), two titles with the same character count can display very differently, and one can get truncated while the other doesn’t. Treat 50 to 60 characters as a rough, conservative target that keeps most titles intact across both desktop and mobile, not as a hard limit a few characters over is somehow penalized.

It’s also worth remembering that title display width and truncation behavior can differ between desktop and mobile, and Google has changed exact truncation behavior over time, so the safest practice is to put your most important words (your primary topic and any unique identifying detail) near the front of the title, so the part most likely to get cut off, if it’s cut off at all, is the least essential part.

Best Practices

  • Make every title unique. Duplicate titles across multiple pages (a common problem on ecommerce and large content sites using auto-generated templates) make it harder for both users and search engines to tell pages apart, and can contribute to the kind of internal competition that shows up as keyword cannibalization between near-identical pages.
  • Put the primary topic or keyword near the front. Front-loading the most relevant term helps both scanning users and search engines quickly identify relevance, though it should still read naturally, not as a stuffed keyword string.
  • Avoid keyword stuffing. Repeating the same term or close variants multiple times in one title reads as spammy to users and doesn’t provide additional relevance benefit; one clear, well-placed instance of your target term is enough.
  • Place your brand name thoughtfully. For most pages, putting the brand at the end (often after a separator like a pipe or dash) keeps the page topic front and center while still providing brand recognition. Homepages are a common exception, where leading with the brand name often makes sense.
  • Write for humans first, search engines second. A title that accurately and appealingly describes the page tends to perform well both for ranking relevance and for click-through rate; an over-engineered title built purely around exact-match keyword placement often undersells what’s actually on the page.
  • Match the title to the actual page content. A title that overpromises or doesn’t match what’s on the page leads to poor user experience and a higher chance Google will decide to generate an alternative title.

When and Why Google Rewrites Titles

Google does not always use the exact title tag you wrote. This is documented, intentional behavior, not a bug or a sign that something is technically broken. Google’s own Search Central documentation on influencing title links explains that title generation is fully automated and takes into account both the content of the page and references to that page elsewhere on the web, such as anchor text used by other sites linking to it.

Google is more likely to generate an alternative title when the existing title tag is:

  • Missing entirely, or empty
  • Generic or boilerplate, reused identically across many pages (a default CMS-generated title, for instance)
  • Stuffed with repeated keywords rather than written as a natural phrase
  • Mismatched with what the page actually contains
  • Excessively long, to the point that the core topic is buried

Google has also published guidance specifically addressing how it generates titles for documents with language or script misalignment, an edge case relevant to multilingual sites where the title tag’s language doesn’t match the page’s primary content language. The practical takeaway across Google’s published guidance is consistent: a clear, accurate, uniquely written, reasonably concise title tag is the best way to maximize the odds Google uses exactly what you wrote, but there’s no setting or markup that forces it to.

Auditing Titles at Scale

On a small site, checking titles page by page is realistic. On a larger site, it isn’t, and the two practical tools for this are Search Console and a dedicated crawler.

Inside Search Console, the Performance report can be filtered by page to compare your written title against actual click-through rate by query, which is a useful way to spot titles that may be technically fine but aren’t earning clicks relative to their ranking position.

For bulk auditing across hundreds or thousands of URLs at once, a dedicated SEO crawler such as Screaming Frog’s SEO Spider can pull every title tag on a site in one pass, flagging titles that are missing, duplicated across multiple URLs, or outside your target length range. That kind of bulk export is generally the only practical way to catch sitewide template issues (an entire product category accidentally sharing one generic title, for example) that wouldn’t be obvious from spot-checking individual pages.

A Quick Title Tag Checklist

  1. Is this title unique across the entire site, not duplicated on any other page?
  2. Does the primary topic or term appear near the front, phrased naturally?
  3. Is it roughly 50 to 60 characters, understanding that’s a guideline, not a hard cutoff?
  4. Does it accurately describe what’s actually on the page?
  5. Is the brand name placed deliberately (end for most pages, front for the homepage), not just appended out of habit?
  6. Would a real person want to click this in a list of ten search results?

A title tag that satisfies all six of these is unlikely to get algorithmically rewritten, and more importantly, is likely to do its actual job: accurately representing the page and earning the click. Run that six-question checklist against your three highest-traffic pages first, title tags on high-traffic pages compound the cost of a weak one the most.

Leave a comment

Your email address will not be published. Required fields are marked *