<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Outfit:wght@600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap">
🔍 SEO guide

How to Write Title Tags and Meta Descriptions: Length, Pixels and Rewrites

Write title tags and meta descriptions that survive truncation and rewrites: pixel limits, uniqueness, one H1, and the other head tags every page needs.

📅 Published 2026-11-15⏱️ 6 min read🛠️ 4 free tools

The title tag and meta description are the two pieces of HTML that searchers read before they decide to visit your page. The title is also one of the clearest signals you can give a search engine about what a page covers. Both are easy to write badly: too long, too generic, duplicated across hundreds of pages, or so stuffed with keywords that Google replaces them with something else.

This guide covers how long each one really can be, why Google rewrites them and how to make that less likely, how the title relates to the H1, and the handful of other head tags (robots, viewport, canonical, charset) that belong next to them on every page.

Length is measured in pixels, not characters

Google does not cut titles at a fixed character count. On desktop the title link is truncated at roughly 600 pixels of width, and descriptions at roughly 920 pixels; mobile allows a little more room for titles because they can wrap to two lines, while descriptions are often shorter. A capital W is about three times as wide as a lowercase i, so a 55-character title full of wide letters can be cut while a 65-character title of narrow letters fits.

Character counts are still a useful planning range as long as you treat them as approximate. Google also changes its result layout from time to time, so no limit is permanent.

  • Titles: aim for about 50 to 60 characters. Put the words that matter in the first 40 or so, so a cut does not remove them.
  • Descriptions: aim for about 120 to 160 characters. Anything past that may be trimmed with an ellipsis, and on mobile the cut often comes earlier.
  • Truncation is not a penalty. A long title is still read in full by the search engine; the risk is only that searchers see half a sentence.
  • Separators such as | and - take little space. Brand names at the end are the first thing to drop when space is short, which is usually fine.

Why Google rewrites titles and descriptions

Since an update in 2021, Google generates the title link from several sources: the title element, the main visible heading, other prominent text, anchor text of links pointing to the page, and sometimes structured data. Most titles are still shown as written, but Google replaces the ones it considers unhelpful. Descriptions are rewritten even more often, because Google picks the snippet text that best matches each individual query, and that may be a sentence from the body instead of your meta description.

You cannot switch rewriting off, but you can remove the usual triggers:

  • Titles that do not describe the page, such as "Home", "Untitled" or the same text on every URL.
  • Keyword stuffing: "Cheap Shoes, Buy Shoes, Shoes Online, Best Shoes".
  • Boilerplate that repeats across a section, for example a long brand tagline appended to every title.
  • A title that disagrees with the H1, such as an old product name left in the title after the page was updated.
  • Very long titles, where Google may choose a shorter heading from the page instead of truncating.
  • Descriptions that are empty, duplicated, or a list of keywords rather than a sentence.

One H1, and how it relates to the title

The title tag lives in the head and appears in the browser tab and search results. The H1 is the visible main heading on the page. They do different jobs, but they should describe the same thing: if a searcher clicks a result titled "Fix Common JSON Errors" and lands on a page whose heading says "Developer Blog", the mismatch is confusing and is exactly the signal that leads Google to rewrite the title.

Use one H1 per page that names the page topic, then H2 and H3 headings for sections. HTML allows several H1 elements and Google has said it copes with them, but a single clear H1 keeps the outline easy to read for users, screen readers and audit tools. The title can be a little longer or include the brand; the H1 can be a little more conversational. Neither should be a list of keywords.

Write every title and description for one page

Unique titles and descriptions help search engines tell pages apart and help searchers pick the right one when several of your pages appear for the same query. On large sites, duplicates usually come from templates: every product in a category gets "Products | Brand", or every paginated listing repeats the first page title.

Build titles from the most specific data the template has. A product page can use product name, a key attribute and the brand. A category page can use the category name and the number of items. A paginated page can add "Page 2". For descriptions, write by hand for important pages, and generate the rest from structured fields (price, availability, location, summary) rather than repeating one sentence. A meta description is not a ranking factor, but a specific one tends to earn more clicks than a generic one.

<!-- Weak: generic, duplicated across the site -->
<title>Products | Acme Store</title>
<meta name="description" content="Welcome to Acme Store, your one-stop shop for everything.">

<!-- Better: specific to this page -->
<title>Waterproof Hiking Boots for Women, Sizes 4 to 10 | Acme</title>
<meta name="description" content="Compare 24 waterproof women's hiking boots with Gore-Tex lining. Free returns within 30 days and next-day delivery on orders before 5pm.">

The other head tags that sit next to them

A title and description are not the whole head. A few more tags affect how a page is crawled, indexed and displayed, and they are easy to get wrong in a template change.

  • <meta charset="utf-8"> should be the first element in the head, so special characters in the title render correctly.
  • <meta name="viewport" content="width=device-width, initial-scale=1"> tells mobile browsers to use the device width. Without it, the page is rendered as a zoomed-out desktop layout.
  • <meta name="robots" content="noindex"> keeps a page out of search results; leave the tag out (or use "index, follow") on normal pages. Check that a staging noindex has not leaked into production.
  • <link rel="canonical" href="https://..."> names the preferred URL when the same content is reachable at several addresses. Use an absolute URL. The guide on robots.txt vs noindex vs canonical explains when each one is the right tool.
  • The meta keywords tag is ignored by Google and can be dropped.
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Unix Timestamp Converter: Epoch to Date and Back | Neemtools</title>
  <meta name="description" content="Convert Unix timestamps in seconds or milliseconds to readable dates in any time zone, and dates back to epoch time.">
  <link rel="canonical" href="https://www.example.com/epoch-time-converter">
</head>

A workflow for writing and checking snippets

Draft the title and description in the Neemtools SERP Snippet Preview, which shows them as a Google-style result on desktop and mobile with length counters, so you can see where a cut is likely before anything is published. When the copy is final, the Meta Tag Generator turns it into a correctly escaped head block along with robots, viewport and canonical tags, which avoids broken markup from stray quotes or ampersands.

After the page is live, run the SEO Validator against the URL. It checks title and description length, the H1 count and heading outline, canonical, robots and viewport in one pass, which catches template regressions that a visual check misses. Then watch the page in Search Console for a few weeks: a page with many impressions and a low click-through rate is the best candidate for another rewrite.

More guides you might like

Ready to try it?

Open the free SERP Snippet Preview and apply what you just read. No sign-up, nothing uploaded.

Open SERP Snippet Preview →

← All guides