Meta Tag Generator
Generate SEO-friendly meta tags, Open Graph tags, Twitter Cards, and JSON-LD schema instantly. Free online tool with real-time preview. No signup, 100% private.
How to Use Meta Tag Generator
Enter Page Information
Fill in your page title (50-60 characters), meta description (150-160 characters), and page URL. Choose a template that matches your page type.
Add Social Media Tags
Configure how your page appears when shared on social media. Add an OG image (1200x630px recommended), site name, and Twitter handle.
Preview Your Results
See real-time previews of how your page will appear in Google search results, Facebook shares, and Twitter cards before generating.
Add Structured Data
Select a JSON-LD schema type (WebPage, Article, Product, LocalBusiness) to enable rich results in Google search.
Copy & Implement
Copy the generated code and paste it into the <head> section of your HTML page, before the closing </head> tag.
Frequently Asked Questions
What are meta tags?
Meta tags are HTML elements that provide information about a webpage to search engines and social media platforms. They are placed in the <head> section and control how your page appears in search results and social shares.
Why are meta tags important for SEO?
Title tags are a major ranking factor. Meta descriptions influence click-through rates. Proper meta tags help search engines understand your content and users decide whether to click.
What's the difference between meta tags and Open Graph?
Standard meta tags are for search engines (Google, Bing). Open Graph tags are for social media platforms (Facebook, LinkedIn, Pinterest) and control how your content appears when shared.
How long should a meta description be?
The optimal length is 150-160 characters. Google typically truncates longer descriptions. Our tool includes a character counter to help you stay within limits.
Do meta keywords still matter?
Google no longer uses the meta keywords tag for ranking. However, it can still be useful for some search engines and internal site search. Focus on title and description instead.
What is JSON-LD structured data?
JSON-LD is Google's preferred format for structured data. It helps search engines understand your content better and enables rich results like star ratings, product info, and FAQ accordions in search.
What OG image size should I use?
Use 1200x630 pixels for Facebook and most social platforms. Keep file size under 1MB. Use JPEG or PNG format. This ensures your image displays correctly across all platforms.
How do I add meta tags to my website?
Copy the generated code and paste it into the <head> section of your HTML file. For CMS platforms like WordPress, use SEO plugins or theme settings to add meta tags.
Complete Guide to Meta Tags
Title Tag Best Practices
The title tag is the most important on-page SEO element. It appears as the clickable headline in search results and influences both rankings and click-through rates.
| Best Practice | Recommendation |
|---|---|
| Length | 50-60 characters (Google displays ~60) |
| Keyword Placement | Primary keyword near the beginning |
| Brand Name | Include at the end, separated by | or - |
| Uniqueness | Every page should have a unique title |
Meta Description Optimization
While not a direct ranking factor, meta descriptions significantly impact click-through rates. Write compelling descriptions that encourage users to click.
- Include your primary keyword - Google bolds matching search terms
- Write compelling copy - Think of it as an ad for your page
- Include a call-to-action - "Learn more", "Get started", "Try free"
- Match search intent - Align with what users are looking for
Open Graph Protocol
Open Graph tags control how your content appears when shared on social media. They are essential for maximizing engagement on Facebook, LinkedIn, and other platforms.
| Property | Purpose | Recommendation |
|---|---|---|
| og:title | Title for social | Same as page title or customized |
| og:description | Description for social | 2-4 sentences, compelling |
| og:image | Preview image | 1200x630px, under 1MB |
| og:url | Canonical URL | Full URL with https:// |
| og:type | Content type | website, article, product |
Twitter Cards
Twitter Cards enhance how your content appears on Twitter. The Summary Large Image card is recommended for maximum visibility.
| Card Type | Use Case | Image Size |
|---|---|---|
| Summary | General content, blog posts | 120x120px minimum |
| Summary Large Image | Articles, visual content | 280x150px minimum |
Quick Reference
Character Limits
- Title: 50-60 characters
- Description: 150-160 characters
- OG Title: 60-90 characters
- OG Description: 200-300 characters
Image Sizes
- Facebook/OG: 1200x630px
- Twitter Large: 1200x600px
- Twitter Summary: 240x240px
- Max file size: 1MB
Schema Types
- WebPage - General pages
- Article - Blog posts, news
- Product - E-commerce
- LocalBusiness - Local SEO
About Meta Tag Generator
Generate SEO-friendly meta tags, Open Graph tags, Twitter Cards, and JSON-LD schema instantly. Free online tool with real-time preview. No signup, 100% private.