Meta Tag Generator
Basic Meta Tags
Open Graph (Facebook / LinkedIn)
Twitter Card
Free Meta Tag Generator
Generate HTML meta tags for SEO, Open Graph (Facebook, LinkedIn), and Twitter Cards. Just fill in the fields and copy the generated code into your HTML <head> section.
What Are Meta Tags?
Meta tags are HTML elements in the <head> section of a page that provide metadata about the document. Search engines use them to understand page content, and social platforms use Open Graph and Twitter Card tags to create rich previews when your page is shared.
SEO Best Practices
- Title — Keep under 60 characters. Include your main keyword near the beginning.
- Description — 150–160 characters. Write a compelling summary that encourages clicks.
- Canonical URL — Use on duplicate or similar pages to tell search engines which version to index.
- OG Image — Use 1200×630 pixels for optimal Facebook/LinkedIn previews.
Frequently Asked Questions
Where do I paste the meta tags?
Place the generated meta tags inside the <head> section of your HTML document, before the closing </head> tag.
Do I need both Open Graph and Twitter Card tags?
Twitter will fall back to Open Graph tags if no Twitter-specific tags are found. However, including both gives you maximum control over how your page appears on each platform.