Marketing & Growth

Title Tag and Meta Description Length: What Google Actually Truncates

What Google says about title and meta description length, why pixels beat characters, and an audit of 80 of our own pages with the fixes we found.

TechLogHub Editorial
December 4, 2026
14 min read
0 views

Share Article

TechLogHub cover: a search result title cut off at the device width, measured in pixels rather than characters

Title Tag and Meta Description Length: What Google Actually Truncates

Quick answer: Google sets no character limit on titles or meta descriptions. Its docs say both are truncated "as needed, typically to fit the device width", so the real limit is pixels, not characters. A practical target is a title of about 50–60 characters with the important words first, and a meta description of about 120–155 characters that summarises the page. Google may still rewrite either one. We audited 80 of our own pages: 40% of titles and 60% of descriptions went past common pixel cut-offs. The worst cause was a template that appended a second segment to every blog title.

"Keep titles under 60 characters" is the most repeated rule in SEO, and Google's own documentation never says it. What Google says is narrower and more useful. There is no length limit. Long titles and descriptions get cut to fit the screen. And the title link and snippet you see in results may not come from your tags at all. This guide covers what the documentation actually commits to, how truncation works in pixels, and what we found when we measured our own site with a 20-line script. Several of our page templates were breaking rules we tell other people to follow.

If you just want to write the tags, our meta tag generator shows a live preview with length counts. If you want to know which numbers matter and why, read on.

What Google's documentation actually says

Titles

Google's title link documentation (last updated 2025-12-10) is explicit. There's no limit on how long a <title> element can be, but the title link is truncated in results as needed, typically to fit the device width. There is no 60-character rule and no 600-pixel rule in the document, only the device.

The same page lists where Google gets the text for a title link, and your <title> is only the first of nine sources:

  1. Content in <title> elements
  2. The main visual title shown on the page
  3. Heading elements such as <h1>
  4. Content in og:title meta tags
  5. Other large, prominent styled content
  6. Other text on the page
  7. Anchor text on the page
  8. Text in links pointing to the page
  9. WebSite structured data

That list is the key to "Google rewrote my title". If your <title> is vague, stuffed or out of step with the visible heading, Google has eight other places to look. The documentation names the patterns it corrects. Half-empty titles get filled from prominent page text. Obsolete titles, such as last year's date, get the date from the visible title. Inaccurate titles may be modified. Repeated boilerplate is also called out, and Google may drop a duplicated site name. The best practices on the same page: every page gets a <title>, it should be descriptive and concise, avoid keyword stuffing, avoid repeated or boilerplate text, brand it concisely with the site name at the start or end, and keep it consistent with the main visible heading.

Meta descriptions

The snippet documentation (updated 2026-04-20) mirrors the title guidance. There is no limit on how long a meta description can be. The snippet is truncated as needed, typically to fit the device width. It adds a point many people miss: snippets are primarily created from the page content itself. Google sometimes uses the meta description, when it gives a more accurate description of the page. Your meta description is a candidate, not a command.

Google's best practices for descriptions: make them unique per page, include relevant details (author, date, price where useful), and make programmatically generated ones human-readable and diverse. Avoid lists of keywords; the page says these are less likely to be displayed. And don't make them too short to summarise the page.

What Google ignores

The supported meta tags page says the meta keywords tag is not used by Google Search and has no effect on indexing or ranking. If your CMS still has a "keywords" field, it is doing nothing for Google. Google also ignores meta tags it doesn't support, and when robots directives conflict, the more restrictive one applies.

Why characters are the wrong unit

Truncation "to fit the device width" means the limit is measured in rendered pixels, so the same character count can fit or overflow depending on the letters. A title full of W, M and capitals is far wider than one full of i, l and t. We measured this with the browser's canvas API, using 20px Arial as a stand-in for a results-page title font:

const ctx = document.createElement("canvas").getContext("2d");
ctx.font = "20px Arial";
ctx.measureText("illicit little titles filling it till it fits").width; // 45 chars → 263 px
ctx.measureText("WWW MMM WWW MMM WWW MMM WWW MMM WWW MMM WWW").width;     // 43 chars → 645 px

We ran that in Chrome 158. The 45-character string measured 263 pixels, and the 43-character string measured 645 pixels, about 2.5 times as wide despite being shorter. Pixel width is what decides where the ellipsis lands. Character counts are a proxy, good enough as a budget but not a guarantee.

