SEO Meta Tags Generator and Meta Tag Analyzer With Social Preview

Fill in a short form to generate SEO meta tags, Open Graph and X card tags with live Google and social previews, or paste a page's source to analyze the tags it already has.

  • Title, description, robots, canonical
  • Open Graph and X cards
  • Google, Facebook and X previews
  • Meta tag analyzer
  • No sign-up, no upload

1Title and description

2Canonical, language and robots

Robots directives (leave all unticked for a normal page)

3Open Graph for Facebook, WhatsApp and LinkedIn

4X (Twitter) card

Generated tags Paste inside <head>, before </head>

Google

Eexample.comhttps://example.com
Your page title
Your meta description

Facebook, WhatsApp, LinkedIn

X (Twitter)

image
Your page title Your description example.com

Previews load og:image straight from its URL into your browser. Layouts are close copies; each app crops a little differently.

About Meta Tag Generator

This meta tag generator writes the HTML meta tags a page needs from a short form: charset and viewport, the title tag, the meta description, robots, canonical, author, language and theme colour, Open Graph tags for Facebook, WhatsApp and LinkedIn, and Twitter card tags for X. You do not need to know HTML: fill in the fields, copy the code and paste it inside the page's <head>.

As you type, three previews update: the Google result, the link card Facebook, WhatsApp and LinkedIn show, and the X card. Counters under the title and description show when the text fits, and the og:image you enter is loaded to check its size and shape.

The second mode is a meta tag analyzer: paste the source of any page and it lists the tags it finds with their lengths, and flags what is missing, duplicated or set to noindex. Both modes run in your browser; no page is fetched and nothing you type is sent anywhere.

How to use Meta Tag Generator

  1. Type the page title and meta description. The counters turn green at 50 to 60 and 110 to 160 characters.
  2. Add the canonical URL, language and author, and tick robots options only if the page needs them; a normal page needs none.
  3. Fill in the Open Graph fields: the image URL (1200 × 630 pixels), the site name and, only if they should differ, a social title and description.
  4. Choose the X card type and add your @site and @creator handles.
  5. Check the Google, Facebook and X previews, then copy or download the code and paste it inside the page's <head>.
  6. To analyze a page you already have, switch to Check a page's tags, paste its source (Ctrl+U) and read the report.

Every meta tag the generator writes, and what it does

The head of a page holds a small set of tags that browsers, search engines and social apps read before anything else. This table lists each one the generator can write, what it controls and a sensible value. The first four belong on every page; the rest depend on how the page is used.

Meta tags and head tags, one row each
TagWhat it does and a good value
<html lang>Declares the page's language for browsers, screen readers and translation tools. Good value: Written as a reminder comment: set it on the opening html tag, for example lang="en".
<meta charset>Sets the text encoding, so letters and symbols show correctly. Good value: utf-8, as the first tag in the head.
<meta name="viewport">Makes the page fit phone screens instead of a shrunken desktop layout. Good value: width=device-width, initial-scale=1
<title>The text on the browser tab and, usually, the headline of the search result. Good value: 50 to 60 characters, main keyword near the start, different on every page.
<meta name="description">The summary Google may show under the title. It is not a ranking factor. Good value: 110 to 160 characters that make the click worth it, different on every page.
<meta name="keywords">A list of keywords. Google ignores it. Good value: Optional. Leave it out, or keep a few phrases that appear on the page.
<meta name="author">Names the person or brand behind the page. Good value: Optional.
<meta name="robots">Indexing rules: noindex, nofollow, noarchive, nosnippet, max-image-preview. Good value: Leave it out on a normal page that should be in search results.
<link rel="canonical">Names the preferred address when the same content has more than one. Good value: The page's own full https:// URL.
<meta name="theme-color">Tints the browser bar on phones. Good value: Your brand colour as a hex code.
og:title, og:descriptionThe headline and text of the link card on Facebook, WhatsApp and LinkedIn. Good value: Left blank in the form, they reuse the title and description.
og:image, og:image:altThe picture in the link card, and a description of it. Good value: An absolute URL, 1200 × 630 pixels.
og:type, og:urlWhat the page is (website, article, product) and its address. Good value: og:url is the canonical URL.
og:site_name, og:localeYour brand above the card title, and the page's language. Good value: The locale follows the language field, for example en_US.
twitter:cardThe layout of the X card. Good value: summary_large_image for most pages.
twitter:site, twitter:creatorThe X handles of the site and of the author. Good value: @handle

