Language
English English Vietnamese (Tiếng Việt) Vietnamese (Tiếng Việt) Chinese (简体中文) Chinese (简体中文) Portuguese (Brazil) (Português do Brasil) Portuguese (Brazil) (Português do Brasil) Spanish (Español) Spanish (Español) Indonesian (Bahasa Indonesia) Indonesian (Bahasa Indonesia)
Meta Tag Generator

Meta Tag Generator

Generate complete HTML meta tags for SEO, Open Graph, and Twitter Card with a live preview across Google, Facebook, and X.

Meta Tag Generator for SEO and Social Sharing

The meta tag generator builds the complete block of HTML <meta> tags your page needs for search engines and social platforms. Type your title and description once, and the tool writes the SEO, Open Graph, and Twitter Card tags for you. It is built for anyone who wants a clean, correct <head> without memorizing tag syntax.

You work across three tabs — Basic SEO, Open Graph, and Twitter Card — while a live preview shows how the page will look on Google, Facebook, and X (Twitter). When the markup looks right, one click copies the generated HTML so you can paste it straight into your page.

Private by design: every tag is generated in your browser. Nothing you type — titles, descriptions, image URLs, or handles — is ever uploaded to a server.

How to Use the Meta Tag Generator

1

Fill in Basic SEO

On the Basic SEO tab, enter your Page Title (aim for 50–60 characters) and Meta Description (aim for 150–160 characters). Add keywords, author, canonical URL, and robots directives if you need them.

2

Customize Open Graph

Switch to the Open Graph tab to control how the page looks on Facebook, LinkedIn, and similar platforms. Pick a content type, add an image URL (1200 x 630 px), and set the site name and locale. Empty fields fall back to your Basic SEO values.

3

Customize Twitter Card

On the Twitter Card tab, choose a summary or summary_large_image layout and add your site and creator handles. These fields inherit from Open Graph first, then Basic SEO.

4

Preview and Copy

Check the live preview on Google, Facebook, and X. When it looks right, click Copy Code and paste the generated tags inside your page's <head> section.

Features

Basic SEO Tags

Generate title, description, keywords, author, robots, and canonical link tags for search engines.

Open Graph Tags

Build og:type, title, description, URL, image, image alt, site name, and locale for Facebook and LinkedIn.

Twitter Card Tags

Output the card type, title, description, image, site, and creator tags for X (Twitter) shares.

Smart Defaults

Open Graph fields inherit from Basic SEO and Twitter fields inherit from Open Graph, so you only override when you need different text.

Live Multi-Platform Preview

See your page as a Google SERP listing, a Facebook card, and an X (Twitter) card before you publish.

Card Layout Switching

Toggle the Twitter card between summary and summary_large_image and watch the preview update instantly.

Character Count Validation

Color-coded counters for title and description: green within range, yellow near the limit, red over it.

Robots Directives

Set index/noindex and follow/nofollow; the robots tag is omitted when both stay at the default index, follow.

Clean Code Output

Syntax-highlighted HTML that includes only the tags you filled in — no empty or unnecessary tags.

One-Click Copy & Reset

Copy the complete code to your clipboard with one click, or reset every field to start over.

Frequently Asked Questions

What is a meta tag?

A meta tag is a snippet of HTML that gives search engines and social platforms information about a page. Meta tags don't appear on the page itself, but they shape how your content is displayed in search results and when it's shared on social media.

How do I create meta tags for my website?

Fill in your title and description on the Basic SEO tab, then optionally adjust the Open Graph and Twitter Card tabs. This generator writes the HTML for you. Click Copy Code and paste the tags inside the <head> section of your page, before the closing </head> tag. On a CMS like WordPress, use an SEO plugin or your theme's custom header section.

How long should a title tag and meta description be?

Aim for 50–60 characters for the title and 150–160 characters for the description so they aren't truncated in search results. The character counter turns yellow as you approach the limit and red when you exceed it.

What is the difference between Open Graph and Twitter Card tags?

Open Graph tags control how a page looks when shared on Facebook, LinkedIn, and similar platforms. Twitter Card tags do the same for X (Twitter). X can fall back to Open Graph tags, so OG tags alone cover basic sharing — but Twitter Card tags give you extra control, including the choice between a summary and a large-image card.

What is the recommended Open Graph image size?

Use 1200 x 630 pixels (a 1.91:1 aspect ratio). This size displays well across Facebook, LinkedIn, X, and other platforms. Choose a clear, high-quality image that represents your content.

What is the difference between summary and summary_large_image cards?

A summary card shows a small square thumbnail next to the text. A summary_large_image card displays a large image above the text, taking up more space in the timeline. Switch between them on the Twitter Card tab and the preview updates right away.

Do meta tags help SEO?

Yes — well-written title and description tags can improve your click-through rate from search results, and Open Graph and Twitter Card tags make shared links look more appealing. Note that Google no longer uses the keywords meta tag for ranking; it's optional and low priority, though some other engines and site-search tools may still reference it.

0 / 60
0 / 160
Recommended: 1200 x 630 pixels
https://example.com
Your Page Title
Your meta description will appear here. Write a compelling description to improve click-through rates from search results.
1200 x 630
example.com
Your Page Title
Your meta description will appear here. Write a compelling description to improve click-through rates from search results.
1200 x 630
example.com
Your Page Title
Your meta description will appear here. Write a compelling description to improve click-through rates from search results.
HTML
Fill in the Basic SEO tab first — Open Graph and Twitter fields will auto-inherit those values
Keep your Page Title between 50–60 characters for optimal display in search results
Keep your Meta Description between 150–160 characters
Use the character count indicators: green = good, yellow = near limit, red = over limit
Recommended OG Image size: 1200 x 630 pixels
Only override OG/Twitter fields when you need different text for social sharing
All processing happens in your browser — no data is sent to any server
Want to learn more? Read documentation →
1/8
Start typing to search...
Searching...
No results found
Try searching with different keywords