For our audit below we used 600 px (title, 20px Arial) and 920 px (description, 14px Arial) as screening thresholds. Google documents no such numbers, and its fonts and layouts change. Treat these as a consistent ruler for comparing pages, not as Google's actual cut-off.

We audited our own site: 80 pages, 8 templates

techloghub.com is mostly programmatic: product pages, alternatives lists, open-source listings, comparisons, glossary terms, tools and category pages, each from its own template. That makes it a good test bed. A template mistake repeats across hundreds of URLs. We pulled our sitemap in the browser, took 10 evenly spaced URLs from each of the eight largest families, fetched each page and measured its <title> and meta description.

The audit script

const xml = await fetch("/sitemap.xml").then(r => r.text());
const urls = [...xml.matchAll(/<loc>https:\/\/techloghub\.com([^<]*)<\/loc>/g)].map(m => m[1]);
const ctx = document.createElement("canvas").getContext("2d");
const px = (t, font) => { ctx.font = font; return Math.round(ctx.measureText(t).width); };

const rows = [];
for (const path of urls.filter(u => u.startsWith("/blog/")).slice(0, 10)) {
  const doc = new DOMParser().parseFromString(await fetch(path).then(r => r.text()), "text/html");
  const title = doc.title, desc = doc.querySelector('meta[name=description]')?.content ?? "";
  rows.push({ path, titleChars: title.length, titlePx: px(title, "20px Arial"),
              descChars: desc.length, descPx: px(desc, "14px Arial") });
}
console.table(rows);

Run it on your own domain from DevTools. It reads only public pages, needs no API keys, and finishes in seconds for a few dozen URLs.

Results by template

Family (URLs in sitemap)Median titleTitles > 600 pxMedian descriptionDescriptions > 920 px
/products (1,142)73 chars · 677 px5 / 10161 chars5 / 10
/alternatives (1,164)68 chars · 622 px6 / 10154 chars10 / 10
/open-source (639)60 chars · 596 px4 / 10124 chars3 / 10
/blog (521)105 chars · 959 px8 / 10157 chars9 / 10
/compare (242)52 chars · 523 px0 / 10149 chars7 / 10
/glossary (186)54 chars · 522 px0 / 10120 chars1 / 10
/tools (134)57 chars · 537 px0 / 10152 chars5 / 10
/category (99)69 chars · 676 px9 / 10145 chars8 / 10

Across all 80 pages, 32 titles (40%) and 48 descriptions (60%) went past our screening widths. Every page had a meta description, and none was under 70 characters, so the "missing description" problem that most audit tools flag first does not exist here. The problems are all about length and template design.

Finding 1: the blog template doubles up titles

The blog family had the longest titles by far: a median of 105 characters. The cause is the template. Older posts render as <meta_title> | <slug in Title Case>, which says the same thing twice, for example:

Amazon SES Phishing via Leaked AWS IAM Keys | Amazon Ses Increasingly Abused In Phishing To Evade Detection

That is 107 characters. The second half repeats the first in worse form, and "Ses" is the slug's capitalisation, not the brand's. Recent posts render as <meta_title> | <category name> instead:

JSON vs YAML: Parser Differences That Break Configs | Developer Tools

That is better, but still 69 characters, and the category name adds nothing a searcher needs. Google's guidance to avoid repeated or boilerplate text and brand titles concisely points to a simple fix: one segment of real title, plus at most a short site name. Until the template changes, we write blog meta_title fields at about 45 characters so the appended category still lands near 60. This post's own meta title follows that rule.

Finding 2: category titles stack qualifiers

Nine of ten category pages ran past 600 px. A typical one:

Best Open-Source Diagramming Software (Visio Alternatives) (2026): 7 Tools Compared

Two parenthetical asides, a year and a count. Each is defensible on its own, but together they push the useful part ("Open-Source Diagramming Software") toward the start and the payoff ("7 Tools Compared") past the likely cut-off. Pick the two qualifiers that matter most. Our choice would be Open-Source Diagramming Software: 7 Visio Alternatives (2026).

Finding 3: product titles swing between too short and too long