Here is what a complete set looks like. These are the generator's own tags for a recipe page with a title, description, canonical URL, social image, site name and X handle filled in:

<!-- On the opening html tag: <html lang="en"> -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Sourdough Bread Recipe for Beginners | Fresh Bakes</title>
<meta name="description" content="Bake a crusty sourdough loaf at home: feed the starter, mix, fold and bake, with timings for every step of this beginner recipe.">
<link rel="canonical" href="https://example.com/sourdough-bread">

<!-- Open Graph: Facebook, WhatsApp, LinkedIn -->
<meta property="og:title" content="Sourdough Bread Recipe for Beginners | Fresh Bakes">
<meta property="og:description" content="Bake a crusty sourdough loaf at home: feed the starter, mix, fold and bake, with timings for every step of this beginner recipe.">
<meta property="og:type" content="article">
<meta property="og:url" content="https://example.com/sourdough-bread">
<meta property="og:image" content="https://example.com/images/sourdough-loaf.jpg">
<meta property="og:image:alt" content="A crusty sourdough loaf on a wooden board">
<meta property="og:site_name" content="Fresh Bakes">
<meta property="og:locale" content="en_US">

<!-- Twitter card (X) -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@freshbakes">

The title and the canonical are not <meta> elements, but they sit in the same head block and the generator writes them with the rest.

Which meta tags help SEO, and which do not

Meta tags do different jobs, and only some of them touch search results. Here is where each one stands, based on what Google, Bing and Yandex have published.

Used for ranking and indexing

  • Title tag: Google reads it to understand the page and usually shows it as the headline, though it can rewrite it.
  • Robots: noindex keeps a page out of results.
  • Canonical: tells Google which copy of a page to index.
  • Viewport: makes the page usable on phones, and Google indexes the mobile version.

Shown, not ranked

  • Meta description: shapes the snippet under the title. Google does not rank on it and may show other text from the page instead.
  • Open Graph and Twitter cards: build the link preview in social apps and chats. They have no effect on Google rankings.

Ignored by Google

Meta keywords: Google said in September 2009 that it does not use the tag in ranking, and Bing wrote in 2014 that it is dead in terms of SEO value. Yandex is the exception: its help says the tag can influence a page's relevance. Tags such as revisit-after are not on Google's list of supported meta tags either. How many keywords to put in the tag, if you use it, is covered in How many SEO keywords should I use.

So a page with good meta tags does not rank on its tags alone: the content has to answer the search. What the right tags do is make sure the right page is indexed, that it works on phones, and that the result and the shared link look worth clicking.

Meta tag analyzer: check the tags of any page

Switch to Check a page's tags and the tool works the other way round: paste a page's source and the analyzer lists every tag it finds, its length and a status. It works on any page you can open, including drafts, pages behind a login and files on your own computer, because it reads only what you paste.

What it reads

The title, meta description, canonical, robots, viewport, charset, html lang and meta keywords; og:title, og:description, og:image, og:url, og:type and og:site_name; twitter:card and twitter:site; the favicon link; and the number of H1 headings.

What it flags

  • Missing tags, such as no description or no viewport
  • Duplicates: two titles or two canonicals, where search engines pick one
  • A title under 30 or over 60 characters, a description under 70 or over 160
  • A canonical or og:image that is not an absolute URL
  • A robots tag set to noindex
  • No H1, or more than one

The usual surprises are a theme and a plugin both writing a description, a canonical that points at the home page, and a noindex left over from a staging site. When the report is in, Load these values into the generator copies the title, description, canonical, image and handles into the form, so you can fix them and copy a clean set.

How to find the meta keywords of a website

Open the page, press Ctrl+U to view its source and search for name="keywords". Or paste the source into the analyzer: the report shows the meta keywords line, marked "ignored by Google", next to every other tag. If the line is missing, the site does not use the tag, which is normal today.

og:title, og:image and the link preview

When someone shares your page on Facebook, WhatsApp, LinkedIn, Slack or Discord, the app fetches the page and builds a card from its Open Graph tags: og:title for the headline, og:description for the text and og:image for the picture. og:title can match the title tag or be a shorter version written for people scrolling a feed. Leave the field blank and the generator reuses the page title; most apps do the same when og:title is missing.

