Meta Tag Generator

Generate HTML meta tags for SEO, social media sharing, and web page optimization

Quick Templates

Basic SEO Meta Tags

Length Guidelines

Title: 50-60 characters optimal
Description: 150-160 characters max
OG Image: 1200x630px recommended
Twitter Image: 1200x675px for large cards
Absolute URLs: Always use full URLs

Optimization Tips

Unique titles: Each page needs unique titles
Compelling CTAs: Encourage clicks in descriptions
Test sharing: Use platform debugging tools
Mobile-friendly: Include viewport meta tag
Consistent branding: Maintain voice across platforms

Search Result Preview

Your Page Title
https://example.com/page
Your page description will appear here in search results.

Social Media Preview

No Image
Your Site Name
Your Page Title
Your page description for social sharing.

Generated Meta Tags

Basic SEO Tags (1)

<meta name="robots" content="index, follow">

Open Graph Tags (2)

<meta property="og:type" content="website">
<meta property="og:locale" content="en_US">

Twitter Card Tags (1)

<meta name="twitter:card" content="summary_large_image">

Additional Tags (3)

<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#000000">

About HTML Meta Tags

HTML meta tags provide metadata about web pages to search engines, social media platforms, and browsers. They are crucial for SEO optimization, social media sharing, and improving user experience. Our meta tag generator helps create properly formatted tags for various purposes including Open Graph, Twitter Cards, and search engine optimization.

  • SEO meta tags for search engine optimization
  • Open Graph tags for Facebook and LinkedIn sharing
  • Twitter Card tags for enhanced Twitter previews
  • Viewport and mobile optimization tags
  • Schema.org structured data markup

Meta Tag Categories

SEO Meta Tags

  • Title: Page title for search results
  • Description: Page summary for search snippets
  • Keywords: Relevant keywords (less important now)
  • Robots: Crawler instructions
  • Canonical: Preferred URL version
  • Author: Content creator information

Social Media Tags

  • Open Graph: Facebook, LinkedIn sharing
  • Twitter Cards: Enhanced Twitter previews
  • Pinterest: Pin-specific metadata
  • WhatsApp: Link preview optimization
  • Telegram: Message preview enhancement
  • Discord: Rich embed previews

Frequently Asked Questions

How to create meta tags?

To create meta tags, add HTML meta elements inside the head section of your page. Use the utilAZ meta tag generator to fill in your page title, description, keywords, and social sharing details, then copy the generated HTML code into your website. The tool produces properly formatted tags for SEO, Open Graph, and Twitter Cards all at once.

What is meta description length best practice?

The ideal meta description length is between 150 and 160 characters. Google may truncate descriptions longer than 160 characters on desktop and around 120 characters on mobile. Write a concise, compelling summary that includes your target keyword and encourages users to click through from search results.

Difference between meta tags and title tags?

Title tags define the clickable headline shown in search results and browser tabs, while meta tags provide additional information like descriptions, character sets, viewport settings, and social sharing data. The title tag is the single most important on-page SEO element, whereas meta description tags influence click-through rate but not ranking directly.

How to validate meta tags?

Validate meta tags using platform-specific tools: Facebook Sharing Debugger for Open Graph tags, Twitter Card Validator for Twitter cards, LinkedIn Post Inspector for LinkedIn previews, and Google Rich Results Test for structured data. You can also view page source or use browser dev tools to inspect the head section directly.

How to stop search engines from indexing pages?

Add a robots meta tag with the value noindex to prevent search engines from indexing a page. The HTML code is: <meta name="robots" content="noindex, nofollow">. You can also use the X-Robots-Tag HTTP header or a robots.txt disallow rule, though the meta tag approach gives you per-page control and is the most reliable method.

Meta Tag Examples

Complete Meta Tag Set:

Basic SEO Tags:
<title>Your Page Title - Brand Name</title>
<meta name="description" content="Compelling page description that encourages clicks and accurately describes content within 160 characters.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="index, follow">
<link rel="canonical" href="https://example.com/page-url">
Open Graph Tags:
<meta property="og:title" content="Your Page Title">
<meta property="og:description" content="Page description for social sharing">
<meta property="og:image" content="https://example.com/image.jpg">
<meta property="og:url" content="https://example.com/page-url">
<meta property="og:type" content="website">
<meta property="og:site_name" content="Your Site Name">
Twitter Card Tags:
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Your Page Title">
<meta name="twitter:description" content="Page description for Twitter">
<meta name="twitter:image" content="https://example.com/image.jpg">
<meta name="twitter:creator" content="@yourtwitterhandle">
Additional SEO Tags:
<meta name="author" content="Author Name">
<meta name="theme-color" content="#000000">
<meta name="msapplication-TileColor" content="#000000">
<link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">

Meta Tag Best Practices

SEO Guidelines:

✓ Unique titles: Each page needs unique title tags
✓ Descriptive titles: Include target keywords naturally
✓ Compelling descriptions: Write for users, not just SEO
✓ Proper length: 50-60 chars for titles, 150-160 for descriptions
✓ Mobile viewport: Always include viewport meta tag
✓ Canonical URLs: Prevent duplicate content issues

Social Media Tips:

✓ High-quality images: 1200x630px for Open Graph
✓ Absolute URLs: Use full URLs for images and links
✓ Test sharing: Use platform debugging tools
✓ Consistent branding: Maintain brand voice across platforms
✓ Different content: Tailor descriptions for each platform
✓ Update regularly: Keep meta tags current with content

Common Meta Tag Mistakes

Avoid These Errors:

✗ Duplicate titles: Same title across multiple pages
✗ Keyword stuffing: Overusing keywords unnaturally
✗ Missing descriptions: Letting search engines generate snippets
✗ Too long content: Titles/descriptions that get truncated
✗ Relative URLs: Using relative paths in meta tags
✗ Outdated content: Meta tags that don't match current content

Testing Tools:

Facebook: Sharing Debugger
Twitter: Card Validator
LinkedIn: Post Inspector
Google: Rich Results Test
Pinterest: Rich Pins Validator
WhatsApp: Preview in app

Common Use Cases

  • SEO optimization for search engines
  • Social media sharing enhancement
  • E-commerce product page optimization
  • Blog post and article promotion
  • Landing page conversion optimization
  • Brand awareness and recognition
  • Mobile app promotion
  • Event and webinar marketing