HandyBench

Meta Tag Generator

Build SEO meta tags with a live preview.

0 / 60 characters

0 / 160 characters

Generated tags

<meta property="og:type" content="website" />
<meta name="twitter:card" content="summary_large_image" />

How to use the Meta Tag Generator

  1. 1 Fill in your title, description and basic details.
  2. 2 Preview how it looks in Google and on social cards.
  3. 3 Copy the generated <meta> tags into your <head>.

What the generator actually outputs

You fill in four things: a page title, a meta description, a canonical URL and an "Allow indexing" checkbox. From those the tool writes a block of tags you paste into your page's <head>. Each field is reused: the title becomes the <title>, og:title and twitter:title; the description becomes the meta description, og:description and twitter:description; the canonical URL becomes <link rel="canonical"> and og:url. Tags for an empty field are left out rather than printed blank. Double quotes in your text are escaped to &quot; so they cannot break the attribute.

Two tags are always added: og:type set to website and twitter:card set to summary_large_image. If you untick "Allow indexing" you also get <meta name="robots" content="noindex, nofollow">. Leave it ticked and no robots tag is written, which is correct, because indexable and followable is already the default.

How search engines use these tags

  • Title: a strong ranking and click signal. Google truncates by pixel width (roughly 600px on desktop), not by character count, so the 60-character counter is a rule of thumb. Google also rewrites titles it considers poor, often pulling from your H1 or anchor text. Use the SERP snippet checker to measure real pixel width.
  • Meta description: not a ranking factor. Google often ignores it and builds a snippet from page text that matches the query, so write it as ad copy for the most likely search, not as a keyword container. See the meta description best practices guide.
  • Canonical: a hint, not a command, telling Google which URL to treat as the main one when several serve the same content.
  • Open Graph and Twitter tags: read by social networks and chat apps when a link is pasted. They do not affect Google rankings.

Worked example

Title "Blue Widget Sizing Guide | Acme", description "Find your blue widget size in two minutes with our chart and fit tips.", canonical https://acme.example/widgets/sizing, indexing allowed, produces:

<title>Blue Widget Sizing Guide | Acme</title>
<meta name="description" content="Find your blue widget size in two minutes with our chart and fit tips." />
<link rel="canonical" href="https://acme.example/widgets/sizing" />
<meta property="og:title" content="Blue Widget Sizing Guide | Acme" />
<meta property="og:description" content="Find your blue widget size in two minutes with our chart and fit tips." />
<meta property="og:url" content="https://acme.example/widgets/sizing" />
<meta property="og:type" content="website" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Blue Widget Sizing Guide | Acme" />
<meta name="twitter:description" content="Find your blue widget size in two minutes with our chart and fit tips." />

Reference: what is and is not generated

TagPurposeLength guideGenerated here?
<title>Search result headline, browser tababout 50-60 charsYes
meta descriptionSnippet candidateabout 150-160 charsYes
canonicalPreferred URLabsolute URLYes
robotsBlock indexingn/aOnly when indexing is off
og:imageShare-card image1200x630 recommendedNo, add it yourself
viewport, charsetRenderingn/aNo

Common mistakes

  • Forgetting og:image. The generated block has no image tag, so shared links appear as plain text cards until you add one. The Open Graph generator covers that.
  • Trusting the preview's truncation. The preview here cuts text with CSS, which is only an approximation of Google's pixel-based cut.
  • Adding a meta keywords tag. Google ignores it, and this tool deliberately does not output one.
  • Reusing one description sitewide. Duplicate descriptions give Google no reason to prefer yours over its own generated text.
  • Canonical to the wrong URL. Point it at the exact, absolute, preferred address of this page, including https.

After publishing, verify what the server really sends with the meta tag checker.

Examples

  • ▸ Title "Blue Widget Sizing Guide | Acme" with canonical https://acme.example/widgets/sizing outputs <title>Blue Widget Sizing Guide | Acme</title>, <link rel="canonical" href="https://acme.example/widgets/sizing" /> and matching og:title, og:url and twitter:title tags.
  • ▸ Unticking "Allow indexing" adds <meta name="robots" content="noindex, nofollow" /> for pages such as thank-you or internal search results.

Frequently asked questions

How long should a title and meta description be?

Aim for titles around 50–60 characters and descriptions around 150–160 characters so they are not truncated in search results.

Do meta keywords still matter?

No. Google ignores the meta keywords tag. Focus on a strong title, description and Open Graph tags instead.

Why does Google show a different title or description than the one I wrote?

Google rewrites titles it considers too long, too short or stuffed with keywords, often substituting your H1. It also builds many snippets from on-page text that matches the searcher’s query, so a meta description is a suggestion rather than a guarantee.

Does this tool add an og:image tag?

No. It generates the title, description, canonical, optional noindex robots tag, and basic Open Graph and Twitter Card tags, but not an image. Add an og:image (1200x630 recommended) yourself or use the Open Graph generator.

When should I untick "Allow indexing"?

Only for pages you want kept out of search results, such as thank-you pages or internal search results. It adds a noindex, nofollow robots tag; leaving it ticked adds nothing, because indexing is already the default.

Related guides