Published

Meta tag generator

Fill in the fields and it writes the head block, with the Open Graph and card tags taken from the same title and description so they cannot drift apart later.

It also measures the title and description in pixels rather than characters, because that is what Google truncates on, and tells you the part most generators leave out.

It runs entirely in your browser. Nothing you type is sent to us, stored, or logged.

Must be absolute. A relative one here is a common way a share card shows nothing.

For the head of your page

<title>Snippet length checker</title>
<meta name="description" content="Google says there is no limit on a meta description, and that snippets are truncated to fit the device width. This measures width, not characters." />
<link rel="canonical" href="https://example.com/tools/snippet-length-checker" />

<meta property="og:title" content="Snippet length checker" />
<meta property="og:description" content="Google says there is no limit on a meta description, and that snippets are truncated to fit the device width. This measures width, not characters." />
<meta property="og:url" content="https://example.com/tools/snippet-length-checker" />
<meta property="og:image" content="https://example.com/card.png" />
<meta property="og:site_name" content="Example" />
<meta property="og:type" content="website" />

<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Snippet length checker" />
<meta name="twitter:description" content="Google says there is no limit on a meta description, and that snippets are truncated to fit the device width. This measures width, not characters." />
<meta name="twitter:image" content="https://example.com/card.png" />

What Google will probably do with it

worth knowingGoogle may ignore this description entirely and write its own from the page when that matches the query better. It is a suggestion, not a setting. (146 characters, for reference, which is not the unit Google truncates on.)

The part most generators leave out

Google sometimes uses the meta description HTML element if it might give users a more accurate description of the page than content taken directly from the page.

Read it the way round: “sometimes uses” means often does not. Your description is a suggestion, and the text under your result is frequently written by Google from the page itself, because that matched the query better.

Which makes the hours people spend counting characters the wrong hours. Write something accurate, keep it inside the width, and spend the rest of the time on the page it describes.

What this does not check

  • Whether Google uses your description. It often writes its own from the page when that matches the query better, and no tool can tell you in advance which it will do.
  • Whether your share image exists or is the right size. That needs fetching a URL, which this site does not do from a public box, so the image is checked for being absolute and nothing more.
  • Whether the words are any good. This measures width and consistency. Whether the sentence earns a click is a different question and not one a generator can answer.
  • Anything about the page the tags describe. A perfect head block on a thin page is a well-labelled thin page.