// generate all essential HTML meta tags instantly
Generate all essential HTML meta tags: SEO, Open Graph, Twitter Card, robots, viewport, charset, and canonical. Live preview shows how your page appears in search and social. Free.
Enter your page title, meta description, URL, and other details. The SERP preview and social card update instantly as you type.
Enable or disable Open Graph, Twitter Card, and technical tags using the section toggles. Adjust the OG type and Twitter card type to match your content.
Click Copy All to grab the complete <head> meta tags block and paste it directly into your HTML document's head section.
HTML Meta Tag Generator creates all essential meta tags for SEO, social sharing, and mobile optimisation. Enter your page details and the tool generates the complete <head> snippet with live previews of how your page appears in Google search results and when shared on Facebook, LinkedIn, or Twitter/X.
Google typically displays 50–60 characters for the page title before truncating with an ellipsis. Meta descriptions are displayed at up to 150–160 characters for desktop results and slightly fewer on mobile. Keeping your title under 60 characters and your description under 160 ensures they appear in full in search results. This tool shows character count indicators to help you stay within these limits.
Open Graph tags are meta tags with property="og:*" attributes that control how a page appears when shared on Facebook, LinkedIn, and other social platforms that use the OG protocol. The most important are og:title, og:description, og:image, and og:url. Without these tags, Facebook and LinkedIn will attempt to infer content from the page, often with poor results.
Twitter Card meta tags control how a URL is displayed when shared on Twitter/X. The summary_large_image card type shows a large image above the tweet text, while summary shows a small thumbnail to the left of the title and description. Twitter falls back to Open Graph tags if Twitter-specific tags are absent, so you can omit the Twitter tags if they would be identical to your OG tags.
The <link rel="canonical"> tag tells search engines which URL is the preferred version of a page when duplicate or near-duplicate versions exist at different URLs — for example, with and without a trailing slash, or with and without query parameters. Always set the canonical URL to the full, absolute URL of the page you want indexed. Correct canonical tags prevent duplicate content penalties and consolidate link equity.
No. Google has publicly stated that it does not use the meta name="keywords" tag as a ranking signal and has not done so for many years. Most other major search engines also ignore it. Including keywords does no harm, but it also provides no SEO benefit. The tool includes the field because some internal search systems and legacy CMS platforms still read it.
The theme-color meta tag sets the colour of the browser chrome (the address bar and toolbar) on mobile devices that support it, including Chrome on Android. It accepts any CSS colour value. When a user adds your page to their home screen as a PWA, the theme colour also appears in the splash screen and app icon background. Set it to your brand's primary colour for a consistent experience.
Meta tags are the invisible instructions that tell search engines and social platforms how to understand and represent a web page. A well-configured set of meta tags improves click-through rates from search results, controls how a page looks when shared on social media, and ensures mobile browsers render the page correctly. Getting them right requires knowing the correct attribute names, character limits, and which tags are needed for each platform.
The <title> element — technically not a meta tag but part of the same head configuration — is the most important on-page SEO signal. It appears as the blue clickable link in search results and should contain the primary keyword for the page. The meta description does not directly affect ranking but significantly affects click-through rate by providing the snippet text that appears under the title in search results. The robots meta tag controls whether search engines index the page and follow its links.
The Open Graph protocol was created by Facebook and has since been adopted as the standard for social sharing previews across most major platforms including LinkedIn, Discord, Slack, and WhatsApp. The minimum required tags are og:title, og:description, og:image, and og:url. The image should be at least 1200 × 630 pixels with a maximum file size of 8 MB. Facebook caches OG data aggressively — use the Facebook Sharing Debugger to force a cache refresh after updating tags.
Twitter's card system has four types. summary_large_image is the most visually impactful and is the right choice for most blog posts, articles, and product pages. summary works better for short updates and link-only tweets. app and player are for app download cards and media embeds respectively. Twitter crawls and caches card data when a URL is first tweeted — use the Twitter Card Validator to check and refresh cached data.
Canonical URLs are one of the most important technical SEO configurations and one of the most frequently misconfigured. Every page should have a self-referential canonical tag pointing to its own absolute URL. Pages with multiple valid URLs (HTTP and HTTPS, www and non-www, with and without trailing slashes) should all have canonical tags pointing to the single preferred version. Pagination, filtered product listings, and syndicated content all require careful canonical configuration.