Meta Tag Generator

Generate SEO-optimized meta tags, Open Graph, and Twitter Card tags for your website.

Basic SEO

0/60 characters
0/160 characters

Open Graph

Falls back to basic SEO values if left empty.

Twitter Card

Google Search Preview

https://example.com/page
Page Title
Your page description will appear here.

Facebook / Social Preview

No image set
example.com
Page Title
Your page description will appear here.

Twitter Card Preview

No image set
Page Title
Your page description will appear here.
example.com

Generated HTML

<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" />

Meta Tag Generator - Create SEO and Social Media Meta Tags

Getting your meta tags right is one of the easiest wins for search engine visibility and social sharing. The Meta Tag Generator helps you build a complete set of meta tags, including Open Graph and Twitter Card markup, while showing you a real-time Google search preview of how your page will appear.

Features

  • SEO meta tags - Generate title, description, canonical URL, robots directives, and viewport tags
  • Open Graph tags - Set og:title, og:description, og:image, og:type, and og:url for rich social sharing on Facebook and LinkedIn
  • Twitter Card tags - Configure twitter:card, twitter:title, twitter:description, and twitter:image for optimized Twitter previews
  • Google search preview - See a live simulation of how your page title and description will look in Google search results
  • Character count guidance - Visual indicators warn you when title or description lengths exceed recommended limits
  • Structured output - All tags are formatted as copy-ready HTML meta elements
  • Template support - Save and reuse tag templates for consistent tagging across multiple pages

How to Use

  1. Enter your page title, description, and canonical URL in the SEO fields.
  2. Fill in the Open Graph fields, including an image URL for social previews.
  3. Configure Twitter Card settings, choosing between summary or large image card types.
  4. Review the Google search preview and adjust your title and description for optimal click-through.
  5. Copy the generated HTML and paste it into the <head> section of your page.

Use Cases

  • Preparing meta tags for new blog posts or landing pages before publishing
  • Auditing and improving existing page metadata for better SEO performance
  • Ensuring consistent Open Graph and Twitter Card markup across a website
  • Helping content teams generate proper tags without touching code

FAQ

What is the ideal length for a meta title and description?

Google typically displays up to 60 characters for titles and about 155 characters for descriptions. The tool highlights when you approach or exceed these limits so you can adjust accordingly.

Do I need both Open Graph and Twitter Card tags?

Twitter will fall back to Open Graph tags if Twitter-specific tags are missing, but providing both gives you the most control over how your content appears on each platform.

Does this tool validate my meta tags?

Yes. The generator checks for common issues like missing required fields, overly long values, and duplicate tags, and surfaces warnings before you copy the output.