Handitab

Meta Tag Generator

Generate HTML meta tags for a page title, description, canonical URL, robots, Open Graph, and Twitter Card, ready to paste into the head.

About Meta Tag Generator

Meta tags are elements in the head of an HTML page that describe it to search engines and social networks. This generator writes the title and meta description, a robots directive, an optional canonical link, Open Graph tags (og:title, og:description, og:url, og:image, og:site_name), and Twitter Card tags. The card type is summary_large_image when an image URL is given and summary otherwise. Values are HTML-escaped, and the title and description lengths are reported.

How to use Meta Tag Generator

  1. Fill in "Page title", "Description", "Canonical URL" and "Preview image URL", and the other options.
  2. The result appears below and updates as you type.
  3. Copy the result with the copy button, or download it as a file where that is offered.

Questions about Meta Tag Generator

How long should a title tag and meta description be?

Google truncates by pixel width, not characters, but about 50 to 60 characters for titles and 150 to 160 for descriptions usually fit on desktop. Put the most important words first in case of truncation.

Does the meta keywords tag still matter?

No. Google has said since 2009 that it ignores the keywords meta tag for ranking, which is why this generator does not output it. Spend the effort on the title and description instead.

Runs in your browser. Page last updated .

More seo and web tools

All 12 seo and web tools