Checked on 2026-11-24.
How to use it
Open the page in your browser, view its source, copy it and paste it into the HTML box; the part between <head> and </head> is enough. The title, the meta description, the canonical address and the site name are read from it into the fields, and the lengths appear at once: characters, pixels, and how many lines of the width you set the description takes. You can also leave the HTML box alone and type into the fields, and edit the fields after a paste to try another wording. Copy as HTML tags gives you the new title and description as tags, escaped and ready to paste back.
What it reads from the HTML
- The title: the text of the first
<title>element. - The meta description: the
contentof<meta name="description">. - The address: the
hrefof<link rel="canonical">, orog:urlwhen there is no canonical link. It is shown as host and path, joined with ›. - The site name:
og:site_name, which Google's site name documentation lists among what it considers on a site's home page, with WebSite structured data counting most. - Snippet rules in
<meta name="robots">and<meta name="googlebot">. Google's robots meta tag specification definesmax-snippet:[number]as "a maximum of [number] characters as a textual snippet", with 0 for no snippet and -1 for no limit, andnosnippetfor none; where rules conflict, "the more restrictive rule applies". The preview follows them and says so in a note.
Character references such as & and – are read as the characters they stand for, comments are skipped, and attribute values may be in double quotes, single quotes or none.
Characters, pixels and Google
There is no official number to check against. 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." So the checker reports what can be measured, the length in characters and the width in pixels, and compares the width with a width you choose, instead of a character limit that Google does not set.
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 reads the source you paste. A title that a script sets after the page loads is not in the source, and a page you have not pasted is not read: the checker fetches nothing.
- The first one counts. With two
<title>elements or two descriptions, the first is read. It does not check that the HTML is valid. - Google decides what it shows. It can show a different title link, made from headings or link text, and a snippet made from the page's text, whatever the length of your tags.
Get the data automatically
To check many pages, the page content endpoint reads a page by its address and returns its title and description with its content, so you can measure them in code.
import os
import requests
res = requests.get(
"https://pipefetch.com/v1/web/content",
params={"url": "https://docs.apify.com/academy"},
headers={"x-api-key": os.environ["PIPEFETCH_API_KEY"]},
timeout=90,
)
if res.status_code == 404:
print(res.json()["error"]["code"]) # not charged
else:
res.raise_for_status()
page = res.json()["data"]
title, description = page["title"] or "", page["description"] or ""
print(len(title), "characters:", title)
print(len(description), "characters:", description)A request costs 1 credit. A page that does not exist, one that robots.txt closes to crawlers and a site that refuses automated requests answer 404 and cost nothing. To see the titles and snippets Google shows for a search, the Google Search API returns them for the first page of results.
Questions
What is the maximum length of a meta title?
Google gives none. It says there is no limit on how long a <title> element can be, and that the title link is cut as needed to fit the device width. Measure the width in pixels against the width you care about rather than counting to a fixed number.
What is the maximum length of a meta description?
Google gives none either: the snippet is cut as needed to fit the device. The page can set its own ceiling with max-snippet in the robots meta tag, which this checker reads from the HTML you paste.
Where do I find a page's title and meta description?
In its source. Open the page's source in your browser and look between <head> and </head>, or copy the whole source, paste it here and let the checker find them.
Why does the checker show pixels?
Because a search result has a width, not a character count, and letters differ in width: in 20 px Arial a W takes about four times the room of an i. The pixel figures rest on this page's assumptions about font and width, which it states.
My title fits. Why does Google still show another one?
Google makes the title link from several sources: the <title> element, the main heading, og:title, link text and more. It may replace a title that looks like boilerplate, does not match the page or is written in another language than the page.
Does this tool send my HTML anywhere?
No. Everything is read and measured in your browser. Nothing you paste or 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