logo
logo

Meta Tag Generator

Generate SEO-optimized meta tags with live Google, Facebook & Twitter previews. One-click copy HTML code. No signup required. Start free!

Meta Tag Generator

Generate SEO-optimized meta tags for better search rankings and social sharing

Basic SEO Tags

Social Media Tags

Live Preview

https://example.com
Your Page Title Will Appear Here
Your meta description will appear here. Write something compelling that encourages users to click.
<!-- Primary Meta Tags -->
<title></title>
<meta name="title" content="">
<meta name="description" content="">
<meta name="robots" content="index, follow">

<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="">
<meta property="og:title" content="">
<meta property="og:description" content="">

<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="">
<meta property="twitter:title" content="">
<meta property="twitter:description" content="">

Meta Tag Best Practices

Title Length

Keep under 60 characters. Include primary keyword near the start.

Description Length

Aim for 150-160 characters. Make it compelling with a call to action.

OG Image Size

Use 1200×630 pixels for best display on Facebook and LinkedIn.

Canonical URLs

Always set canonical to prevent duplicate content issues.

Free Meta Tag Generator - Create SEO-Optimized HTML Meta Tags

Generate perfect meta tags for your website in seconds. Live previews show exactly how your page will appear on Google, Facebook, and Twitter before you publish.

How to Generate Meta Tags

  1. Enter your page title (keep under 60 characters)
  2. Write a compelling description (aim for 150-160 characters)
  3. Add your URL for canonical and social sharing
  4. Upload or link your OG image (1200×630 pixels recommended)
  5. Copy the generated code and paste into your HTML <head>

What Are Meta Tags?

Meta tags are HTML elements that provide information about your webpage to search engines and social media platforms. They don't appear on the page itself but influence how your content is discovered and displayed.

Essential Meta Tags for Every Page

TagPurposeImpact
TitleBrowser tab + search results headlineVery High
DescriptionSearch result snippetHigh
CanonicalPreferred URL versionHigh
OG TagsFacebook/LinkedIn appearanceMedium
Twitter CardsTwitter appearanceMedium
RobotsIndexing instructionsVariable

Title Tag Best Practices

The title tag is the most important on-page SEO element. It appears in:

  • Browser tabs
  • Search engine results
  • Social media shares
  • Bookmarks

Title Tag Guidelines

Length: 50-60 characters maximum. Google typically displays up to 60.

Structure: Primary Keyword | Secondary Keyword | Brand

  • Example: Free Meta Tag Generator - Create SEO Tags Online | Lembog

Keyword Placement: Include your main keyword within the first 3-4 words.

Brand Inclusion: Add your brand name at the end, separated by a pipe or dash.

Uniqueness: Every page needs a unique title — never duplicate.

Meta Description Optimization

The meta description is your page's sales pitch in search results. A compelling description improves click-through rate (CTR).

Description Guidelines

Length: 150-160 characters. Google truncates longer descriptions.

Include Keywords: Natural keyword usage may be bolded in results.

Call to Action: End with verbs like "Learn more," "Try free," or "Get started."

Avoid Duplicates: Each page needs a unique, relevant description.

Match Intent: Ensure the description accurately reflects page content.

Sample Meta Descriptions

E-commerce: "Shop designer sneakers with free shipping on orders over $50. New arrivals weekly. Returns within 30 days. Browse 500+ styles now."

Blog Post: "Learn the 7 proven strategies top marketers use to increase email open rates by 50%. Includes templates and case studies."

Tool Page: "Generate SEO meta tags instantly with live Google previews. Copy HTML code in one click. Free forever, no signup required."

Open Graph Tags Explained

Open Graph (OG) tags control how your content appears when shared on Facebook, LinkedIn, Messenger, and other platforms.

Required OG Tags

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

OG Image Specifications

PlatformRecommended SizeMinimum Size
Facebook1200 × 630 px600 × 315 px
LinkedIn1200 × 627 px1200 × 627 px
WhatsApp400 × 400 px300 × 200 px

File Format: JPG or PNG (JPG preferred for smaller file size) File Size: Under 8 MB (Facebook), under 5 MB (Twitter)

Twitter Card Meta Tags

Twitter Cards enhance tweets that include links, showing images, titles, and descriptions.

Twitter Card Types

