SEO & GEO

How to Write a Title Tag and Meta Description That Rank

Title tags and meta descriptions are the first thing searchers read. Here is how to write them for length, clarity and clicks, with weak-vs-strong examples.

StackOptic Research Team21 Apr 20269 min read
Writing an effective title tag and meta description for search

The title tag and meta description are the first words a searcher reads about your page, often before they have seen a single pixel of the page itself. Get them right and you earn the click; get them wrong and the best content in the world never gets opened. In short: write a title tag of about 50 to 60 characters that leads with your main keyword and is unique to the page, and a meta description of about 150 to 160 characters that is compelling, accurate and matched to what the searcher wants. This guide explains how to do both well, where these elements appear, the mistakes that quietly cost you clicks, and a table of weak-versus-strong examples you can copy.

These two snippets are pure on-page fundamentals, and they pair naturally with GEO and with structured data like FAQ schema.

What a title tag and meta description actually are

A title tag is an HTML element — <title> in the page's <head> — that defines the document's title. Search engines use it as the clickable blue headline of a search result (Google calls this the "title link"), browsers show it in the tab, and social and messaging platforms fall back to it when they have nothing else. It is widely regarded as the single most important on-page SEO element because it tells both the engine and the human, in a few words, what the page is about.

A meta description is a <meta name="description"> tag, also in the <head>. It does not appear on the page itself; instead, search engines often use it as the grey summary snippet beneath the title link. Its job is not to rank the page but to sell the click — to convince the searcher that this result, out of ten on the page, is the one that answers their question.

Together they form your SERP snippet: the headline and the pitch. They are also, increasingly, the text that gets reused elsewhere — in social previews, in chat-app link unfurls, and as supporting context that AI engines read when deciding what a page is about.

How long should each one be?

Length is the question everyone asks, so let us be precise about what Google actually does.

For title tags, Google does not count characters; it measures pixel width and truncates titles that are too wide for the available space, replacing the overflow with an ellipsis. As a practical rule of thumb that maps to that pixel limit, 50 to 60 characters (around 600 pixels) keeps the great majority of titles from being cut off. The exact point varies because wide characters (like W and M) take more room than narrow ones (like i and l), so treat 60 as a soft ceiling rather than a hard line.

For meta descriptions, Google displays up to roughly 150 to 160 characters on desktop before truncating, with mobile sometimes showing a little less. There is no penalty for going longer — Google simply cuts it off — but anything past the limit is wasted, so write to fit.

ElementPractical lengthWhat happens if too long
Title tag~50–60 characters (~600px)Truncated with an ellipsis in the SERP
Meta description~150–160 charactersCut off mid-sentence; tail is lost

The single most important consequence of truncation is this: front-load meaning. Put the keyword and the core message near the start of both elements so that, even if the end is cut, the part that matters survives.

How to write a title tag that ranks

A strong title tag does several jobs at once. Work through these in order:

  • Lead with your primary keyword or topic. Putting the main term near the front helps relevance and ensures it is visible even if the title is truncated. A page about email deliverability should not bury "email deliverability" at the very end.
  • Make it unique to the page. Every indexable page needs its own title. Duplicate or near-identical titles across a site are a classic technical SEO problem and make it hard for engines and users to tell pages apart.
  • Be specific and descriptive, not clickbait. The title should accurately promise what the page delivers. A mismatch between title and content increases bounce and makes Google more likely to rewrite your title.
  • Add a brand suffix where it helps. A common, effective pattern is Primary Topic — Brand (for example, Title Tag Best Practices — StackOptic). The brand builds recognition; the separator keeps it tidy. On the homepage or brand-query pages, leading with the brand makes sense; on deep content pages, lead with the topic and append the brand.
  • Write for humans, not just crawlers. A title that reads naturally and signals value will out-click a keyword-stuffed string every time, and engagement matters.

Avoid stuffing multiple keywords, repeating words, or writing in ALL CAPS. Google explicitly may rewrite titles it judges to be stuffed, over-long, or unhelpful, so restraint is in your interest.

How to write a meta description that earns the click

Because the description does not directly rank the page, its entire purpose is click-through rate — turning impressions into visits. Treat it like ad copy:

  • Front-load the value. Say what the page offers and why it is worth reading in the first sentence, before any truncation point.
  • Match the query intent. Mirror the language and the need behind the searches the page targets, so the reader instantly recognises that this result is for them.
  • Include the keyword naturally. Google often bolds query terms in the snippet, which draws the eye, so a relevant keyword can help visually — but never at the cost of readability.
  • Add a light call to action where it fits. "Learn how," "see the steps," "compare options" — a gentle nudge can lift clicks without sounding like spam.
  • Be accurate. Over-promising gets the click but loses the visitor, and a high bounce undermines the page. Honesty compounds.

One reality to accept: Google frequently rewrites meta descriptions. Its documentation confirms it may generate the snippet algorithmically when it believes another piece of on-page text better matches the query. You cannot force your exact wording, but a clear, well-sized, query-relevant description is the version Google is most likely to keep — and the version most likely to win the click when it does.

Where these elements appear

It helps to remember that a title and description travel far beyond the Google results page:

  • Search results (SERP): the title link and snippet, the primary use case.
  • Browser tabs and bookmarks: the title tag labels the tab and the saved bookmark.
  • Social and chat previews: when Open Graph or Twitter Card tags are missing, platforms often fall back to the <title> and meta description for the link preview, so these tags shape how your page looks when shared.
  • AI and answer engines: the title and description are part of the signal generative engines read when summarising or attributing a page.

