0 characters
0 / 160

Robots directives

Browser and verification

Google preview

About the Meta Tag Generator

What is a meta tag generator?

Meta tags sit in the head of a page and tell browsers and crawlers what the page is. A handful of them do real work. Most of the ones you will find in older generators do nothing at all, and have done nothing for over a decade. This tool writes the ones that count and tells you plainly when you are about to ship one that does not.

The other half of the job is length. Google does not cut desktop titles at 60 characters. It cuts them at a fixed width, so a title full of capitals and Ws runs out of room sooner than one full of narrow letters such as i and l. The preview cuts your title and description close to where we measured Google cutting them, on desktop and on phones.

The same form covers sharing too. It writes the og: and twitter: tags that link previews use, and the Include Open Graph and Include X card switches leave them out.

How to Use This Tool

  1. Write the title and description. The counters track characters, and the badges under the preview show how close each one is to Google's cut.
  2. Watch the preview. Switch between desktop and mobile to see where Google cuts the title and description on each.
  3. Set the canonical URL. Make it absolute. Google supports relative URLs but recommends absolute ones.
  4. Build the robots line. Every directive is a toggle, and the sentence underneath translates the result into plain English before you commit it.
  5. Copy or download. Output is HTML by default, or a Next.js metadata export if you are working in the App Router.

Which meta tags still do something

This is the part most generators get wrong. Google publishes the list of tags it reads, and it is short. Everything else is either a browser instruction or dead weight.

TagDoes it still workWhat it does
titleYesThe main input to the title link in search results, though Google may rewrite it
descriptionYesSometimes used as the snippet. Not a ranking factor
robotsYesControls indexing, snippets and previews
canonicalYesNames the preferred URL among duplicates
viewportYesTells the browser how to render on a phone
charsetYesHas to be utf-8, and has to appear in the first 1024 bytes
google-site-verificationYesProves ownership in Search Console
keywordsNoGoogle said so publicly in 2009 and has not changed its mind
revisit-afterNoNever supported by any major engine. It came from one regional Canadian index
author, copyright, languageNoHarmless, but no engine reads them. Language comes from your text
noarchiveRetiredGoogle dropped it along with cached pages. Other engines may still use it

We still generate keywords and author if you fill them in, because plenty of internal search tools and CMS integrations read them. The tool just tells you what they are worth first.

Where does the preview cut the title and description?

The preview cuts desktop titles at about 554 pixels in 20px Arial and descriptions at about 160 characters. Those are estimates from Google results we measured on October 28, 2026, not limits Google publishes.

For most titles, 554 pixels is roughly 57 to 62 characters, up to 67 with few capitals, and fewer in all capitals.

Google sends phones the whole title, and they show up to two lines of it. The SEO Title and Meta Description Checker shows both previews in detail and explains how we measured them.

Building the robots line

The robots tag is where a small typo becomes an expensive mistake. noindex on the wrong template can empty a section out of the index. The toggles here compose the directives correctly and the sentence underneath reads the result back to you.

  • max-snippet:-1 lets Google choose the snippet length. Setting 0 is the same as nosnippet.
  • max-image-preview:large is what gets your image into rich results. The choices are none, standard and large, nothing else.
  • max-video-preview:-1 allows a preview of any length, and 0 leaves a still image only.
  • unavailable_after drops the page from results after a date, which suits an event or a job listing.
  • indexifembedded only matters alongside noindex, for content pulled into another page through an iframe.

One trap worth naming. A page set to noindex cannot be a canonical target, so pairing the two sends mixed signals. The tool flags that combination when it sees it.

Common Use Cases

The head block is boilerplate right up until it is wrong. These are the jobs this tool gets used for most:

  • Shipping a new page: get the title, description and canonical right before it goes live rather than after.
  • Trimming a title that gets cut: the badge under the preview shows how far past the desktop limit it runs, so you know how much to remove.
  • Staging and test sites: build a correct noindex line so a staging copy never competes with production.
  • Templates in a CMS: generate the pattern once, then drop your own variables into it.
  • Auditing an old page: paste the current values in and see what is dead weight.

For the sharing side there are two companions. The Open Graph Generator goes deeper on the og: block and previews the card on Facebook, LinkedIn, Slack, Discord and WhatsApp, and the X Card Generator covers the four card types and shows how X renders them today. Once you have the block, the HTML Validator will confirm it parses and the HTML Formatter will fit it to your indentation.

Frequently Asked Questions

Where do meta tags go?

Inside the head element, before the closing head tag. They do nothing in the body. The charset declaration has one extra rule, it has to appear within the first 1024 bytes of the document, so keep it at the very top.

What is the ideal meta title length?

Keep it under Google's desktop cut, which we measured in October 2026 at about 554 pixels in 20px Arial. That is roughly 57 to 62 characters for most titles, up to 67 with few capitals, and fewer in all capitals.

Does Google use the keywords meta tag?

No. Google said publicly in 2009 that it does not use the keywords meta tag in ranking, and nothing has changed since. The field is here because some site search products and content systems still read it, not because it helps you rank.

What is the difference between noindex and nofollow?

noindex keeps the page out of search results. nofollow tells crawlers not to follow the links on it. They are independent, so you can use either alone. Setting both is the same as writing none.

What does max-image-preview:large actually do?

It permits Google to show a large image preview for the page, which is what most rich result treatments need. Without it you may get a thumbnail or nothing. The only accepted values are none, standard and large.

Why did Google rewrite my title?

Google builds the title link from several sources, including your title element, the main heading, and og:title. It may rewrite a title that is too long, stuffed with keywords, or identical across many pages. Shortening it and making it specific to the page gives Google less reason to replace it.

Do I still need a charset tag if my server sends the header?

Include it anyway. It costs one line, it makes the file correct on its own, and it protects you when the page is saved or served by something that drops the header. The value has to be utf-8, which is the only encoding valid in HTML5.

Should every page have its own description?

Yes, where it is worth writing one. Duplicated descriptions across a site are a wasted opportunity rather than a penalty, and Google will often ignore a generic one and write its own snippet from the page instead.

Is my data sent to a server?

No. The tags are generated by JavaScript in your browser, so the titles and URLs you type never leave your device. That matters when you are working on a page that has not launched yet.

Is this tool free?

Yes, completely free with no account and no limit on how many pages you generate tags for.