Meta tags are HTML elements placed in the <head> section of a page. They do not appear in the page content, but they communicate critical information to search engines, social media platforms, and browsers. Getting them right affects your search rankings, click-through rates, and how your links appear when shared on social media.
This guide covers the meta tags that actually matter in 2025, how to write them effectively, and what common mistakes to avoid.
The Meta Tags That Actually Matter for SEO
There are dozens of meta tags, but most have little or no SEO value today. Here are the ones that genuinely matter:
title (the most important on-page element)
<title>Primary Keyword - Secondary Keyword | Brand Name</title>
The page title is the single most important on-page SEO element. It appears in search results as the blue clickable headline. Keep it under 60 characters (Google truncates around 600px display width). Front-load your primary keyword.
meta description
<meta name="description" content="Compelling 150-155 character description that includes your primary keyword and a clear call to action." />
The description appears below your title in search results. It does not directly influence rankings, but it heavily influences click-through rate, which indirectly affects rankings. Write it as an advertisement for your page, not a summary. Aim for 150-155 characters.
robots.txt generator
<meta name="robots" content="index, follow" />
<meta name="robots" content="noindex, nofollow" />
Controls whether search engines index the page and follow its links. Use noindex for admin pages, thank-you pages, duplicate content, and staging environments.
canonical
<link rel="canonical" href="https://example.com/preferred-url/" />
Tells search engines which URL is the preferred version when the same content is accessible at multiple URLs. Essential for avoiding duplicate content penalties.
Open Graph Tags: Control Social Sharing Appearance
Open Graph (OG) tags were introduced by Facebook and are now used by LinkedIn, Slack, Discord, WhatsApp, and most social platforms to generate link previews. When someone shares your URL, the platform reads these tags to build the preview card.
<meta property="og:title" content="Your Page Title Here" />
<meta property="og:description" content="A compelling description under 200 characters." />
<meta property="og:image" content="https://example.com/og-image.jpg" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:url" content="https://example.com/page/" />
<meta property="og:type" content="website" />
<meta property="og:site_name" content="Your Brand Name" />
Key details:
- og:image should be 1200x630px (1.91:1 ratio) for most platforms. Facebook requires at least 200x200px.
- og:type is usually
websitefor pages andarticlefor blog posts. - Use absolute URLs (including
https://) forog:imageandog:url— relative paths do not work.
Twitter Card Tags
Twitter has its own tag system. If OG tags are present, Twitter will fall back to them for most fields, but the twitter:card tag must be explicitly set:
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@yourtwitterhandle" />
<meta name="twitter:creator" content="@authorhandle" />
<meta name="twitter:title" content="Your Page Title" />
<meta name="twitter:description" content="Description under 200 characters." />
<meta name="twitter:image" content="https://example.com/twitter-card.jpg" />
Card types: summary (small thumbnail), summary_large_image (large image, higher engagement), app (mobile app promotion), player (embedded video/audio).
The Complete Meta Tag Template
<!-- Core SEO -->
<title>Primary Keyword - Brand Name</title>
<meta name="description" content="150-155 char description with keyword and CTA." />
<meta name="robots" content="index, follow" />
<link rel="canonical" href="https://example.com/page/" />
<!-- Open Graph -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://example.com/page/" />
<meta property="og:title" content="Page Title Here" />
<meta property="og:description" content="OG description." />
<meta property="og:image" content="https://example.com/og.jpg" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:site_name" content="Brand Name" />
<!-- Twitter Card -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@handle" />
<meta name="twitter:title" content="Page Title Here" />
<meta name="twitter:description" content="Twitter description." />
<meta name="twitter:image" content="https://example.com/twitter.jpg" />
Meta Tags That Are Obsolete or Irrelevant
- meta keywords — Ignored by Google since 2009. Still used as a spam signal by Bing. Leave it out entirely.
- meta author — Not used for ranking. Only relevant if your CMS or internal tooling reads it.
- meta revisit-after — Ignored by all major crawlers.
- meta copyright — No SEO value.
Generate Your Meta Tags Instantly
Our free Meta Tags Generator creates a complete set of SEO, Open Graph, and Twitter Card tags based on your page details. Fill in your title, description, URL, and image — and get copy-paste ready HTML output in seconds.