Meta Tag Generator - Generate HTML Meta Tags for SEO
Aim for 50 to 60 characters. Google cuts titles at about 600px wide.
Aim for 120 to 155 characters. Line breaks are collapsed into spaces.
<!-- Primary Meta Tags --> <meta name="robots" content="index, follow"> <meta name="theme-color" content="#ffffff"> <!-- Open Graph / Facebook --> <meta property="og:type" content="website"> <meta property="og:locale" content="en_GB"> <!-- Twitter --> <meta name="twitter:card" content="summary">
Generate meta tags for a page
Fill in the title, description, URL and share image. The Google preview and the Facebook and X cards update as you type,
and the counters show when the title or description is getting long. Copy the generated HTML into the page's
<head>.
Example output
<title>Blue Mug - Handmade Ceramics</title>
<meta name="description" content="A 350 ml stoneware mug, glazed by hand in Nelson.">
<link rel="canonical" href="https://example.com/mugs/blue/">
<meta name="robots" content="index, follow">
<meta property="og:type" content="website">
<meta property="og:url" content="https://example.com/mugs/blue/">
<meta property="og:title" content="Blue Mug - Handmade Ceramics">
<meta property="og:image" content="https://example.com/img/blue-mug.jpg">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta name="twitter:card" content="summary_large_image"> A trimmed sample; the tool also writes the matching description, site name, locale and Twitter tags.
About the previews
The Google preview cuts the title at 60 characters and the description at 155. That is close to what Google does, but Google measures pixels, so treat it as a guide. The social previews show the card layout with your image; the real card depends on each platform's cache and cropping. To make the share image itself, try the OG image generator.
Checks before you publish
- Every page should have its own title and description. Duplicates across a site make results hard to tell apart.
- The canonical URL should be the exact address you want indexed, including the trailing slash if your site uses one.
- Leave robots as
index, followunless you mean to hide the page. A leftovernoindexfrom staging is a common reason a site vanishes from Google.
Related Tools
Favicon Generator
Upload an image and generate favicons in all sizes with ICO, PNG, and web manifest.
OG Image Generator
Create Open Graph images at 1200x630 with text overlays and custom backgrounds.
Robots.txt Generator
Build robots.txt files with presets for AI crawlers, SEO bots, and custom rules.