Back to Tools

Meta Tag Generator

Generate SEO-optimized meta tags for your web pages. Preview how your page will appear in search results.

Page Information
0/60 characters
Add 30 more characters for optimal length
0/160 characters
Add 120 more characters for optimal length
Generated Meta Tags
<!-- Primary Meta Tags -->
<title>Your Page Title</title>
<meta name="title" content="Your Page Title">
<meta name="description" content="Your page description goes here.">

<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://example.com/your-page">
<meta property="og:title" content="Your Page Title">
<meta property="og:description" content="Your page description goes here.">

<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://example.com/your-page">
<meta property="twitter:title" content="Your Page Title">
<meta property="twitter:description" content="Your page description goes here.">
Google Search Preview

https://example.com/your-page

Your Page Title

Your meta description will appear here. Write a compelling description that encourages users to click through to your page.

Social Media Preview
Image Preview Area

example.com

Your Page Title

Your meta description will appear here on social media shares.

SEO Tips

Title: Include your primary keyword near the beginning. Keep it between 50-60 characters.

Description: Write a compelling summary that includes a call-to-action. Aim for 120-160 characters.

Uniqueness: Each page should have unique meta tags that accurately describe the content.

How to Use This Meta Tag Generator

  1. Enter your page title - Write a compelling title between 50-60 characters that includes your main keyword.
  2. Write your description - Create a summary of 120-160 characters that describes your page content and includes a call-to-action.
  3. Add your page URL - Enter the full URL where this page will be published.
  4. Preview your results - Check how your page will appear in Google search results and on social media.
  5. Copy the generated code - Click "Copy Code" and paste the meta tags into your HTML <head> section.

Optimal Meta Tag Lengths

Meta Title

Desktop Display~60 characters
Mobile Display~55 characters
Pixel Width~580px
Recommended50-60 chars

Meta Description

Desktop Display~160 characters
Mobile Display~120 characters
Pixel Width~920px
Recommended120-160 chars

Types of Meta Tags Generated

Primary Meta Tags

Basic HTML meta tags for search engines.

  • <title>
  • meta name="title"
  • meta name="description"

Open Graph Tags

For Facebook, LinkedIn, and other platforms.

  • og:type
  • og:url
  • og:title
  • og:description

Twitter Card Tags

For Twitter/X share previews.

  • twitter:card
  • twitter:url
  • twitter:title
  • twitter:description

Frequently Asked Questions

What are meta tags and why do they matter?

Meta tags are HTML elements that provide information about your web page to search engines and social media platforms. They don't appear on the page itself but affect how your page is displayed in search results and when shared on social media. Well-optimized meta tags can significantly improve click-through rates.

What is the ideal meta title length?

Google typically displays the first 50-60 characters of a title tag in search results (approximately 580 pixels wide). Titles longer than this may be truncated with an ellipsis ("..."). For best results, keep your title between 50-60 characters and include your primary keyword near the beginning.

How long should a meta description be?

Google typically displays 150-160 characters of a meta description on desktop (120 on mobile). We recommend keeping descriptions between 120-160 characters. Include your main keywords naturally and add a compelling call-to-action to encourage clicks.

What are Open Graph tags?

Open Graph tags (og: tags) control how your page appears when shared on Facebook, LinkedIn, Pinterest, and other social platforms. They specify the title, description, image, and URL that display in the share preview. Without them, platforms may pull random content from your page.

What are Twitter Card tags?

Twitter Cards are meta tags that control how your content appears when shared on Twitter/X. They enable rich media attachments including images, summaries, and player cards for videos. Our generator creates "summary_large_image" cards, which show a large image preview.

Where do I add meta tags in my HTML?

Meta tags should be placed in the <head> section of your HTML document, before the closing </head> tag. If you're using a CMS like WordPress, you can typically add them through SEO plugins like Yoast or RankMath. For Next.js, use the Metadata export in your layout or page files.

Do meta tags affect SEO rankings?

While meta descriptions don't directly affect rankings, title tags are a ranking factor. More importantly, well-written meta tags improve click-through rates (CTR) from search results, which can indirectly boost your rankings and definitely increases your organic traffic.

Meta Tag Best Practices

Title Tag Tips

  • Put your primary keyword at the beginning
  • Include your brand name (usually at the end)
  • Make each page title unique
  • Avoid keyword stuffing

Description Tips

  • Include a clear call-to-action
  • Match search intent (what users want)
  • Highlight unique value proposition
  • Use active voice and action verbs

Features

Google SERP Preview

See exactly how your page will appear in search results

Social Media Preview

Preview how links look when shared on social platforms

Character Counter

Real-time character count with optimal range indicators

Complete Meta Tags

Generates HTML, Open Graph, and Twitter Card tags

One-Click Copy

Copy generated code to clipboard with one click

100% Free

No sign-up required, unlimited usage, completely free