Meta Tag Generator

Generate HTML meta tags for SEO and sharing: title, description, robots, canonical, Open Graph and Twitter cards, with a Google preview. Free.

Google preview
example.com
Page title
Description…

Runs in your browser. Your data never leaves your device.

How to use the Meta Tag Generator

  1. Enter the title, the description and the page's full address.
  2. Add a share image address (1200 × 630 works everywhere) and your site and X names if you have them.
  3. Choose index or noindex and follow or nofollow.
  4. Copy the tags and paste them inside <head> on your page.

About this tool

Fill in the page title, description, address and share image, and the generator writes the meta tags for the head of your HTML: the title and description for search results, a robots tag (index or noindex, follow or nofollow), a canonical link, Open Graph tags for Facebook, LinkedIn and WhatsApp, and Twitter (X) card tags. A live preview shows roughly how the page will look in Google.

A meta tag example

These are the tags most pages need. Each page should have its own title and description; one set copied across the whole site makes pages compete with each other.

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Handmade Leather Bags | Example Store</title>
  <meta name="description" content="Handmade leather bags and wallets, made to order and shipped worldwide. Free returns within 30 days.">
  <link rel="canonical" href="https://www.example.com/bags/">
  <meta name="robots" content="index, follow">

  <meta property="og:type" content="website">
  <meta property="og:title" content="Handmade Leather Bags">
  <meta property="og:description" content="Made to order and shipped worldwide.">
  <meta property="og:url" content="https://www.example.com/bags/">
  <meta property="og:image" content="https://www.example.com/images/bags-share.jpg">
  <meta name="twitter:card" content="summary_large_image">
</head>

Do meta tags still work?

The ones that matter do. The title tag is still a strong on-page signal and is usually the blue link in results. The description doesn't change rankings, but Google often shows it as the snippet, and a good one earns more clicks; Google rewrites it when the page has a better match for the search. The robots tag is followed exactly. The keywords tag does nothing in Google, which said so in 2009, so the generator keeps it optional.

Adding meta tags to your website

In plain HTML, paste the tags into the head of each page. On Netlify, Vercel or GitHub Pages it's the same: in your HTML files, or in the layout of your static site generator. In WordPress, an SEO plugin such as Yoast or Rank Math gives every post its own title and description fields. In a PHP site, set the title and description on each page and print them in a shared header:

<?php
// at the top of each page
$page_title = 'Handmade Leather Bags | Example Store';
$meta_desc  = 'Handmade leather bags and wallets, made to order and shipped worldwide.';
require 'header.php';

// in header.php
?>
<title><?= htmlspecialchars($page_title) ?></title>
<meta name="description" content="<?= htmlspecialchars($meta_desc) ?>">

AI generators and tags from a URL

AI writers can draft a description quickly, but check the facts and the length: about 50 to 60 characters for the title and 150 to 160 for the description before Google cuts them off. To read the tags an existing page already has, put its address in our Open Graph checker below; it shows the title, description and share card the page sends.

GuideHow to Increase Your Website Ranking on Google

Frequently asked questions

How do I generate meta tags?

Fill in the form above with the page's title, description, address and image, then copy the generated tags into the page's head.

Do meta tags still work?

Yes: the title, description, robots, canonical and Open Graph tags all still do their jobs. Only the keywords tag is ignored by Google.

Can you give me an example of a meta tag?

<meta name="description" content="Handmade leather bags, shipped worldwide."> is a meta description tag. It goes inside <head>, and Google may show its text under your link.

How do I create meta tags for my website?

Write a unique title and description for each page, generate the tags here, and add them to each page's head, through your CMS's SEO fields or your site's header template.

How long should the title and description be?

Keep the title under about 60 characters and the description around 150 to 160, with the main keyword near the start of the title.

Do I need the meta keywords tag?

No. Google ignores it. Leave it empty unless another system you use reads it.

More seo tools

SEO and AI search

All 31 free tools →
SEO tool · Checks live sites

Robots.txt Checker

Test if robots.txt blocks a URL for Googlebot, Bingbot or AI crawlers like GPTBot and ClaudeBot. See the rule that matches and the sitemaps listed.

Free · No sign-upOpen tool
SEO tool · Runs in your browser

Robots.txt Generator

Create a robots.txt file: block folders, add your sitemap, and allow or block AI crawlers such as GPTBot, ClaudeBot and PerplexityBot.

Free · No sign-upOpen tool
SEO tool · Runs in your browser

llms.txt Generator

Create an llms.txt file for your website in a minute: name, summary, details and sections of links in the right Markdown format. Free, with an example.

Free · No sign-upOpen tool
SEO tool · Checks live sites

Open Graph Checker

Preview how a link looks when shared on Facebook, WhatsApp, LinkedIn and X, and check every Open Graph and Twitter Card tag.

Free · No sign-upOpen tool