Docuboxer
By Sergio Alonzo Piña··5 min read

Meta tags that matter, and the ones you can skip

Sort what Google uses from what only changes how your link looks when shared and what you can stop writing, with a minimal block ready to paste.

The meta tags that matter are few: the title, the meta description, the canonical URL, robots directives when needed, the viewport, and the Open Graph and Twitter tags so your link looks right when shared. Meta keywords, on the other hand, Google doesn't use. The meta tags generator assembles the head block with length warnings, in your browser and without sending your data.

What Google says it understands

Google Search Central's page on meta tags Google understands lists the supported ones. The ones that matter to almost any site:

  • description: a short summary of the page that, in some situations, is used as the snippet in search results. Google may rewrite it, as covered in why Google rewrites your titles.
  • robots: controls whether the page is indexed and whether its links are followed.
  • viewport: tells the browser how to render the page on a phone, and its presence tells Google the page is mobile friendly.
  • google-site-verification: verifies ownership in Search Console.
  • charset: the character encoding, with UTF-8 recommended.

On meta keywords, the documentation is blunt: Google Search doesn't use the tag, and it has no effect on indexing or ranking. You can stop writing it.

Not a meta tag, yet it matters

The <title> and the canonical link (<link rel="canonical">) aren't meta tags, but they live in the same block and are the most important. The title is usually what appears as the blue link in results, and the canonical says which URL is preferred when the same content exists in several.

Open Graph and Twitter: for sharing

The og: and twitter: tags don't change rankings. They control how your link looks when someone pastes it into WhatsApp, Facebook, X or LinkedIn: title, description and image. If your link shows up with no image or odd text, they're probably missing or wrong. That's explained in why your link preview looks wrong, and you can check any URL with the Open Graph checker.

The minimal block, with real tool output

For a page with a title, description, URL, image and site name, the tool generates this:

<title>Compress PDF free online</title>
<meta name="description" content="Shrink your PDFs in the browser.">
<link rel="canonical" href="https://yoursite.com/compress">
<meta property="og:title" content="Compress PDF free online">
<meta property="og:description" content="Shrink your PDFs in the browser.">
<meta property="og:url" content="https://yoursite.com/compress">
<meta property="og:image" content="https://yoursite.com/og.png">
<meta property="og:type" content="website">
<meta property="og:site_name" content="My site">
<meta property="og:locale" content="en_US">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Compress PDF free online">
<meta name="twitter:description" content="Shrink your PDFs in the browser.">
<meta name="twitter:image" content="https://yoursite.com/og.png">
<meta name="twitter:site" content="@yoursite">

Empty fields are left out: you'll never see a tag with content="". The tool doesn't generate viewport, charset or robots, which normally come from your site template, nor alternate-language tags, for which there's the hreflang generator.

Using the generator, step by step

  1. Open the meta tags generator and type the page title. That alone generates the block.
  2. Add the description, canonical URL, preview image, content type (website or article), site name and, optionally, your X handle.
  3. Read the warnings. If the title goes past 60 characters or the description past 160, it warns they may be cut off. If the image isn't an absolute URL, it warns that Facebook, X and WhatsApp may not display it.
  4. Copy the block, or download it as .html.

The 60 and 160 are the tool's reference values, not Google rules: what actually shows depends on pixel width and device. Treat them as an early alarm.

Writing the title and description

Put the words that identify the page first, since the end of a long title is the part most likely to be cut. Say what the page offers in plain terms and keep the brand name short, ideally at the end. For the description, write one or two sentences that tell a reader why to open the page, and avoid copying the first paragraph. Because Google may rewrite either one, treat them as your best proposal, not a guarantee.

A quick check before you publish

  1. Each page has a unique title and its own description.
  2. The canonical points to the final URL, complete and with https.
  3. The page doesn't inherit a noindex from a staging environment by accident, a frequent mistake when launching a new site: if it does, search engines won't index it.
  4. The Open Graph image is an absolute URL and opens without logging in.
  5. The viewport tag is present.

What you can stop writing

  • Meta keywords, because Google doesn't use them.
  • Identical descriptions on every page: each page needs its own, or none.
  • Legacy tags that are no longer read, such as the refresh tag as a redirect method: Google recommends a server-side redirect.

To see how your title and description will look in a result, use the Google SERP preview.

Frequently asked questions

Which meta tags matter for SEO?

The title, meta description, canonical, robots when needed and the viewport. Open Graph and Twitter tags don't influence rankings, but they control how the link looks when shared.

Do meta keywords still work?

No. According to Google's documentation, Google Search doesn't use them and they have no effect on indexing or ranking.

How long should a meta description be?

There's no official limit. What displays depends on the device and the width. The tool warns past 160 characters, and past 60 for the title, as a reference.

Does Google always use my meta description?

Not always. It may use it as the snippet in some cases, but it can also show other text from the page.

Where do I paste the meta tags block?

Inside the head tag of your HTML, or in the metadata your framework or CMS generates.

Generate your meta tags block

Title, description, canonical, Open Graph and Twitter Card, with length warnings. Runs locally, free, no signup.

Open Meta Tags Generator →

Related tools

You might also like: which rich results still exist (and how to earn them) and robots.txt vs sitemap.xml: what each file actually does.