The product family showed both extremes. Some titles were just the product name and site, such as Crun | TechLogHub at 17 characters, which tells a searcher nothing about what Crun is. Others pasted the vendor's tagline in full, such as MAGI-2 AI - Make 30-second MAGI-2 videos with dialogue and sound. | TechLogHub at 78 characters, complete with a sentence-ending full stop. A formula fixes both: {Name}: {category noun} for {use case}, generated from structured fields rather than the vendor's marketing line.

Finding 4: alternatives descriptions all overflow

All ten alternatives pages had descriptions wider than 920 px (median 154 characters). Length alone is not a crime. Google truncates and moves on. But it means the end of every description is invisible on many screens. If the template puts the useful part last ("…including X, Y and Z"), it is the part that gets cut. Move the specific detail first.

Before and after: five of our titles rewritten

Here are the five problem titles from the audit, with the rewrites we are proposing, measured with the same 20px Arial ruler. They are proposals, not yet live. The original strings come from the pages as served on 4 December 2026.

OriginalChars · pxRewriteChars · px
Amazon SES Phishing via Leaked AWS IAM Keys | Amazon Ses Increasingly Abused In Phishing To Evade Detection107 · 1,044Amazon SES Phishing via Leaked AWS IAM Keys | TechLogHub56 · 574
JSON vs YAML: Parser Differences That Break Configs | Developer Tools69 · 650JSON vs YAML: Parser Differences That Break Configs51 · 491
Best Open-Source Diagramming Software (Visio Alternatives) (2026): 7 Tools Compared83 · 782Open-Source Diagramming Software: 7 Visio Alternatives (2026)61 · 572
MAGI-2 AI - Make 30-second MAGI-2 videos with dialogue and sound. | TechLogHub78 · 752MAGI-2 AI: 30-Second AI Videos with Dialogue | TechLogHub57 · 546
Crun | TechLogHub17 · 172Crun: Unified AI Model API for Developers | TechLogHub54 · 503

Every rewrite lands between 490 and 575 pixels. That is not because we trimmed to a number. Removing the repeated segment, the stacked qualifiers and the trailing tagline got rid of the parts that carried no new information. The one title that got longer, Crun's, gained the words that tell a searcher what the product is. Length is a symptom. Saying one specific thing once is the fix.

Title formulas by page type

Programmatic sites need templates, not hand-written tags. These are the patterns we are moving to, with the reasoning:

Page typeFormulaExampleWhy
Blog post{Topic}: {specific angle}Gzip vs Brotli vs Zstd: Which HTTP Compression to ServeThesis up front; no second segment
Product{Name}: {what it is} for {who}Crun: Unified AI Model API for DevelopersExplains an unknown name
Alternatives{N} {Product} Alternatives ({year})9 Notion Alternatives (2026)Matches the query shape; count and year are distinct, useful facts
Comparison{A} vs {B}: {decisive difference}Vercel vs Netlify: Pricing and Build LimitsSearchers want the verdict axis
GlossaryWhat Is {Term}? {plain definition}What Is FOSS? Free and Open-Source SoftwareMirrors question queries
Free tool{Tool} – Free Online {Verb}JSON Formatter – Free Online Beautifier"free" and "online" are part of the intent
Homepage{Brand}: {category}TechLogHub: Developer Tools and Open-Source HubGoogle allows site-level descriptions on the home page

Our glossary and comparison families already came in under the screening width on every sampled page, with medians of 52–54 characters, so those templates are the model for the rest. The examples are illustrative. Counts and products in a real title must come from the page's own data.

Implementing it in Next.js without breaking the brand

The doubled blog titles came from two layers each adding a segment. In the Next.js App Router, the root layout can define a title template that child pages fill in. That keeps the brand suffix in exactly one place:

// app/layout.tsx
export const metadata = {
  title: { template: "%s | TechLogHub", default: "TechLogHub: Developer Tools and Open-Source Hub" },
};

// app/blog/[slug]/page.tsx
export async function generateMetadata({ params }) {
  const post = await getPost((await params).slug);
  return {
    title: post.meta_title,          // ~45 chars; layout adds " | TechLogHub"
    description: post.summary,       // 140–160 chars, specific detail first
    openGraph: { title: post.heading },
  };
}

The rule that prevents the bug: only one layer appends anything. If the page-level code also concatenates a category or slug, you get the double segment we found. Search the codebase for every place that builds a title string, and make the layout template the only one.

