Skip to content

Every SEO Meta Tag Explained — What to Write, What to Skip, and Why It Matters

Cornerstone Guide13 min readJanuary 15, 2025
Table of Contents

Meta tags are HTML elements placed in the <head> section of your page that communicate page information to browsers, search engines, and social media platforms. They are invisible to page visitors but fundamental to how your content is discovered, displayed, and distributed across the web.

Getting meta tags right is foundational SEO — the difference between a well-crafted title tag that captures clicks and a generic placeholder that gets ignored. This guide covers every meta tag relevant to modern SEO: what each tag does, how to write it effectively, common mistakes to avoid, and what the research says about their impact on rankings and click-through rates.

We organize the tags into four groups: search engine tags (title, description, robots, canonical), social sharing tags (Open Graph, Twitter Cards), structured data references (link rel="preload", alternate hreflang), and the tags you can safely ignore in 2025 because search engines no longer use them.

The Title Tag — Your Most Important SEO Meta Element

The title tag (<title>) is the most important on-page SEO element. It appears as the clickable blue link in Google search results, as the browser tab label, and as the default text when a page is bookmarked. Google uses it as one of the primary signals for what a page is about.

How Google displays titles:

Google renders title tags at approximately 600 pixels width on desktop — roughly 55–60 characters of average-width text. Beyond that, the title is cut off with an ellipsis. On mobile, the rendering is narrower at approximately 50–55 characters. Google may also rewrite your title if it determines your title is misleading, keyword-stuffed, or poorly matched to the page content.

Writing titles that work:

A strong title tag follows a consistent formula: *Primary Keyword — Supporting Context | Brand*. Place your most important keyword first — not because of keyword weighting myths, but because truncation removes the end of your title, not the beginning. Users scanning results read left to right and stop at the first relevant signal.

Avoid these title patterns:

  • Generic templates: "Home | Company Name" (zero keyword signal)
  • Keyword stuffing: "Best SEO Tool Free SEO Tool Online SEO Tool" (triggers rewrites)
  • Vague benefits: "Learn Everything About SEO Here" (no searchable keyword)
  • Excessive length: Titles over 70 characters are almost always truncated

Test your title length in a SERP preview tool before publishing — character count alone does not account for wide vs. narrow characters.

Preview your title in Google SERPSee exactly what gets truncated before you publish

Meta Description — Your SERP Sales Copy

The meta description (<meta name="description">) is the snippet of text shown below the title in search results. Google's official guidance is that meta descriptions are not a ranking factor — but they dramatically influence click-through rate, which indirectly affects rankings through user behavior signals.

How Google handles meta descriptions:

Google displays approximately 155–160 characters of meta description text on desktop and 120–130 characters on mobile. If your description does not contain the words the user searched for, Google frequently replaces it with text it extracts from your page. Writing a description that includes the searcher's likely query terms reduces the chances of replacement.

Writing high-CTR meta descriptions:

Treat your meta description as a 160-character advertisement for your page. The best-performing descriptions follow this structure:

1. State the key benefit or answer in the first sentence

2. Establish credibility or differentiation in the second sentence

3. Include a call to action in the third sentence

Use active voice. Avoid passive constructions and jargon. Include your primary keyword naturally — not because it affects ranking, but because Google bolds matching terms in the SERP, making your result more visually prominent.

When to leave the meta description empty:

For pages targeting a wide range of long-tail queries (like e-commerce category pages or large blog archives), leaving the meta description empty and letting Google extract relevant context can outperform a static description. Test both approaches in Search Console CTR data.

Check your meta description lengthSee mobile truncation before publishing

The Robots Meta Tag — Control Indexing Per Page

The robots meta tag (<meta name="robots">) gives you per-page control over whether search engines index a page and follow its links. Unlike robots.txt, which controls crawling, the robots meta tag controls indexing — a crawler can visit a page but still be instructed not to include it in search results.

Key directives:

  • index / noindex: Whether to include the page in search results (index is the default)
  • follow / nofollow: Whether to follow links on the page (follow is the default)
  • noarchive: Prevents Google from showing a cached version of the page
  • nosnippet: Prevents Google from showing a text snippet in results (useful for pages with proprietary content)
  • max-snippet:N: Limits snippet length to N characters
  • unavailable_after: [date]: Removes page from index after a specified date (good for time-limited offers)

When to use noindex:

Add noindex to pages that exist for functional reasons but should not appear in search results: admin pages, login pages, checkout steps, thank-you pages, duplicate content pages (if canonical is not sufficient), and low-quality archive pages that would dilute your overall site quality.

Robots meta vs robots.txt:

