🏷️

Meta Tag Generator

Generate HTML meta tags for SEO optimization. Create title, description, keywords, viewport, charset, robots, and author meta tags. Perfect for improving search engine rankings and social sharing.

Text_tool
Loading tool...

How to Use Meta Tag Generator

What are Meta Tags?

Meta tags are HTML elements that provide structured metadata about your webpage to search engines, browsers, and social media platforms. They are placed in the <head> section of your HTML document and are crucial for SEO, affecting how your page appears in search results and social media shares.

How to Use This Tool

Step 1: Choose a Preset

Start with one of the preset configurations:

  • Basic SEO: Standard meta tags for general pages
  • Blog Post: Optimized for blog articles with author attribution
  • E-commerce Product: Product page meta tags with commerce focus
  • Landing Page: Conversion-focused landing page tags
  • Private Page: Pages that should not be indexed by search engines

Click any preset to load its settings instantly.

Step 2: Fill in Your Page Information

Page Title (Required)

  • This appears as the clickable headline in search results
  • Also shows in browser tabs and bookmarks
  • Character count: 50-60 characters recommended
  • Format: "Primary Keyword - Secondary Keyword | Brand Name"
  • Example: "Best Running Shoes for Beginners - Ultimate Guide | ShoePro"

Meta Description (Required)

  • Appears as the snippet text below your title in search results
  • Character count: 150-160 characters recommended
  • Should be compelling and include target keywords naturally
  • Think of it as your ad copy to encourage clicks
  • Example: "Discover the top-rated running shoes perfect for beginners. Expert reviews, buying guides, and exclusive deals on comfortable, affordable shoes."

Keywords (Optional)

  • Comma-separated list of relevant keywords
  • Modern SEO: Google largely ignores this tag
  • Still used by some smaller search engines
  • Keep it if you want comprehensive meta tags
  • Example: "running shoes, beginner running, athletic footwear"

Author (Optional)

  • Name of the content author
  • Important for blog posts and articles
  • Helps establish authorship and E-E-A-T (Experience, Expertise, Authoritativeness, Trustworthiness)
  • Example: "Jane Smith" or "John Doe, Senior Editor"

Character Set (Required)

  • Defines text encoding for your page
  • UTF-8 is recommended for all modern websites
  • Supports all languages and special characters
  • Always place first in <head> section
  • Default: UTF-8

Viewport (Required)

  • Controls responsive behavior on mobile devices
  • Essential for mobile-friendly websites
  • Default setting works for 99% of websites
  • Default: width=device-width, initial-scale=1

Robots Directive (Required)

  • Controls how search engines crawl and index your page
  • Options:
    • index, follow: Allow indexing, follow links (default for public pages)
    • noindex, nofollow: Block indexing, do not follow links (private pages)
    • index, nofollow: Index page but do not follow links
    • noindex, follow: Do not index but follow links

Step 3: Review Generated Tags

The tool generates clean, properly formatted HTML meta tags:

  • Charset tag (always first)
  • Viewport tag (for mobile responsiveness)
  • Title tag (main heading in search results)
  • Description meta tag (search snippet)
  • Keywords meta tag (if provided)
  • Author meta tag (if provided)
  • Robots meta tag (crawler instructions)

Step 4: Copy and Implement

Click "Copy Tags" to copy all generated meta tags to your clipboard.

Where to place them: Paste the tags inside the <head> section of your HTML:

<!DOCTYPE html>
<html lang="en">
<head>
  <!-- Paste your meta tags here -->
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Your Page Title - Brand Name</title>
  <meta name="description" content="Your compelling description">
  <meta name="keywords" content="keyword1, keyword2, keyword3">
  <meta name="author" content="John Doe">
  <meta name="robots" content="index, follow">

  <!-- Other head elements (CSS, scripts, etc.) -->
</head>
<body>
  <!-- Your content -->
</body>
</html>

Framework-specific implementations:

React/Next.js:

import Head from "next/head"

export default function Page() {
  return (
    <>
      <Head>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1" />
        <title>Your Page Title</title>
        <meta name="description" content="Your description" />
      </Head>
      {/* Page content */}
    </>
  )
}

WordPress:

  • Use Yoast SEO or Rank Math plugins for easy meta tag management
  • Or add to theme header.php inside <head> tags

