Meta Tag Generator

Popular

Generate perfect SEO, Open Graph and Twitter Card meta tags. Watch three live previews (Google, Facebook, X) update instantly, catch validation issues before you ship, and copy or download the HTML.

Last updated June 2025 4 min read Works in browser Privacy first

Meta Tag Studio

Fill the fields, watch three live previews update instantly, ship the HTML.

Pixel widths (approx.)

Title0 / 580px · empty
Description0 / 990px · empty

Google truncates titles at ~580 px on desktop and descriptions at ~990 px. Character counts alone can mislead — capital letters and Ws are wider.

0 / 60
0 / 160
Google search result
🌐
example.com
example.com › page
Your page title appears here

Your meta description shows here. Aim for a compelling ~155-character summary.

Validation & insights
0 ok 0 warnings 2 errors
  • Title: Add a page title. It appears in the browser tab and search results.
  • Description: Add a meta description. It drives click-through from search.
  • Canonical: Set a canonical URL to avoid duplicate-content issues.
  • OG Image: Add an OG image (1200×630) for beautiful social previews.
Generated HTML
6 lines
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="robots" content="index, follow" />
<meta http-equiv="content-language" content="en" />
<meta name="theme-color" content="#4F46E5" />
<meta name="referrer" content="strict-origin-when-cross-origin" />
Guide

What meta tags actually are

Meta tags are small snippets of HTML that live inside the <head> of every page and tell search engines and social platforms how to describe your page. Three of them matter most:

  • <title> — the clickable headline in a Google result and the label of the browser tab.
  • <meta name="description"> — the summary Google usually shows underneath the title.
  • Open Graph and Twitter Card tags — the title, description and image that appear when someone shares your link on Facebook, LinkedIn, Slack, WhatsApp or X.

None of these tags are visible on your page, but they are the first thing 90% of your future visitors will ever see.

How Meta Tag Studio works

Everything happens inside your browser. Nothing you type is uploaded, logged or shared. Refreshing the page clears the state — nothing is stored.

Why meta tags still matter in 2025

You can have the best product in your category and still lose the click if your title is truncated at "Best pricing pl…". Meta tags are one of the last places where a single line of text change can genuinely move the needle:

  • Google Search Console studies consistently show 5–15% CTR uplift when a stale title is rewritten.
  • Facebook and LinkedIn use og:image as the single strongest cue for whether to click a shared link.
  • X (formerly Twitter) crops your card aggressively — writing to the card, not the tweet, is what determines shares.

Title tag — best practices

