🎁 Get $100 FREE on your first $500 recharge·Limited-time bonus for new users·Sign up & claim your $100 instantly·$100 bonus on $500+ first deposits·Apply once, instant credit on signup·
* T&C apply
Live previews, free, no signup

Free meta tag generator for SEO, Open Graph & Twitter Cards

Fill in your title, description, URL and image and get a complete <head> meta block — title, canonical, robots, Open Graph and Twitter Card tags — with live Google SERP and social card previews. Runs entirely in your browser.

Free No signup Private — nothing uploaded Live previews
Your page details
0/60
0/160
Generated <head> tags
Google preview
example.com
https://example.com
Your page title appears here
Your meta description appears here. Keep it under 160 characters so Google does not truncate it in the search result.
Social card preview
1200 × 630 image
example.com
Your page title appears here
Your meta description appears here. Keep it under 160 characters so Google does not truncate it in the search result.

100% in-browser. Your input never leaves your device — no upload, no logging. Values are HTML-escaped automatically.

What you get

Every meta tag a page needs — in one copy-ready block

Title & description

The title tag and meta description that control your Google snippet, with live counters that warn past 60 and 160 characters.

Open Graph tags

Full og:title, og:description, og:image, og:url, og:type and og:site_name so Facebook, LinkedIn, Slack and WhatsApp render a rich card.

Twitter Card tags

Choose summary or summary_large_image and set your @handle. Twitter-specific tags on top of Open Graph for a perfect X preview.

Canonical & robots

A canonical link to prevent duplicate-content issues and a robots meta tag (index,follow by default) to control crawling.

Live previews

See a Google SERP preview and a social card preview update as you type, so you fix truncation and framing before you ship.

Clean, valid HTML

Attribute values are HTML-escaped and the block is ready to paste straight into your . No meta keywords — Google ignores them.

What are meta tags?

Meta tags are small pieces of HTML placed in the <head> of a page that describe it to search engines, browsers and social networks. They never appear on the page itself, but they quietly decide how your link looks in Google and how it unfurls when someone shares it on X, LinkedIn, Slack or WhatsApp. Get them right and you win more clicks from the same ranking position; get them wrong and your result is truncated, your social card is blank, and your page may even disappear from search because of a single stray robots directive.

Writing clean HTML meta tags by hand is fiddly. One missing quote, one relative image URL where an absolute one is required, or one unescaped ampersand can quietly break a social preview. A meta tag generator removes that risk: you fill in plain fields, the tool outputs valid, HTML-escaped markup, and the live Google SERP and social-card previews show you exactly what the world will see before you ship.

This open graph and twitter card generator covers the social media meta tags that actually move the needle in 2026 — the title tag and meta description, the canonical and robots tags, the Open Graph protocol and Twitter Cards. It deliberately skips the meta keywords tag, which Google has ignored since 2009, so your output stays lean and modern.

The anatomy of the perfect title tag and meta description

The title tag is the single most important on-page SEO element and the headline Google shows in the search results. A good meta description generator still starts here, because nothing else earns the click like a sharp title.

How long should a title tag be?

Keep the title tag under about 60 characters. Google measures the title in pixels rather than characters, but 60 is the practical ceiling before desktop results truncate with an ellipsis. Front-load your primary keyword, add a differentiator, and finish with your brand — for example, Free Meta Tag Generator — Open Graph & Twitter | Serpbays. The live counter in this tool turns amber the moment you pass 60 so you never guess.

How long should a meta description be?

A meta description does not directly affect rankings, but it heavily influences click-through rate, which does. Keep it under about 160 characters, write it as ad copy rather than a summary, include the primary keyword naturally so Google bolds it, and end with a reason to click. If you leave it blank, Google will scrape a snippet from the page — usually a worse one than you would write yourself.

Open Graph protocol explained

The Open Graph protocol, introduced by Facebook in 2010, lets you control how a shared link appears as a rich card instead of a bare blue hyperlink. These og tags are read by almost every platform that builds a link preview — Facebook, LinkedIn, Slack, WhatsApp, Discord, iMessage and Pinterest — which is why an open graph tags generator is the backbone of any social presence.

The core Open Graph tags

  • og:title — the headline of the card. It can differ from your SEO title; make it punchy and curiosity-driven.
  • og:description — one or two sentences under the title. Around 65 characters show on most feeds before truncation.
  • og:image — the card image, hosted at an absolute HTTPS URL. This is the element that makes the card stop the scroll.
  • og:url — the canonical URL of the content, so shares of tracking-parameter variants all consolidate to one page.
  • og:type — the content type. Use website for most pages, article for blog posts, or product for e-commerce.
  • og:site_name — your brand name, shown as context above or below the card on several platforms.