Social image sizes
WhereShapeSize
Facebook link card1.91:11200 × 630 pixels recommended; at least 600 × 315 for the large card
LinkedIn1.91:1The same og:image; 1200 × 630 works well
WhatsAppVariesReads the same og:image; small previews crop it to a square
X, summary_large_image2:1At least 300 × 157, at most 4096 × 4096, under 5 MB
X, summary1:1At least 144 × 144, at most 4096 × 4096, under 5 MB

The generator loads the og:image you enter and reports its size and shape: under 600 × 315 is too small for a large card, and a picture far from 1.91:1 or 2:1 gets cropped. Keep text and logos away from the edges.

Why a link preview does not update

Apps cache the card the first time a link is shared. After changing og:title or og:image, ask Facebook to fetch the page again with its Sharing Debugger and LinkedIn with its Post Inspector; X refreshes its card the next time it fetches the page.

Pages built with JavaScript

Link preview bots read the HTML your server sends, and most of them do not run JavaScript. If a single-page app adds its tags in the browser, the card can come out blank. Render the tags on the server or prerender the page.

Canonical tag generator and "Alternate page with proper canonical tag"

A canonical tag names the preferred address of a page: <link rel="canonical" href="https://example.com/page">. Type that address in the Canonical URL field and the generator writes the tag, and reuses the address as og:url so shares of the page are counted together.

  • Use the full URL with https://. The analyzer flags a relative one.
  • One canonical per page. Two that disagree leave Google to choose.
  • On a normal page, point it at the page itself (a self-referencing canonical).
  • Match the address in your sitemap and in your internal links.
  • Never point every page at the home page: Google treats that as a mistake and may ignore the tag.

What "Alternate page with proper canonical tag" means

This status in Search Console's Page indexing report lists pages whose canonical points to another URL that Google indexed instead. Google's help puts it plainly: the page "correctly points to the canonical page, which is indexed, so there is nothing you need to do." Typical entries are addresses with tracking parameters, sorted or filtered product lists, and AMP or mobile copies.

It needs work only when a page you want in search results is on the list. Paste that page's source into the analyzer: if its canonical points somewhere else, fix the setting in your theme or SEO plugin, then use URL Inspection in Search Console to ask Google to look again.

Where to add meta tags: HTML, WordPress, Blogger, Shopify, Wix and Next.js

On a hand-written page you paste the code. Most site builders keep the title and description in their own SEO fields instead, and write the tags for you.

Plain HTML

Paste the code inside <head>, before </head>. Keep the charset line first: browsers expect it within the first 1,024 bytes of the page. One title, one description and one canonical per page.

WordPress

Use an SEO plugin such as Yoast SEO or Rank Math: each post and page gets fields for the SEO title, meta description and social preview. Without a plugin, add the tags through a child theme or a code snippets plugin, so a theme update does not erase them.

Blogger

Settings, Meta tags, Enable search description adds a Search description box to each post's settings. For other tags, open Theme, Edit HTML and paste after the opening <head> tag.

Shopify

Online Store, Preferences holds the home page title, meta description and social sharing image. Products, collections and pages each have a Search engine listing section. Other tags go in theme.liquid, inside the head.

Wix

Each page's SEO settings hold its title tag and meta description, and the advanced SEO settings let you add custom meta tags, such as a site verification tag.

Next.js and React

In the Next.js App Router, export a metadata object or a generateMetadata function from the page or layout. In a React app rendered only in the browser, render or prerender the tags on the server so link preview bots can see them.

Sources: Google Search Central, "Meta tags and attributes that Google supports" and "Google does not use the keywords meta tag in web ranking" (21 September 2009); Search Console Help, Page indexing report; Bing Webmaster Blog, "Blame the meta keyword tag" (October 2014); Yandex Webmaster help, meta tags; Facebook sharing and X cards developer documentation; the WHATWG HTML standard for the charset rule. Last checked 22 November 2026.

