🏷️

Meta Tag Generator

Generate production-ready SEO, Open Graph, and Twitter Card meta tags with live previews of Google search results, Twitter cards, and Facebook link previews.

Basic SEO
0/60
0/160
Open Graph Facebook · LinkedIn
0/95
0/200
× px
Twitter / X Card
0/70
0/200

Search result preview

Fill in a title or description to see the Google preview.

Twitter / X card preview

Facebook link preview

example.com
Your page title will appear here
Your description will appear here.
Generated HTML
<!-- Start filling in the form to generate your meta tags -->
Tip: Place these tags inside your page's <head>. Canonical and OG URL should match your page's final, canonical address.
Advertisement
About this meta tag generator

This free meta tag generator builds production-ready SEO, Open Graph, and Twitter Card tags from a single form — and shows you exactly how the page will look in Google search results, a Twitter / X card, and a Facebook link preview while you type.

Instead of hand-writing dozens of <meta> tags and guessing at title and description lengths, you fill in fields with live character counters, pick robots directives and a theme colour, and copy clean HTML straight into your page's <head>. People use it to:

Everything runs locally in your browser — your titles, descriptions, and URLs are never uploaded to a server, so drafts and unpublished pages stay private and the tool keeps working offline once loaded.

How to use
  1. Enter a page title (aim for under 60 characters) and a meta description (around 150–160 characters), watching the live counters turn amber as you near the limit.
  2. Add the canonical URL, author, comma-separated keywords, and choose your robots directives and theme colour in the Basic SEO section.
  3. Fill in the Open Graph fields — OG title, description, image URL, dimensions (1200×630 ideal), type, and site name — for Facebook and LinkedIn shares.
  4. Set the Twitter / X card type and your @site and @creator handles; blank Twitter and OG fields automatically mirror the Basic SEO values.
  5. Check the Google, Twitter, and Facebook preview tabs, then click Copy All (or Download) and paste the generated HTML into your page's <head>.
FAQ

Keep page titles around 50–60 characters and meta descriptions around 150–160 characters so Google doesn't truncate them. The live counters in the Basic SEO section turn amber as you approach each limit and red if you go over, so you can trim before copying.

Open Graph (og:) tags tell Facebook, LinkedIn, and many other platforms what title, description, image, and URL to show when your page is shared. Without them those sites guess, often picking the wrong text or no image. This tool generates og:title, og:description, og:image with width and height, og:type, og:url, and og:site_name.

summary shows a small square thumbnail next to the title and description, while summary_large_image shows a full-width banner image — the same 1200×630 image you use for Open Graph works well. Pick the card type in the Twitter / X section and the preview tab updates to match.

A canonical URL tells search engines which version of a page is the master copy, preventing duplicate-content issues when the same content is reachable at multiple addresses. Set it to your page's final, preferred address; the generator also reuses it for og:url and twitter:url unless you override them.

The robots meta tag controls how search engines treat the page. index/follow lets it be indexed and its links crawled; unchecking them outputs noindex or nofollow. noarchive hides the cached copy, and nosnippet prevents Google from showing a text snippet. The tool combines your checkboxes into a single robots meta tag.

Social platforms aggressively cache Open Graph data. Force a refresh with the Facebook Sharing Debugger, LinkedIn Post Inspector, or Twitter Card Validator. For Google, submit the URL in Search Console to speed up re-crawling.

Inside the <head> of your HTML, before the closing </head>. For WordPress use a plugin like Yoast or RankMath; for Next.js use the Metadata API; for Webflow paste them into the page's custom code head section. Use Copy All for everything or copy a single section tab.