Robots.txt prevents crawling but does not prevent indexing — if Googlebot is blocked from a page via robots.txt but the page has inbound links, Google can still index the URL with a "no information available" snippet. Use noindex in the meta tag for pages you want excluded from search results with certainty.

The Canonical Tag — Resolve Duplicate Content

The canonical tag (<link rel="canonical">) specifies the preferred URL when the same or very similar content is accessible at multiple URLs. Search engines consolidate link equity and ranking signals to the canonical URL, rather than splitting them across duplicates.

When duplicate content occurs:

  • HTTP and HTTPS versions of the same page
  • www and non-www versions
  • Trailing slash and non-trailing-slash variants
  • URLs with query parameters (tracking codes, session IDs, sort orders)
  • Print-friendly versions of pages
  • Syndicated content appearing on multiple domains

Self-referencing canonicals:

Best practice is to add a self-referencing canonical to every page — a canonical tag that points to the page's own URL. This eliminates ambiguity even when no explicit duplicate exists and ensures URL parameters or protocol variations do not accidentally split signals.

Cross-domain canonicals:

You can use canonical tags to point from syndicated content back to the original source — useful if you publish content on Medium, LinkedIn Articles, or partner sites. The canonical is a hint, not a directive — search engines may choose to ignore it if they detect strong signals that the canonicalized page is actually a lower-quality duplicate.

Canonical vs 301 redirect:

A 301 redirect completely replaces the old URL with the new one. A canonical keeps both URLs accessible but consolidates signals to the preferred one. Use 301 redirects when you are permanently retiring a URL. Use canonicals when you need both URL variants to remain accessible for technical or UX reasons.

Check canonical tags on any pageDetect missing, mismatched, or conflicting canonicals

Open Graph Tags — Control Social Sharing Previews

Open Graph meta tags (og:title, og:description, og:image, og:url, og:type) control how your content appears when shared on Facebook, LinkedIn, Discord, Slack, WhatsApp, and most other social platforms. Without them, platforms guess the title, description, and image — often with poor results.

Essential Open Graph tags:

<meta property="og:title" content="Your Page Title" />
<meta property="og:description" content="Your page description for social sharing" />
<meta property="og:image" content="https://yourdomain.com/image.jpg" />
<meta property="og:url" content="https://yourdomain.com/page" />
<meta property="og:type" content="website" />

The og:image is the most impactful field:

Research consistently shows that social posts with images receive 2–3× more engagement than text-only links. The og:image should be 1200×630 px (1.91:1 ratio), served over HTTPS, and under 8 MB. Images smaller than 200×200 px are not displayed at all.