Because of that reach, sloppy titles and descriptions leak into every channel where your link appears, not just Google. For social specifically, dedicated Open Graph tags give you more control, but the meta description remains the dependable fallback.

Weak versus strong: examples

The difference between a forgettable snippet and a clickable one is usually concreteness. Here are paired examples:

ElementWeakStrong
TitleHome - Best SEO Tips, SEO Advice, SEO HelpOn-Page SEO Checklist (2026) — StackOptic
TitleProductsWebsite Analysis Tool — Tech, SEO & Speed
DescriptionWe offer SEO services and tips for your website and more information here.Audit any URL in seconds: tech stack, Core Web Vitals, SEO and AI-readiness in one free report. See what your site reveals.
DescriptionTitle tags page. Title tags are important for SEO and rankings and traffic.Learn how to write title tags that rank: ideal length, keyword placement, brand suffixes, and weak-vs-strong examples you can copy.

The strong versions lead with the topic, read naturally, fit the length limits, and tell the reader exactly what they will get. The weak versions are vague, duplicated-looking, keyword-stuffed, or both.

Common mistakes that cost you clicks

Most title and description problems fall into a short list of repeat offenders:

  • Duplicate titles and descriptions across many pages, so nothing stands out and engines struggle to differentiate.
  • Missing tags entirely, forcing Google to invent a title link or snippet from page text — usually worse than what you would have written.
  • Truncation from over-length text, which cuts off your message mid-thought.
  • Keyword stuffing, which reads badly to humans and invites Google to rewrite your title.
  • Ignoring intent, where the snippet describes the page in your words rather than answering the searcher's need.
  • No brand on brandable pages, missing an easy recognition and trust signal.

Fixing these is often the fastest on-page win available, because it improves the click-through on rankings you already hold rather than waiting for new ones.

Titles and descriptions in the age of AI search

As search shifts toward AI-generated answers, the title and description do not lose relevance — they change role slightly. A clear, accurate title still tells an answer engine what a page is fundamentally about, and a tight description still summarises it in the page's own framing. When you want to know whether your pages communicate clearly to machines as well as humans, it is worth checking whether your site is ready for AI search, because the same clarity that earns a click in Google helps an engine understand and attribute your content. The discipline of writing a precise headline and a precise summary is, if anything, more valuable when a machine is reading them.

How to manage titles and descriptions at scale

A handful of pages can be written by hand; thousands cannot. For larger sites, the answer is templating from page data — generating each title and description from fields like the product name, category, or article headline, so every page gets a unique, well-formed snippet without manual effort. The trick is to design templates that still read naturally and respect the length limits, then spot-check the output across page types. Pair that with regular auditing: a crawler (screaming-frog-style) can flag missing, duplicate, or over-length titles and descriptions across the whole site in one pass, turning an invisible, sprawling problem into a concrete to-do list. Canonicalisation matters here too, because duplicate URLs can surface duplicate snippets; if that is a concern, see what canonical tags are and how to use them.

A quick checklist

  • Title is ~50–60 characters and leads with the main keyword.
  • Title is unique to the page and reads naturally.
  • A brand suffix is added where it helps recognition.
  • Description is ~150–160 characters and front-loads the value.
  • Description matches the query intent and includes the keyword naturally.
  • No duplication, stuffing, or truncation across the site.
  • Large sites generate snippets from data and audit them with a crawler.

Go deeper

Want to see your titles, descriptions and on-page SEO scored automatically? Analyse any URL with StackOptic — one report, free, no sign-up.

Frequently asked questions

How long should a title tag be?

Aim for roughly 50 to 60 characters, or about 600 pixels, because Google truncates titles wider than the space available in the search result. There is no exact character cut-off since Google measures pixel width, not characters, but staying near 60 characters keeps most titles from being cut off. Put your most important keyword and meaning near the front so it survives any truncation.

How long should a meta description be?

Aim for about 150 to 160 characters. Google displays meta descriptions up to roughly that length on desktop before truncating with an ellipsis, and mobile can show slightly less. Front-load the most compelling, query-relevant information so it lands even if the tail is cut. Write a complete, accurate sentence or two rather than padding to hit a character count.

Does the meta description affect rankings?

Google has stated the meta description is not a direct ranking factor, so the words you choose do not by themselves push a page up the results. What it strongly affects is click-through rate: a clear, compelling description earns more clicks from the same position. Higher engagement and a better match to intent are good for the page indirectly, which is why descriptions still matter a great deal.

Why did Google change my title or meta description?

Google often rewrites title links and meta descriptions when it judges that something on the page better matches the user's query, or when your tag is too long, missing, or stuffed with keywords. Google's own documentation confirms it may generate snippets and title links algorithmically. You cannot force your exact text, but writing clear, accurate, well-sized tags makes Google far more likely to use yours.

Should every page have a unique title and description?

Yes. Duplicate or templated titles and descriptions across many pages confuse both search engines and users about what makes each page distinct, and large-scale duplication is a common technical SEO problem. Every indexable page should have a title and description that accurately describe that specific page. For very large sites, generate them from page data so each is unique without writing thousands by hand.

Analyse any website with StackOptic

Get the full technology stack, performance, security and SEO report in seconds — free.

Analyse a website

Related articles