Card TypeUse Case
summaryArticles, products with square images
summary_large_imageFeatures, photos, blog posts
playerVideos, audio, interactive media
appMobile app promotion

Twitter Card Tags

<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:title" content="Your Title">
<meta property="twitter:description" content="Description">
<meta property="twitter:image" content="https://yoursite.com/image.jpg">
<meta property="twitter:site" content="@yourusername">

Image Size for Large Image Card: 1200 × 600 pixels minimum

Canonical URL Best Practices

The canonical tag tells search engines which URL is the "official" version of a page, preventing duplicate content issues.

When to Use Canonical Tags

  • URL Parameters: example.com/page?ref=emailexample.com/page
  • WWW vs Non-WWW: Consolidate to one version
  • HTTP vs HTTPS: Point to HTTPS version
  • Trailing Slashes: Choose one format consistently
  • Pagination: Point to the primary page or use rel="next/prev"

Canonical Tag Format

<link rel="canonical" href="https://yoursite.com/page">

Always use absolute URLs, never relative paths.

Robots Meta Tag

The robots tag controls how search engines crawl and index your page.

Common Robots Values

ValueMeaning
index, followCrawl and index (default)
noindex, followDon't index, but follow links
index, nofollowIndex page, don't follow links
noindex, nofollowDon't index or follow links

When to Use Noindex

  • Thank you pages
  • Admin/login pages
  • Paginated archives (sometimes)
  • Low-value pages you don't want indexed

Frequently Asked Questions

Do meta keywords still matter?

No. Google has ignored the keywords meta tag since 2009. Focus your effort on title, description, and content instead.

How long should my meta description be?

Aim for 150-160 characters. Google may display up to 300 characters on mobile, but 160 is safest for consistent display.

Can meta tags improve my rankings?

Title tags directly impact rankings. Descriptions don't directly affect rankings but influence click-through rate, which indirectly matters.

Should every page have meta tags?

Yes. Every indexable page should have a unique title and description at minimum.

What if I don't set meta tags?

Google will auto-generate titles and descriptions from your page content — often poorly. Take control by setting your own.

How do I test my meta tags?

Use our preview feature above, or check with:

Do meta tags work the same for all search engines?

Mostly yes. Google, Bing, and other major engines honor the same basic meta tags.

Common Meta Tag Mistakes

1. Duplicate Titles

Every page needs a unique title. CMSs often default to the same template.

2. Missing Descriptions

Leaving descriptions empty lets Google choose — often with poor results.

3. Keyword Stuffing

Repeating keywords unnaturally looks spammy and hurts CTR.

4. Wrong Image Sizes

Improperly sized OG images appear cropped or distorted on social media.

5. Ignoring Mobile

Review how your meta content displays on mobile search results.

Complete Meta Tags Example

<!-- Primary Meta Tags -->
<title>Free Meta Tag Generator - Create SEO Tags Online | Lembog</title>
<meta name="title" content="Free Meta Tag Generator - Create SEO Tags Online | Lembog">
<meta name="description" content="Generate perfect meta tags for your website with live previews. See how pages appear on Google, Facebook, and Twitter. Free, instant, no signup.">
<meta name="robots" content="index, follow">
<link rel="canonical" href="https://lembog.com/tools/meta-tag-generator">

<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://lembog.com/tools/meta-tag-generator">
<meta property="og:title" content="Free Meta Tag Generator - Create SEO Tags Online">
<meta property="og:description" content="Generate perfect meta tags with live previews for Google, Facebook, and Twitter.">
<meta property="og:image" content="https://lembog.com/og/meta-tag-generator.png">

<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="https://lembog.com/tools/meta-tag-generator">
<meta name="twitter:title" content="Free Meta Tag Generator - Create SEO Tags Online">
<meta name="twitter:description" content="Generate perfect meta tags with live previews for Google, Facebook, and Twitter.">
<meta name="twitter:image" content="https://lembog.com/og/meta-tag-generator.png">

Related Tools

Why Use Our Meta Tag Generator?

  • Live Previews: See Google, Facebook, and Twitter previews before publishing
  • Character Counters: Stay within optimal lengths
  • One-Click Copy: Grab your code instantly
  • No Signup: Free forever, no account needed
  • Best Practices: Built-in guidance for SEO optimization

Generate your meta tags above — paste a title to get started.