Shopify:

  • Edit theme.liquid file
  • Add tags inside <head>{% raw %}{% endraw %}</head> section

Step 5: Validate Your Meta Tags

After implementation, verify your meta tags:

  1. View page source (Right-click β†’ View Page Source) and check <head> section
  2. Google Search Console - Submit URL for indexing
  3. Rich Results Test - Test at search.google.com/test/rich-results
  4. SEO browser extensions - Use SEO Meta in 1 Click or SEO Minion
  5. Mobile-Friendly Test - Test at search.google.com/test/mobile-friendly

Meta Tag Best Practices

Title Tag Optimization

Length: 50-60 characters (512 pixels on desktop)

  • Too short = wasted opportunity
  • Too long = gets truncated with "..."

Format patterns:

  • Primary Keyword - Secondary Keyword | Brand
  • Product Name | Category | Store Name
  • How to [Do Something] - Ultimate Guide

Tips:

  • Put most important keywords first
  • Include brand name at the end
  • Make it unique for every page
  • Avoid keyword stuffing
  • Use numbers when relevant: "7 Best Ways to..."

Description Tag Optimization

Length: 150-160 characters (920 pixels on desktop)

  • Google may show up to 160 characters
  • Mobile typically shows fewer characters

Structure:

  • Start with a hook or benefit
  • Include primary keyword naturally
  • Add a call-to-action if space permits
  • Make every character count

Tips:

  • Write compelling copy that encourages clicks
  • Include target keywords but keep it natural
  • Make each description unique
  • Avoid duplicate descriptions across pages
  • Think of it as ad copy for organic search

Common Mistakes to Avoid

  1. Duplicate meta tags: Every page needs unique title and description
  2. Keyword stuffing: Unnatural repetition of keywords hurts rankings
  3. Too short/too long: Follow recommended character limits
  4. Missing required tags: Always include charset, viewport, title, description
  5. Ignoring mobile: Viewport meta tag is essential for mobile-friendly sites
  6. Using default titles: "Home" or "Untitled" provides no SEO value
  7. Forgetting to update: Update meta tags when page content changes

SEO Impact of Meta Tags

High impact:

  • Title tag: Major ranking factor, affects CTR significantly
  • Meta description: No direct ranking impact but affects CTR which impacts rankings
  • Viewport: Required for mobile-first indexing

Low impact:

  • Keywords meta tag: Largely ignored by Google (but harmless to include)
  • Author tag: Minor impact, more for attribution than ranking

Important for indexing:

  • Robots meta tag: Controls what search engines index
  • Charset: Ensures proper text rendering and indexing

Frequently Asked Questions

Related Marketing & SEO Tools

πŸ”

Google SERP Simulator

Preview how your title and meta description appear in Google search results. See real-time character counts, pixel width estimates, and desktop/mobile previews to optimize your SEO.

Use Tool β†’
❓

FAQ Schema Generator

Generate JSON-LD FAQPage schema markup for SEO. Add questions and answers to create structured data that helps search engines display FAQ rich snippets in search results.

Use Tool β†’
🍞

Breadcrumb Schema Generator

Generate JSON-LD BreadcrumbList schema markup for SEO. Add breadcrumb items with names and URLs to create structured data that helps search engines understand your site hierarchy.

Use Tool β†’
🐦

Twitter Card Generator

Generate Twitter Card meta tags for Twitter/X sharing. Create summary cards, large image cards, app cards, and player cards. Optimize how your links appear on Twitter with custom titles, descriptions, and images.

Use Tool β†’
πŸ€–

Robots.txt Generator

Generate robots.txt file to control search engine crawlers. Create user-agent rules, allow/disallow paths, set crawl delays, and add sitemap URLs. Perfect for managing bot access to your website.

Use Tool β†’
πŸ“±

Open Graph Generator

Generate Facebook Open Graph meta tags for social media sharing. Create og:title, og:description, og:image, og:url, and og:type tags. Perfect for optimizing how your links appear on Facebook, LinkedIn, WhatsApp, and Slack.

Use Tool β†’
πŸ›οΈ

Product Schema Generator

Generate JSON-LD Product schema markup for SEO. Add product details like name, price, brand, rating, and availability to create structured data for rich search results.

Use Tool β†’

Share Your Feedback

Help us improve this tool by sharing your experience

We will only use this to follow up on your feedback