Meta Tag Generator
Generate complete HTML meta tags for SEO, Open Graph (Facebook/LinkedIn), and Twitter Cards. See live previews of how your page will look in Google search results and social media.
About Meta Tag Generator
HTML meta tags are snippets of code in the <head> section of a web page that provide structured information about the page to browsers, search engines, and social media platforms. They are invisible to visitors but play a critical role in how your page is discovered, indexed, and displayed across the web. Getting your meta tags right is one of the most fundamental and high-impact steps in on-page SEO.
The meta title (defined by the <title> tag) is the most important on-page SEO element. It appears as the clickable headline in Google search results and in the browser tab. Search engines use it to understand the topic of your page. Keep it between 50–60 characters to ensure it displays in full without truncation. Include your target keyword near the beginning, and keep it descriptive and compelling to maximize click-through rates.
The meta description is a short summary of the page content. While it is not a direct ranking factor, it heavily influences click-through rates because it appears as the snippet below your title in search results. A well-written description that matches the user's search intent and includes a clear call to action can significantly increase organic traffic. Keep it between 150–160 characters.
Open Graph (OG) tags were developed by Facebook and are now widely used by LinkedIn, Pinterest, and other social platforms to control how your page appears when shared as a link. Without OG tags, these platforms will scrape random content from your page, often with poor results. The most important OG tags are og:title, og:description, and og:image. Use an image of at least 1200×630 pixels for best display quality.
Twitter Cards control how your content appears when shared on Twitter/X. The summary_large_image card type is most impactful as it displays a large image above the title and description, making your tweet stand out in the feed. Twitter falls back to OG tags if Twitter-specific tags are absent, but providing explicit Twitter tags gives you full control.
FAQ
Q: Do meta keywords still matter for SEO?
No. Google has officially ignored the meta keywords tag since 2009. Bing also ignores it. Adding meta keywords to your pages provides no SEO benefit and is generally considered a waste of time. Focus instead on your title tag, meta description, and page content quality.
Q: What is the difference between og:title and the page title?
The page <title> tag is used by search engines and browser tabs. The og:title is specifically for social media platforms when your link is shared. If og:title is absent, social platforms will fall back to the <title> tag. You can customize OG titles to be more engaging for social sharing without affecting SEO titles.
Q: What is the robots meta tag used for?
The robots meta tag tells search engine crawlers whether to index the page (index) and whether to follow the links on it (follow). The default is index, follow. Use noindex for pages you don't want in search results (like admin pages, duplicate pages, or thank-you pages). Use nofollow to prevent link equity from passing to linked pages.
Q: What image dimensions should I use for og:image?
Facebook and LinkedIn recommend 1200×630 pixels (1.91:1 ratio) for large link previews. The minimum is 200×200 pixels, but anything smaller may display poorly or be ignored. Use PNG or JPG format with a file size under 8 MB. Make sure the image URL is absolute (starting with https://) and publicly accessible.
Q: How do I test if my meta tags are working correctly?
Use Facebook's Sharing Debugger, LinkedIn's Post Inspector, and Twitter's Card Validator to preview how your pages appear on each platform. Google Search Console shows how your pages appear in search results. Note that social platforms cache preview data, so after updating your tags you may need to use these tools to force a re-scrape.