Checked on 2026-11-24.
How to use it
Type the page's title, its address and its meta description; the site name is optional. The preview shows the four together, as a card, and cuts the title and the description where they would run past the width you set. Under it are the length of each in characters and in pixels, and how far over the width it runs. Copy as HTML tags copies a <title> element and a <meta name="description"> tag with your text in them, escaped, ready for the page's head.
To test how a result might look on a narrower screen, lower the width. To check a page that is already online, the meta title and description length checker reads the title and description from its HTML source.
What Google says about length
Google's documentation gives no length limit in characters or in pixels. Google's page on title links says: "While there's no limit on how long a <title> element can be, the title link is truncated in Google Search results as needed, typically to fit the device width." Its page on snippets says the same of descriptions: "There's no limit on how long a meta description can be, but the snippet is truncated in Google Search results as needed, typically to fit the device width." Where the cut falls depends on the device, so any limit shown here is an estimate.
What Google shows is not always what you wrote. It picks the title link from several sources: the <title> element, the main visible title, headings, og:title, the text of links that point to the page and more. Snippets "are primarily created from the page content itself", and the meta description is used "if it might give users a more accurate description", so "Google Search might show different snippets for different searches". Google chooses the site name too, from the site's home page: its site name documentation says WebSite structured data counts most and that og:site_name, the title and headings are considered as well, and that long site names "may be truncated on some devices".
You can set a ceiling yourself: the robots meta rule max-snippet:[number] tells Google to "use a maximum of [number] characters as a textual snippet", max-snippet:0 shows none, and nosnippet turns the snippet off (robots meta tag specification).
How the widths are measured
Characters say little about width: in 20px Arial, a capital W is 18.9 px wide and a small i 4.4 px, so a row of ten Ws is 189 px wide and a row of ten i's 44 px. The tool therefore measures pixels too. In your browser it draws nothing; it asks a canvas how wide the text would be, with measureText(), which "returns a TextMetrics object that contains information about the measured text (such as its width, for example)".
The fonts and the width are assumptions of this page, not figures from Google, whose pages on title links and snippets name neither a font nor a width: titles are measured in 20px Arial, descriptions in 14px Arial, against a width of 600 px and 2 lines of description to start with. Change the width and the lines to test a narrower or wider result. If your device has no Arial, your browser measures with the font it uses in its place, and the numbers shift a little. Before the page's script runs, the example's widths are added up from Arial's own character widths, read from the font file.
Characters are counted as a reader counts them: an emoji or a letter with its accent is one. Character references such as & are read as the character they stand for, and runs of spaces and line breaks count as one space.
Where it stops
- It is a sketch, not Google's page. The preview has no favicon, no date, no rating stars, no sitelinks and no images, and it does not put the words of a search in bold. The address line is the host and the path, joined with ›; Google's own line can read differently.
- Its cut is its own. It ends a line after the last whole word that fits and adds " …". Google's cut can fall elsewhere, and Google can show a different title or snippet altogether.
- It reads what you type. It does not fetch your page. Text that your page sets with JavaScript is whatever you type here.
Get the data automatically
The preview shows what you might get. To see what Google does show, the Google Search endpoint returns the first page of results for a search: about 10 organic results, each with its position, title, link, the address as Google displays it, and the snippet. Compare the length of the titles and snippets that rank with yours.
import os
import requests
res = requests.get(
"https://pipefetch.com/v1/google/search",
params={"q": "sourdough bread recipe", "country": "US"},
headers={"x-api-key": os.environ["PIPEFETCH_API_KEY"]},
timeout=90,
)
if res.status_code == 404:
print("No results") # not charged
else:
res.raise_for_status()
for r in res.json()["data"]["results"]:
print(r["position"], len(r["title"]), r["title"])
print(" ", len(r["description"] or ""), r["description"])A request costs 1 credit. A search with no results answers 404 and costs nothing; when Google refuses a search, the request answers 502 upstream_error, costs nothing and can be sent again. The results are for a country, not a city, for a visitor who is not signed in, from the light page Google serves to clients without JavaScript.
Questions
How long should a title tag be for Google?
Google sets no limit. Its documentation says there is no limit on the length of a <title> element and that the title link is cut "as needed, typically to fit the device width". Put what matters first, so it survives a cut, and use this preview to see where a cut might fall at the width you choose.
How long can a meta description be?
Google says there is no limit on how long a meta description can be, and cuts the snippet as needed to fit the device. A max-snippet rule in the robots meta tag sets a ceiling in characters if you want one.
Why does Google show a different title or description than mine?
Google makes title links from several sources, the <title> element among them, and makes snippets primarily from the text of the page. It uses the meta description when it thinks the description describes the page more accurately than text taken from the page.
Why measure pixels and not just characters?
Because letters differ in width. In 20 px Arial a W is about four times as wide as an i, so a title in capitals is cut much sooner than one in small letters of the same length.
Is the preview exactly what Google will show?
No. Google's documentation names neither the font nor the width of its results, so the widths here rest on this page's own assumptions: 20 px Arial for titles, 14 px Arial for descriptions, 600 px to start with. Treat the cut as an estimate.
Does this tool send what I type anywhere?
No. The preview and the measurements are made in your browser. Nothing you type leaves the page.
Need this for many accounts, or in your code? The Pipefetch API returns the data as JSON, one GET request at a time. Get an API key with 100 free credits, no card needed.
APIs that return this data
-
1 credit
Google Search API
The first page of Google results for a search: rank, title, link, domain, snippet and date of each result, plus related searches.
GET /v1/google/search -
1 credit
Web Page to Markdown API
The content of one web page as Markdown or text, without its menus, with title, headings and word and token counts.
GET /v1/web/content
Guides
Similar tools
More free tools
- Instagram engagement rate calculator
- TikTok engagement rate calculator
- YouTube engagement rate calculator
- X (Twitter) engagement rate calculator
- LinkedIn engagement rate calculator
- Facebook engagement rate calculator
- SRT to VTT converter
- VTT to SRT converter
- Subtitle file to plain text
- YouTube video ID finder
- YouTube timestamp link generator
- YouTube thumbnail downloader
- Email extractor
- HTML to Markdown converter
- X API cost calculator
- JSON to CSV converter
- CSV to JSON converter
- cURL to Python converter
- cURL to JavaScript fetch converter
- robots.txt tester
- Instagram profile viewer
- Instagram profile picture viewer