Meta Tag Generator

Meta tags provide page metadata for search engines and social media. Essential tags: <title> (60 chars max), <meta name="description" content="..."> (155-160 chars), <meta name="viewport" content="width=device-width">. Open Graph (Facebook): og:title, og:description, og:image (1200×630px), og:url. Twitter Cards: twitter:card, twitter:title, twitter:image. SEO: robots, canonical. Charset: <meta charset="UTF-8">. Generate accurate tags for better SEO ranking, social sharing previews, accessibility. Test with Facebook Debugger, Twitter Card Validator.

Generate HTML meta tags for SEO, Open Graph, and Twitter Cards. Enter page title, description, keywords, author, and canonical URL. Configure og:title, og:description, og:image, og:type, og:url, Twitter Card type, robots directives, and viewport settings. Live preview of generated HTML with Google SERP preview and character count warnings.

Works OfflineDark ModeNo Ads

Basic Meta Tags

0/60
0/160

Open Graph (Social Sharing)

Twitter Card

Robots & Viewport

Google SERP Preview

example.com/

Page Title

Add a meta description to see how your page will appear in search results.

Generated Meta Tags

<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="index, follow">
<meta property="og:type" content="website">
<meta name="twitter:card" content="summary_large_image">

How to Use

  1. Enter your value in the input field
  2. Click the Calculate/Convert button
  3. Copy the result to your clipboard

Frequently Asked Questions

What are meta tags and why are they important for SEO?
Meta tags are HTML elements in the <head> section that provide metadata about a web page. They help search engines understand your content and determine how to display it in search results. Key meta tags include title (shown as the clickable headline), description (shown as the snippet), robots (controls indexing), and canonical URL (prevents duplicate content). Well-crafted meta tags improve click-through rates from search results.
What is the ideal length for a meta title and description?
The recommended meta title length is 50-60 characters. Google typically displays up to 60 characters before truncating. For meta descriptions, aim for 150-160 characters. Descriptions longer than 160 characters may be cut off in search results. Both should include relevant keywords naturally while being compelling enough to encourage clicks.
What are Open Graph meta tags?
Open Graph (OG) meta tags control how your page appears when shared on social media platforms like Facebook, LinkedIn, and Pinterest. Key OG tags include og:title, og:description, og:image, og:type, and og:url. Without OG tags, social platforms try to guess what to show, often with poor results. Always include an og:image (1200×630 pixels recommended) for visually appealing social shares.
What are Twitter Card meta tags?
Twitter Card tags control how your content appears when shared on Twitter/X. The two main card types are "summary" (small square image with title and description) and "summary_large_image" (large landscape image above the title). Twitter cards use twitter:card, twitter:title, twitter:description, twitter:image, twitter:site (website account), and twitter:creator (author account).
What does the robots meta tag do?
The robots meta tag tells search engine crawlers whether to index a page and whether to follow its links. "index, follow" (default) allows full indexing and link following. "noindex" prevents the page from appearing in search results. "nofollow" tells crawlers not to follow links on the page. Use "noindex" for private pages, duplicate content, or pages under development.
What is a canonical URL and when should I use it?
A canonical URL tells search engines which version of a page is the "official" one when duplicate or similar content exists at multiple URLs. Use it when the same content is accessible via different URLs (with/without www, HTTP/HTTPS, URL parameters). The canonical tag prevents duplicate content penalties and consolidates link equity to the preferred URL.

Related Tools