Meta Tag Generator with Google & Social Preview

Fill in your page details to get title, description, canonical, robots, Open Graph and Twitter tags, with length checks and live Google and social previews.

Loading tool…

About the Meta Tag Generator

Google does not use a fixed character limit: titles are cut at about 600 pixels on desktop (roughly 50–60 characters) and descriptions at around 920 pixels (about 150–160 characters). The counters estimate pixel width with Arial font metrics, so a title full of wide letters like W and M is flagged earlier than one with narrow ones. Google may still rewrite titles and snippets it considers unhelpful.

Open Graph tags (og:title, og:image, …) control link previews on Facebook, LinkedIn, Slack, Discord and messaging apps. X (Twitter) reads its own twitter:* tags and falls back to Open Graph. Share images should be 1200×630 pixels, under 5 MB, and referenced by an absolute HTTPS URL; relative paths are not resolved by crawlers.

The canonical link tells search engines which URL to index when the same content is reachable at several addresses. noindex removes a page from results, while max-image-preview:large allows large image thumbnails in Google Discover. The keywords meta tag is ignored by Google, so it is not generated.

How to use it

  1. Enter the page title and description; watch the length indicators.
  2. Add the canonical URL, site name and share image URL.
  3. Pick the robots directives, Open Graph type and Twitter card style.
  4. Check the Google and social previews.
  5. Copy the tags into the <head> of your page.

Frequently asked questions

How long should a meta description be?
Aim for 120–160 characters. Google truncates around 920 pixels on desktop, and shorter on mobile, so put the key message first.
Why does Facebook show an old image after I changed og:image?
Facebook caches previews. Use the Meta Sharing Debugger and click Scrape Again, or change the image URL (e.g. add ?v=2).
Do I need both Open Graph and Twitter tags?
X falls back to og:title, og:description and og:image, but twitter:card is needed to choose the large image layout. The other twitter:* tags are optional.
Does the meta keywords tag help SEO?
No. Google announced in 2009 that it ignores the keywords meta tag for ranking.

Related tools