og:type values:

  • website: Default for homepages and landing pages
  • article: Blog posts, news, editorial content — Facebook shows publish time and author
  • product: E-commerce product pages (also consider Facebook's product catalog integration)
  • video.movie / music.song: For media-type content

Platform-specific considerations:

Facebook and LinkedIn both read og:image but render it differently. Facebook uses a 1.91:1 ratio for large cards. LinkedIn defaults to a smaller left-aligned card but uses large cards when the image meets size requirements. Test on both with their respective debugger tools after deploying.

Generate and preview Open Graph tagsSee your Facebook link card before sharing

Twitter Card Meta Tags — Optimize for X

Twitter Card meta tags control how your links appear in X (formerly Twitter) posts. Without them, X falls back to Open Graph tags. With them, you get precise control over the card format and can differentiate your X messaging from other platforms.

Card types:

  • summary: Small thumbnail with title and description (default fallback)
  • summary_large_image: Full-width banner image above title — highest CTR for content links
  • app: App download card with direct install button
  • player: Embedded video or audio player card

Essential Twitter Card tags:

<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Your title for X" />
<meta name="twitter:description" content="Your description for X" />
<meta name="twitter:image" content="https://yourdomain.com/image.jpg" />
<meta name="twitter:site" content="@yourhandle" />

Image requirements for summary_large_image:

Minimum 300×157 px; recommended 1200×628 px. Must be HTTPS, under 5 MB, and JPG/PNG/GIF/WEBP format. X silently falls back to summary card if any requirement fails — the large image format does not show an error, it just does not display.

Writing for X vs other platforms:

The twitter:description field is shown in the card but is not used by Google for anything. Write it specifically for an X audience — shorter, punchier, with a different angle than your meta description if your Twitter following has a different profile than your search audience.

Generate Twitter Card meta tagsPreview your X card before publishing

Meta Tags You Can Safely Ignore in 2025

Several meta tags that appeared in older SEO guides no longer have any effect on modern search engine rankings. Including them wastes no resources — they are just ignored — but understanding which tags are obsolete prevents you from wasting time on them.

`<meta name="keywords">`:

Google stopped using keyword meta tags in 2009. Bing stopped in 2011. No major search engine uses keyword meta tags for ranking. Adding them reveals your keyword strategy to competitors with no benefit. Omit entirely.

`<meta name="author">`:

Author information in the page head has no SEO value as a meta tag. Google recognizes authorship through structured data (Person schema), E-E-A-T signals in content, and author bio pages linked to content — not through the author meta tag.

`<meta name="revisit-after">`:

This tag was supposed to suggest a crawl frequency to bots. Search engines set their own crawl schedules based on site freshness signals and server response times. This tag is ignored by all major crawlers.

`<meta http-equiv="refresh">`:

This tag redirects users to a new URL after a delay — a practice known as "meta refresh" redirect. It is significantly worse for SEO than a proper 301 server redirect because it does not transfer link equity. Never use it for page redirects; use server-level redirects instead.

`<meta name="generator">`:

Generated by CMS platforms to identify the software that built the site. Has zero SEO effect. Some security practitioners recommend removing it to avoid revealing your platform to potential attackers.

Complete Meta Tag Checklist for Any Page

Use this checklist when publishing or auditing any page on your site:

Required on every page:

  • [ ] <title> — Unique, keyword-forward, ≤60 characters
  • [ ] <meta name="description"> — Unique, 120–155 characters, benefit-focused
  • [ ] <link rel="canonical"> — Self-referencing to the preferred URL
  • [ ] <meta name="robots"> — Only if you need to modify default behavior

Required for social sharing:

  • [ ] og:title — Can differ from title tag (optimized for sharing context)
  • [ ] og:description — Can differ from meta description
  • [ ] og:image — 1200×630 px, HTTPS URL
  • [ ] og:url — Canonical URL of the page
  • [ ] og:type — website, article, or product as appropriate

Required for X optimization:

  • [ ] twitter:card — summary_large_image for content pages
  • [ ] twitter:title — Falls back to og:title if omitted
  • [ ] twitter:description — Falls back to og:description if omitted
  • [ ] twitter:image — Falls back to og:image if omitted

Required for multilingual sites:

  • [ ] <link rel="alternate" hreflang="xx"> — For each language/region variant
  • [ ] <link rel="alternate" hreflang="x-default"> — For the default URL fallback

Verify before publishing:

  • Title is not identical to any other page title on the site
  • Meta description is not identical to any other page description
  • og:image resolves correctly (HTTPS, accessible, correct dimensions)
  • Canonical points to the correct preferred URL

Frequently Asked Questions

How many meta tags should a page have?
A well-optimized page needs six core meta tags: title, meta description, canonical, and the three Open Graph essentials (og:title, og:description, og:image). Add robots meta only when you need non-default behavior. Twitter Card tags are recommended for any content you share on X. Avoid adding tags that have no functional use — keep the head section clean.
Does Google rewrite meta descriptions?
Yes, Google rewrites meta descriptions roughly 60–70% of the time according to various studies. Google is most likely to use your meta description when it contains the exact words the user searched for. Write descriptions that include your primary and secondary keywords naturally to reduce rewrites, but accept that Google will sometimes substitute its own snippet regardless.
Can two pages have the same meta description?
Technically yes, but it is bad practice. Duplicate meta descriptions across multiple pages are flagged as an issue in Google Search Console. Search engines prefer unique, page-specific descriptions that accurately reflect each page's content. Write a distinct description for every page — especially for high-value pages that receive significant search traffic.
Should the og:title be the same as the title tag?
They can be the same, and often are. However, you can use different values when the platform-specific context warrants it. A title tag optimized for a search query might be dry and keyword-forward. An og:title for the same page might be punchier and more compelling for a social sharing context. Neither approach is wrong.
Do meta keywords still affect SEO?
No. Google explicitly confirmed it ignores the keywords meta tag in 2009. Bing, Yahoo, and all other major search engines followed suit. Adding keyword meta tags has no positive SEO effect and actively reveals your keyword strategy to competitors who can view page source. Remove them from your templates if they are being generated.

Summary

Meta tags are the silent infrastructure of SEO — invisible to users, critical to search engines and social platforms. Getting them right is not about gaming algorithms; it is about clearly communicating what your page is and who it is for. A well-written title and description earn clicks from real users. Correct Open Graph tags earn shares and engagement. A proper canonical prevents link equity from being split across duplicate URLs.

The checklist in this guide covers everything a well-optimized page needs. Start with the essentials — title, description, canonical — and add social tags before any content goes out. Use the tools in this suite to generate, preview, and validate your tags before they go live. The few minutes spent on meta tags before publishing consistently pays off in higher click-through rates and better SERP representation over time.

Try these tools

Related guides

All Guides