Tips for best results

  • Write the title for the searcher first: the main keyword near the start, the brand at the end, within about 60 characters.
  • Give every page its own title and description. When many pages share them, the results look alike and Google has to guess which page answers the search.
  • Leave og:title and og:description blank to reuse the title and description; fill them only when the social version should differ.
  • Use one canonical per page, always absolute (https://...), and make it match the URL in your sitemap.
  • Make the social image 1200 × 630 pixels and keep text away from the edges, since some apps crop it to a square.
  • After publishing, paste the live page's source into Check mode to confirm your theme or plugin did not add a second title or description.

Frequently asked questions

What are meta tags in HTML?

Meta tags are elements inside a page's <head> that describe the page to browsers, search engines and social apps, such as <meta name="description" content="...">. Visitors do not see them on the page. The title tag and the canonical link are not <meta> elements, but they sit in the same place and are usually counted with them.

Which meta tags are important for SEO?

The title tag, the meta description, the robots tag, the canonical link and the viewport tag. The title is the one Google weighs; robots and canonical decide which pages get indexed; the viewport makes the page usable on phones; the description shapes the snippet. Open Graph and Twitter card tags matter when the page is shared, not for ranking.

Do meta tags help SEO?

Some do. The title tag helps Google understand the page and is usually the headline of the result. The meta description does not affect ranking, but a clear one can earn more clicks. Robots and canonical tags help by keeping the right pages in the index. The meta keywords tag does nothing on Google.

Does the meta keywords tag help ranking?

Not on Google, which said in 2009 that it does not use the tag, and Bing has called it dead for SEO. Yandex says it can influence relevance. The generator only writes the tag when you fill in the field. How many keywords to put in it is covered in our guide to keywords per page.

Where do I paste the generated meta tags?

Inside the <head> section of the page, before </head>, with the charset line first. On WordPress, Shopify, Wix or Blogger you usually type the title and description into the platform's SEO fields instead of pasting code; the section on where to add meta tags shows where each one keeps them.

How do I add meta tags in WordPress?

Install an SEO plugin such as Yoast SEO or Rank Math, open the post or page, and fill in its SEO title, meta description and social fields; the plugin writes the tags. Without a plugin, add the code to the theme's header through a child theme or a code snippets plugin, so a theme update does not remove it.

What is og:title?

og:title is the Open Graph tag that sets the headline of the link card when a page is shared on Facebook, WhatsApp, LinkedIn and other apps: <meta property="og:title" content="...">. It can match the title tag or be a shorter, friendlier version. When it is missing, most apps fall back to the title tag.

What size should the Open Graph image be?

Facebook recommends 1200 by 630 pixels (a 1.91:1 ratio) and needs at least 600 by 315 for a large card; LinkedIn uses the same shape. X shows a summary_large_image card at 2:1, at least 300 by 157 and under 5 MB. Use an absolute https:// URL; relative paths are not read.

What does the meta viewport tag do?

<meta name="viewport" content="width=device-width, initial-scale=1"> tells phones to lay the page out at the screen's width instead of shrinking a desktop layout to fit. Without it a responsive design does not respond and text is tiny. Google indexes the mobile version of pages, so the tag belongs on every page.

What does the robots meta tag do?

It tells search engines what to do with the page: noindex keeps it out of results, nofollow stops links being followed, noarchive hides the cached copy, nosnippet hides the text snippet and max-image-preview:large allows big image previews. Leave every box unticked for a normal page that should be indexed.

When do I need a canonical tag?

When the same content is reachable at more than one address, such as with tracking parameters, a print version or http and https. The canonical tells Google which URL to index. The generator writes it from the Canonical URL field and uses the same address for og:url; when in doubt, use the page's own full URL.

What does "Alternate page with proper canonical tag" mean in Search Console?

Google found a page whose canonical tag points to another URL, and it indexed that other URL instead. Google's help says there is nothing you need to do. Look closer only if a page you want in search results is in the list: then its canonical points somewhere it should not, often because of a theme or plugin setting.

How do I find the meta keywords of a website?

Open the page, press Ctrl+U (View page source) and search for name="keywords". Or paste the source into this tool's Check mode: the report shows the meta keywords if the page has any, next to every other tag. Many sites have none, because Google ignores the tag.

Can I analyze the meta tags of any page?

Yes. Switch to Check a page's tags and paste the page's source (right-click, View page source, copy everything). The meta tag analyzer lists the title, description, canonical, robots, viewport, charset, Open Graph and Twitter tags, flags missing and duplicate tags, relative URLs and a noindex, and counts the H1 headings. Nothing is fetched or uploaded.

Why does my link preview not show the image?

The og:image URL must be public and absolute (https://...), and the file must be an image the app can download. The preview here loads it straight into your browser, so if it fails here it will usually fail there too. Apps also cache previews: Facebook's Sharing Debugger and LinkedIn's Post Inspector fetch the page again after you change the image.

Do Twitter card tags still work on X?

Yes. X still reads twitter:card, twitter:site and twitter:creator and falls back to the Open Graph title, description and image, so you only need the Open Graph set plus the card type and the handles.

Guides