Meta Tag Generator: SEO, Open Graph & Twitter Card Tags

Meta Tag Generator: SEO, Open Graph & Twitter Card Tags

Enter a title and description to generate SEO, Open Graph and Twitter Card meta tags, with a Google snippet preview. Copy or download the HTML block.

Updated November 2026

Reviewed by Rafael Duarte

0/60
0/160
Code Preview
<!-- Primary Meta Tags -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- <html lang="en"> -->
<meta http-equiv="content-language" content="en">
<meta name="robots" content="index, follow">

<!-- Twitter Card -->
<meta name="twitter:card" content="summary_large_image">
SERP Preview

https://example.com/your-page

Page Title

Your meta description will appear here…

How to generate meta tags

From core SEO essentials to a complete social graph

1. Fill in the SEO Essentials

Page Title (counter up to 60 characters), Meta Description (up to 160), Canonical URL, the Robots directive, and optionally Author and Keywords.

2. Check Social Graph and Technical

In Social Graph, pick the OG Type and Twitter Card and add the image URL; blank title, description and URL fields inherit from SEO Essentials. The Technical tab sets charset, language, viewport and theme color.

3. Copy or download the HTML

Check the SERP Preview, then click Copy (or press Shift+Enter with the cursor outside the form fields) or Download meta-tags.html, and paste the block into your page's <head>.

What this meta tag generator does

SEO, social and technical tags in one block

SEO essentials

Title, description, robots and canonical, plus optional author and keywords.

Core Open Graph tags

og:type, og:url, og:title, og:description and og:image, the core set Facebook, LinkedIn and WhatsApp read for link previews. Extras such as og:site_name, og:locale or og:image:alt aren't generated; add them by hand if you need them.

Twitter Card tags

Controls how your link looks when it's shared on X, including the large-image summary card.

Automatic field inheritance

Blank social fields pull from your SEO title, description and canonical URL, so you never type the same copy twice.

Technical tags

The Technical tab adds <meta charset>, the viewport, a content-language hint (with a reminder to set <html lang>) and theme-color.

SERP Preview

An approximate Google snippet of your title and description. It cuts by character count (60 and 160), while Google cuts by pixel width. For a closer simulation, use the Google SERP Preview.

Quick meta tag reference

Tag
Why it matters
<title> (60 characters)
Main source Google uses for the title link
meta description (160 characters)
Affects clicks, not a direct ranking factor
og:image (1200×630px)
Controls the image in shared link previews
meta keywords
Ignored by Google since 2009

When you'll reach for this tool

The scenarios that come up most often

Shipping a new page

Generate the full meta tag block before you publish, so nothing gets forgotten.

Technical SEO audits

Check that your title and description length sit inside Google's recommended limits.

Getting social previews right

Set up Open Graph and Twitter Cards so the link looks right the moment it's shared.

Fixing duplicate content

Add a canonical tag that points search engines to the URL you actually want indexed.

Setting up a product page

Switch og:type to product so e-commerce listings share with the right preview format.

Common mistakes

Adding meta keywords out of habit

Google announced in September 2009 that it ignores this tag for ranking. All it does now is hand your keyword strategy to any competitor who views your page source.

Letting the title run past 60 characters

Google truncates long title links to fit the screen width, so keep your primary keyword near the front where it survives the cut. For writing tips, see How to write titles that earn clicks without clickbait.

Skipping the self-referencing canonical

Every page should point its canonical tag at its own clean URL, even when you don't know of any duplicate parameters yet.

Why use this tool

It generates the core set in one pass: not just title and description, but robots, canonical, Open Graph, Twitter Card and technical tags together, with a SERP Preview to check the snippet before you copy.

Automatic inheritance between the SEO and social fields keeps what shows up on Google and what shows up when the link gets shared in sync, without retyping the same title and description twice.

Open Graph vs. Twitter Cards

Two standards, one setup

Open Graph
Twitter Cards
Created by
Facebook
X (Twitter)
Read by
Facebook, LinkedIn, WhatsApp, Slack, Discord
X/Twitter
If you only set up one
most platforms fall back to it, X included
doesn't cover the other platforms

Frequently asked questions

No. Google announced in September 2009 that it doesn't use the keywords meta tag in web search ranking. Including it only exposes your keyword strategy to anyone who views your page source. It has no upside left, so most SEOs leave the field out entirely.

References

Related Tools