Meta Tag Generator
Generate SEO-optimized meta tags, Open Graph and Twitter Card tags
Basic Meta Tags
Comma-separated list of keywords
Open Graph Tags
(Facebook, LinkedIn, etc.)Recommended: 1200x630 pixels
Twitter Card Tags
Google Search Preview
Facebook / Social Preview
1200 x 630
Twitter Card Preview
Large Image
Generated HTML
100% Private
All meta tag generation happens locally in your browser. Nothing is ever sent to any server or stored anywhere.
What Are Meta Tags?
The hidden HTML elements that control how search engines and social platforms see your pages
Meta tags are snippets of HTML code placed inside the <head> section of a webpage. They don't appear on the page itself, but they provide critical information to search engines, social media platforms, and browsers about the page's content, author, viewport settings, and more. Well-crafted meta tags directly influence your search rankings, click-through rates, and social media engagement.
Search Engine Visibility
The title tag and meta description determine how your page appears in Google search results. A well-optimized title and compelling description can significantly improve your click-through rate.
Social Media Sharing
Open Graph and Twitter Card tags control how your page looks when shared on Facebook, LinkedIn, Twitter, and other social platforms. Custom images and descriptions drive more engagement.
Crawler Instructions
The robots meta tag and canonical URL tell search engine crawlers how to index your page, which version is authoritative, and whether to follow links — essential for avoiding duplicate content issues.
Essential Meta Tags for SEO
The most important meta tags every page should have
| Tag | Purpose | Best Practice |
|---|---|---|
<title> |
Defines the page title shown in search results and browser tabs | 50–60 characters, include primary keyword |
description |
Summary shown under the title in search results | 150–160 characters, compelling call to action |
robots |
Controls search engine crawling and indexing behavior | Use "index, follow" unless page should be hidden |
canonical |
Specifies the preferred URL for duplicate content | Always set to the single authoritative URL |
viewport |
Controls responsive behavior on mobile devices | width=device-width, initial-scale=1 |
charset |
Declares the character encoding for the document | Always use UTF-8 |
Tip: While the keywords meta tag is largely ignored by Google, it can still be useful for internal site search and for other search engines like Bing.
Open Graph vs Twitter Cards
Understanding the two major social media meta tag standards
Open Graph (OG)
- Created by Facebook in 2010
- Used by Facebook, LinkedIn, Pinterest, Slack, Discord
-
Prefix:
og: - Supports title, description, image, type, URL, locale
- Recommended image: 1200x630px
Twitter Cards
- Created by Twitter (now X)
- Used exclusively on Twitter/X platform
-
Prefix:
twitter: - Supports card, site, creator, title, description, image
- Falls back to OG tags if not set separately
Best Practice: Always include both Open Graph and Twitter Card meta tags. While Twitter can fall back to OG tags, having dedicated Twitter Card tags ensures the best possible display on all platforms. This generator creates both sets automatically.
How to Use This Meta Tag Generator
Generate perfect meta tags in four simple steps
Enter Basic Info
Fill in your page title and meta description. Watch the character counters to stay within recommended limits for search engines.
Add Social Tags
Configure Open Graph and Twitter Card tags. Add an image URL for rich social media previews. Fields default to your basic meta info.
Preview Results
See live previews of how your page will look in Google search results, Facebook shares, and Twitter cards before publishing.
Copy the Code
Copy the generated HTML code and paste it into the <head> section of your webpage. Done!
Frequently Asked Questions
Common questions about meta tags and SEO optimization
<head> section of a webpage that provide metadata about the page. They are important for SEO because the title tag is a major ranking factor, the meta description influences click-through rates from search results, and the robots tag controls how search engines index your content. Without proper meta tags, search engines may display suboptimal snippets for your pages.robots meta tag instructs search engine crawlers on how to handle a page. index, follow (default) tells crawlers to index the page and follow its links. noindex, follow prevents indexing but still follows links. index, nofollow indexes the page but ignores links. noindex, nofollow prevents both indexing and link following. Use noindex for pages like thank-you pages, login screens, or internal search results.<link rel="canonical">) tells search engines which version of a page is the authoritative copy when the same content exists at multiple URLs. This is essential for preventing duplicate content penalties. Common scenarios include HTTP vs HTTPS, www vs non-www, URLs with tracking parameters, and paginated content. Always set a canonical URL to the single preferred version of each page.