Meta Tag Generator

Generate SEO meta tags including Open Graph and Twitter Card tags. Optimize your pages for search engines and social media.

Basic Meta Tags

0/60 characters (recommended: 50-60)

0/160 characters (recommended: 150-160)

Open Graph (Social Media)

Recommended size: 1200x630 pixels

Twitter Card

Generated Meta Tags

<!-- Enter a title and description to generate meta tags -->

How to Use

  1. 1. Enter your page title and description
  2. 2. Add optional Open Graph and Twitter Card details
  3. 3. Copy the generated HTML code
  4. 4. Paste it inside the <head> section of your HTML

What are Meta Tags?

Meta tags are HTML elements that provide structured metadata about a web page. They are placed in the <head> section of your HTML document and are used by search engines, social media platforms, and browsers to understand and display information about your page.

While meta tags are not visible to users on the page itself, they play a crucial role in SEO (Search Engine Optimization) and how your content appears when shared on social media platforms like Facebook, Twitter, and LinkedIn.

Types of Meta Tags

Basic Meta Tags

  • Title: The page title shown in search results
  • Description: A summary of the page content
  • Keywords: Relevant keywords for the page
  • Author: The content creator
  • Viewport: Controls mobile display

Open Graph Tags

  • og:title: Title for social sharing
  • og:description: Description for social cards
  • og:image: Preview image for social media
  • og:url: Canonical URL of the page
  • og:type: Type of content (website, article)

Twitter Card Tags

  • twitter:card: Card type (summary, large image)
  • twitter:site: Website Twitter handle
  • twitter:creator: Author Twitter handle
  • twitter:title: Title for Twitter cards
  • twitter:description: Description for Twitter

Technical Meta Tags

  • charset: Character encoding (UTF-8)
  • robots: Search engine crawling directives
  • canonical: Preferred URL for duplicate content
  • refresh: Auto-redirect timing

Best Practices for Meta Tags

  • 1.Title Length: Keep your title between 50-60 characters to ensure it displays fully in search results.
  • 2.Description Length: Aim for 150-160 characters for meta descriptions to avoid truncation.
  • 3.Unique Tags: Each page should have unique meta tags that accurately describe its content.
  • 4.Image Optimization: Use high-quality images (1200x630px) for Open Graph to ensure good display on social platforms.
  • 5.Canonical URLs: Always set canonical URLs to prevent duplicate content issues.
  • 6.Test Your Tags: Use social media debugging tools to preview how your content will appear when shared.

Why Meta Tags Matter for SEO

While meta tags are not direct ranking factors for most search engines, they significantly impact your click-through rate (CTR) from search results. A compelling title and description can make the difference between a user clicking on your result versus a competitor's.

Open Graph and Twitter Card tags are essential for social media marketing. When your content is shared on social platforms, these tags control how your content appears, including the title, image, and description shown in the social card.