The ideal Open Graph image size

The recommended og:image size is 1200 × 630 pixels, a 1.91:1 aspect ratio that fills the large card on Facebook, LinkedIn and X without cropping. Keep the file under about 5 MB, use JPG or PNG, and — this trips up most people — always use an absolute URL (https://example.com/og.png), never a relative path, because social crawlers cannot resolve relative links. If you only have a square asset, platforms fall back to the smaller summary layout, which earns far fewer clicks.

Twitter Cards: summary vs summary_large_image

X/Twitter reads its own twitter: tags and falls back to Open Graph for anything that is missing, so a dedicated twitter card generator only needs to add a few tags on top of your OG set. The one decision that really matters is the card type.

Card typeLooks likeBest for
summarySmall square thumbnail beside the textTools, docs, text-first pages
summary_large_imageFull-width banner above the textArticles, launches, visual content

In almost every case summary_large_image wins because the big banner drives more engagement. Set twitter:card, then add twitter:site with your @handle so the card is attributed to your brand and your profile gets a backlink of attention. The twitter:title, twitter:description and twitter:image tags mirror your OG values — this generator fills them in for you.

Open Graph vs Twitter Cards: the short version

Open Graph is the shared standard most platforms use; Twitter Cards are X's own layer on top. You always need Open Graph. You only need Twitter tags to pick the card type and set your handle. Output both — which this generator does by default — and every platform renders a perfect preview.

Canonical tags and the robots meta tag

Two meta tags silently control whether your page ranks at all, and both are easy to get wrong.

The canonical tag

A canonical tag (<link rel="canonical">) tells Google which URL is the master version when the same content is reachable from several addresses — with and without a trailing slash, with tracking parameters, or across HTTP and HTTPS. It consolidates ranking signals onto one URL and prevents duplicate-content dilution. Always point the canonical at the clean, absolute HTTPS version of the page, and make it self-referential on the master page itself.

The robots meta tag

The robots meta tag controls indexing. index,follow is the sensible default and the preset in this tool: it lets the page rank and lets link equity flow. Switch to noindex only on purpose — thank-you pages, internal search results, staging duplicates — because a stray noindex left over from a redesign is one of the most common reasons a healthy page silently drops out of Google. Note that robots.txt and the robots meta tag do different jobs; generate a crawl-control file with our robots.txt generator.

How to use this meta tag generator: step by step

Going from blank fields to a live social card takes under a minute:

  • 1. Enter your page title. Watch the counter; stay under 60 characters. This fills both <title> and og:title.
  • 2. Write the meta description. Keep it under 160 characters. The Google SERP preview updates as you type so you can see any truncation.
  • 3. Paste the page URL. Use the full absolute HTTPS address. This drives the canonical, og:url and the green URL line in the SERP preview.
  • 4. Add an image URL. Point to a 1200×630 asset on an absolute HTTPS URL to power the social card preview.
  • 5. Set the site name, Twitter handle and card type. Choose summary_large_image for a banner card.
  • 6. Copy the <head> block and paste it into your page. Done.

Real-world examples by page type

A blog post

For an article, set og:type to article, use a custom 1200×630 hero image with the headline baked in, and write an og:title that is more curiosity-driven than your SEO title. Pick summary_large_image so the banner dominates the feed.

A product or pricing page

Use og:type product (or website), feature the product shot in the OG image, and keep the title benefit-led. Add a canonical to the clean product URL so parameter variants from ads and filters consolidate.

A SaaS tool or landing page

A branded 1200×630 card with your logo and a one-line value proposition performs best. Set og:site_name and twitter:site so every share reinforces the brand. This is exactly the pattern Serpbays uses across its free tools.

Common meta tag mistakes to avoid

  • Relative image URLs. Social crawlers need absolute HTTPS paths; a relative /og.png renders a blank card.
  • Unescaped characters. A raw &, < or quote inside an attribute breaks the tag — this generator HTML-escapes every value automatically.
  • Over-long titles. Anything past ~60 characters gets truncated, hiding your call to action.
  • Missing canonical. Duplicate URLs split your ranking signals.
  • A leftover noindex. The classic post-launch traffic killer.
  • Relying on meta keywords. They do nothing for Google — see below.

Do meta keywords still matter?

No. The meta keywords tag has been ignored by Google since 2009 and offers zero ranking benefit — worse, publicly listing your target keywords just hands them to competitors. Every modern SEO workflow drops it, which is why this generator does not output it. Put that energy into a strong title, a compelling meta description, and clean Open Graph and Twitter Card tags instead; those are the html meta tags that genuinely influence clicks and sharing.

Why social media meta tags are worth the five minutes

It is tempting to treat Open Graph and Twitter Cards as optional polish, but the maths is compelling. A link shared with no og:image renders as a plain text row that most people scroll past; the same link with a crisp 1200×630 card and a benefit-led title can lift click-through on social by a large multiple, and those clicks compound every time someone reshares. Because the tags live in your <head>, you set them once and every future share — by you, by colleagues, by customers — inherits the polished card automatically.

The same discipline pays off in search. A keyword-front-loaded title and a description written like ad copy raise your organic click-through rate, and higher CTR from the same position is one of the cheapest wins in SEO. In other words, a few minutes in an og tags generator improves both how often your link is clicked in Google and how often it is clicked when shared — two different audiences, one block of HTML.

After your meta tags: structured data and more

Meta tags are the foundation, but rich results come from structured data. Once your <head> block is in place, generate a JSON-LD schema so Google can show stars, FAQs and breadcrumbs, control crawler access with a robots.txt file, and keep your titles and descriptions inside their character limits with the word counter. The full index of free utilities lives at /tools.

Meta tags quick reference

Here is what each tag does, where it fits, and the recommended value:

TagPurposeRecommended
<title>Google SERP headline≤ 60 chars
meta descriptionSERP snippet text≤ 160 chars
link canonicalMaster URL of the pageAbsolute HTTPS URL
meta robotsIndexing controlindex,follow
og:imageSocial card image1200×630 px
og:typeContent typewebsite
twitter:cardX card stylesummary_large_image
meta keywordsLegacy — ignored by GoogleSkip it

Where do meta tags go?

Every meta tag belongs inside the <head>...</head> section of your HTML, before the closing </head> tag — crawlers ignore any meta tag placed in the <body>. In a CMS like WordPress an SEO plugin injects them for you; in frameworks like Next.js you set them through the metadata API; in a hand-coded site you paste the block directly. After you copy the output above, drop it into your head, deploy, and validate the result with Facebook's Sharing Debugger and X's Card Validator to force a fresh crawl of your new social media meta tags.

Pair it with the rest of the free toolkit

After your meta tags, add a JSON-LD schema for rich results, control crawlers with a robots.txt file, and keep titles and descriptions in range with the word counter. The full index is at /tools.

Browse all free SEO tools
FAQ

Meta tag questions, answered

  • Meta tags are snippets of HTML placed in the <head> of a page that describe it to browsers, search engines and social networks. They are not shown on the page itself. The most important are the title tag and meta description, which control your Google snippet, plus canonical, robots, Open Graph and Twitter Card tags that control indexing and social previews.

  • Open Graph (OG) tags are a protocol created by Facebook that tells social platforms how to display your link when it is shared. The core tags are og:title, og:description, og:image, og:url and og:type. Facebook, LinkedIn, Slack, WhatsApp, Discord and Pinterest all read Open Graph to build the preview card.

  • Open Graph is the shared standard used by most platforms; Twitter Cards are X/Twitter's own tags (twitter:card, twitter:title, and so on). X falls back to Open Graph when Twitter tags are missing, so you only need Twitter tags to set the card type (summary vs summary_large_image) and the twitter:site handle. This generator outputs both so every platform renders correctly.

  • The recommended Open Graph image size is 1200 × 630 pixels (a 1.91:1 ratio), which fills the large social card on Facebook, LinkedIn and X without cropping. Keep it under about 5 MB, use JPG or PNG, and host it at an absolute HTTPS URL. For the small square summary card, a minimum of 144 × 144 works.

  • Keep the title tag under about 60 characters and the meta description under about 160 characters so Google does not truncate them in the search result. The live counters in this tool turn amber the moment you cross each limit. Front-load your primary keyword and write for clicks, not just for the algorithm.

  • No. The meta keywords tag has been ignored by Google since 2009 and offers no ranking benefit, so this generator does not output it. Focus on a strong title, a compelling meta description, and clean Open Graph and Twitter tags instead — those are the meta tags that actually influence clicks and sharing.

  • Paste the generated block inside the <head>...</head> section of your HTML, before the closing </head> tag. In a CMS like WordPress an SEO plugin usually adds them for you; in frameworks like Next.js you set them through the metadata API. The tags must be in <head> — crawlers ignore meta tags placed in the body.

  • Yes, completely free with no signup. The generator runs entirely in your browser, so nothing you type is uploaded, stored or logged. Fill in the fields, copy the complete <head> block, and paste it into your site — unlimited use, no account required.

Perfect meta tags get the click — links get the ranking

Clean Open Graph and title tags win more clicks from the search results you already have. Climbing higher takes authority links — see how Serpbays builds them.

Start free on Serpbays