Rule Recommendation
Length 50–60 characters (roughly 550px in Google's SERP)
Structure Primary keyword first, brand at the end, separated by a pipe or dash
Uniqueness Every page should have a unique <title> — never reuse the site title
Punctuation Use `
✅ Buy premium leather backpacks — free shipping | Example Store
❌ Home
❌ Example Store - The best online store for everyone who wants great products at good prices

Meta description — best practices

  • Sweet spot: 140–160 characters. Google truncates around 160 on desktop, 120 on mobile.
  • Write it like ad copy — lead with the outcome, not the product.
  • Include the primary keyword once, naturally. Repeating it looks spammy.
  • End with a subtle CTA: "See prices", "Read the guide", "Try it free".

Open Graph — the social share layer

Open Graph is the standard invented by Facebook and now used by LinkedIn, Slack, WhatsApp, Discord and most link-preview services. The four tags that matter:

<meta property="og:title" content="Buy premium leather backpacks — free shipping" />
<meta property="og:description" content="Handcrafted leather backpacks built to last decades." />
<meta property="og:image" content="https://example.com/og/backpacks.jpg" />
<meta property="og:url" content="https://example.com/shop/leather-backpacks" />

The OG image is the whole game

  • 1200 × 630 px is the safe size — Facebook, LinkedIn, WhatsApp all crop to a 1.91:1 ratio.
  • Keep the image under 5 MB (Facebook still errors above this).
  • Serve it over HTTPS — many crawlers silently drop http:// images.
  • Prefer JPG or PNG. WebP works on modern platforms but a few link-preview services still choke on it.
  • Put text on the image, but keep it readable at 300px wide (that's the mobile share size).

Twitter (X) Card — pick the right type

X supports several card types. For 95% of pages you want one of two:

  • summary — a small square thumbnail beside the text. Good for internal pages.
  • summary_large_image — a full-width hero image. Best for landing pages, articles and marketing links.

Twitter falls back to og:image and og:description when the equivalent twitter:* tags are missing, which means the tags in Meta Tag Studio "just work" — but overriding them when your headline needs to be shorter for the card format is a nice power move.

Canonical URL — the tag that fixes duplicate content

If a single piece of content lives at multiple URLs (e.g. ?utm_source=… variants, www. vs. non-www, /, /index.html), search engines can split the ranking signal between them. The canonical tag tells them which URL is the source of truth:

<link rel="canonical" href="https://example.com/shop/leather-backpacks" />

Always set canonical, even on a page you think has only one URL — it protects you from parameters, mobile variants and future refactors.

Robots meta tag — the on/off switch

<meta name="robots" content="index, follow" /> is the safe default: index this page and follow the outbound links. Common variants:

  • noindex, follow — for internal thank-you or draft pages.
  • index, nofollow — very rare, avoid.
  • noindex, nofollow — for admin, staging or utility pages you never want to appear.

Meta Tag Studio auto-fills index, follow. Change it only when you have a specific reason.

The five mistakes we see the most

  1. Leaving the OG image blank. Social shares become a plain-text card with 6× lower CTR.
  2. Copy-pasting the same title on every page. Google will pick one and ignore the rest.
  3. Setting noindex on a page you actually want indexed. Always double-check after copying tags between templates.
  4. Using an http:// image URL. Half the platforms strip it silently.
  5. Writing 200-character descriptions. Google truncates them — write to 155 and stop.

What to do after copying the HTML

  1. Paste the block into the <head> of the page you're describing.
  2. In frameworks like Next.js or Astro you can plug the same values into the built-in metadata API — the tag names Meta Tag Studio emits map 1:1.
  3. Validate with the Facebook Sharing Debugger and the X Card Validator.
  4. For Google, wait for the URL to be re-crawled — Search Console usually reflects the new snippet within a day.
Meta tags do not fix bad content

A perfect meta description will lift CTR by 5–15%. A great product page compounds that forever. Ship both.

Frequently asked, expanded

Do I need the keywords meta tag? Google has ignored it since 2009. Bing gives it near-zero weight. Meta Tag Studio adds it only when you fill it in, in case a niche crawler still uses it.

What about og:locale, og:type or article:published_time? They matter for social previews and rich results. og:locale (defaults to en) improves cross-language previews. og:type should be article on blog posts and product on product pages.

Should the OG title differ from the page title? Usually no — but if your headline is over 65 characters, a shorter og:title prevents Facebook from truncating.

Where is my data going? Nowhere. This tool is a static React component. There's no backend call when you type — inspect the Network tab if you're curious.

Further reading

Steps

How to use

  1. Fill in the Basic SEO fields — title, description, canonical URL.
  2. Add Open Graph + Twitter Card content (empty fields auto-fall back to Basic).
  3. Watch the three live previews and fix any validation warnings.
  4. Copy the generated HTML or download it as an .html file.
Why you’ll love it

Benefits

Three live previews

See Google, Facebook and Twitter previews update as you type.

Smart validation

Catches missing tags, length issues and invalid URLs before you deploy.

Zero server calls

Everything runs in your browser. Your inputs never leave the tab.

In practice

Examples

  • A SaaS landing page with a 55-char title, 150-char description and a 1200×630 OG image.
  • A blog post with og:type = article and a Twitter summary_large_image card.
  • A product page with canonical URL and a page-specific OG image.
Tips

Pro tips

  • Titles between 50–60 characters usually preserve full text in Google results.
  • Aim for 140–160 characters in your meta description for higher CTR.
  • Always host OG images on HTTPS. Some platforms silently drop http:// images.
  • A canonical URL prevents duplicate-content dilution — set it even when there is only one version.
  • og:image should be 1200×630px, under 5 MB, JPG or PNG.
Watch out

Common mistakes to avoid

  • Leaving OG title/description empty and hoping search engines guess.
  • Using site-wide OG images on every page (kills social CTR).
  • Forgetting the canonical tag when running A/B tests or multiple URLs.
  • Truncating descriptions mid-sentence — write to 155, not the max.
  • Setting robots to "noindex" by accident on a page you want indexed.

Frequently asked questions

Made with care by ToolMint