Pair the title with a matching visible heading. Google lists the main visual title and the <h1> as sources, and its docs flag a mismatch between title and page as a reason to rewrite. Our heading structure analyzer shows a page's heading outline. If the <h1> and <title> tell different stories, fix that before tuning length. For social previews, the og:title can be longer and more conversational. It is also one of Google's fallback sources, so keep it accurate. Our guide to Open Graph tags covers that side.

Meta description: a writing checklist

  1. Lead with the specific. The first 100 characters should carry the page's unique fact: a number, a version, a verdict. Assume the tail gets cut.
  2. Write it as a summary, not a pitch. Google prefers descriptions that accurately describe the page. "The best tool ever!" loses to "Formats and validates JSON in the browser; nothing is uploaded."
  3. Make programmatic descriptions vary. Google asks that generated descriptions be human-readable and diverse. A template that only swaps the product name produces near-duplicates across a thousand pages.
  4. Include details searchers scan for where they exist: price, date, author, version, count.
  5. Never list keywords. Google says keyword lists are less likely to be shown.
  6. Use max-snippet or data-nosnippet only when you must. Google supports both to limit or exclude snippet text, but they restrict what Google can show. They do not make it show your description.

Write a draft, then check it with the content word statistics tool for length and the meta tag generator for the full tag set. For long-form pages, the passage extractor shows which sentences read as standalone summaries. Those are the sentences Google is most likely to lift into a snippet when it ignores your description.

Limits of length optimisation

  • Google can and will rewrite. A perfectly sized title still loses to the visible heading or anchor text if Google judges them more accurate. Accuracy beats length.
  • Bing is a separate question. We tried to read Bing's webmaster guidelines for its own length guidance and the page did not render without JavaScript in our fetch, so we make no claim about Bing thresholds here.
  • Pixel widths drift. Fonts, result layouts and device widths change. Our 600/920 px screening thresholds are a consistent ruler, not Google's actual cut-off, and should be re-checked occasionally.
  • Length does not rank. Nothing in Google's documentation says shorter titles rank better. The case for concise titles is click-through: the reader sees the whole thing, and Google is less likely to replace it.
  • Templates hide in plain sight. Our worst problem, the doubled blog suffix, was invisible when we looked at any single page. It only showed up in a measured sample. Audit by template, not by URL.

Our own fix list from this audit is short. Make the layout template the only place that appends to titles. Drop the slug and category segment from blog titles. Rewrite the product title formula. Move specifics to the front of alternatives descriptions. We will re-run the same script after the change and compare the same 80 URLs. For the crawling and indexing side of the same work, see our guides to canonical tags and XML sitemaps.

FAQ

What is the ideal title tag length in 2026?

Google sets no limit. Titles are truncated to fit the device width. A practical budget is about 50–60 characters with the key words first. In our audit, templates with median titles of 52–57 characters stayed under our 600-pixel screening width on every sampled page.

How long should a meta description be?

Google says there is no length limit, and snippets are truncated to fit the device width. Aim for roughly 120–155 characters and put the most specific information in the first 100, because the end is the part that gets cut.

Why does Google rewrite my title tag?

Google builds title links from several sources: the <title>, the main visible title, <h1>, og:title, prominent text, anchor text and WebSite structured data. It may replace titles that are half-empty, obsolete, inaccurate or full of boilerplate. Make the <title> accurate and consistent with the visible heading.

Does Google use the meta keywords tag?

No. Google's supported-meta-tags page says the meta keywords tag is not used by Google Search and has no effect on indexing or ranking.

Is title length measured in characters or pixels?

Truncation is effectively in pixels, since Google cuts to fit the device width. Characters are a rough proxy, because wide letters such as W and M take far more space than i or l. Measure rendered width with the canvas measureText() API to compare pages consistently.

Should I put my brand name in every title?

Google's guidance is to brand titles concisely, with the site name at the start or end separated by a delimiter, and it may drop a duplicated site name. Add the brand in one place, such as a layout title template, and never stack it with other repeated segments.


Audit run on 4 December 2026 against 80 techloghub.com URLs sampled from our sitemap. Pixel widths measured in Chrome 158 with canvas measureText().

Stay Updated

Get the next deep dive in your inbox

Subscribe for product analysis, engineering explainers, and practical guides published on TechLogHub.

See what launched this week

One email a week: new and trending developer tools, fresh comparisons, and what shipped. Unsubscribe in one click.