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
Leave blank to inherit values from SEO Essentials.
Recommended: 1200×630px, JPEG or PNG
<!-- 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">
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
<title> (60 characters)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
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.
Keep the title under 60 characters and the description between 120 and 158. Google truncates by pixel width rather than a strict character count, but those ranges fit almost every case on both desktop and mobile. Google also frequently rewrites your description to match the search query, which doesn't hurt rankings. More on that in Does the meta description affect Google ranking?
Some do, some don't. Google uses the <title> element to understand what a page is about, and it's the main source for the title link shown in results. The meta description doesn't influence ranking directly, but a good one can earn more clicks when Google chooses to show it. Robots and canonical tags have a critical structural effect on whether a page gets indexed at all.
Open Graph is the universal standard read by Facebook, LinkedIn, WhatsApp, and most other platforms. Twitter Cards is X-specific. If a twitter: tag is missing, X falls back to the matching og: tag for the title, description and image, but twitter:card is what sets the card type (summary or large image), so it's worth including. This generator always outputs both sets.
A canonical tag points search engines to the preferred URL when the same content is reachable at more than one address: with or without tracking parameters, trailing slashes, or session IDs. Every page should carry a self-referencing canonical, even without a known duplicate, since it costs nothing and removes ambiguity later.
1200×630px at roughly a 1.91:1 ratio is the safe default. Meta recommends at least 1200×630 for sharp previews on high-resolution screens; below 600×315 Facebook still shows the image, just as a much smaller thumbnail, and the hard minimum is 200×200 (the file itself can't exceed 8 MB). WhatsApp is stricter on weight: Meta's docs ask for an og:image under 600 KB and at least 300px wide, so compress the file before you link it.
Use UTF-8. It's the encoding the HTML standard expects, it covers every language and emoji, and it's the default in the Technical tab. The UTF-16 and ISO-8859-1 options only make sense if you're matching a legacy page that's already saved in that encoding. Put <meta charset> as the first tag in your <head>.
References
Google's own guidance on how title tags and meta descriptions are used in Search.
The official Open Graph specification, maintained by Meta.
Official X/Twitter documentation for implementing Twitter Card tags.
Related Tools
- robots.txt Generator: Block GPTBot and Other AI Crawlers Marketing Build a robots.txt that blocks GPTBot, ClaudeBot and 14 other AI crawlers one by one, then test any URL against each bot before you publish the file.
- SERP Preview Tool: Google Title & Meta Description Checker Marketing See how your title, meta description and URL look in Google on desktop and mobile, with pixel-width truncation warnings, keyword bolding and rich snippets.
- Reading Time Calculator: Words to Minutes, Read & Speak Marketing Paste your text to see how long it takes to read silently (3 speeds, 5 complexity levels) and to say out loud at a 130 WPM presentation pace. Free.
- Word Counter — Free Online Word & Character Count Marketing Free online word counter — count words, characters, paragraphs and reading time instantly. Detailed text analysis with keyword density.
- Word Frequency Counter & Analyzer: Most Repeated Words Marketing Paste text to rank its most repeated words and 2- or 3-word phrases by count and density. Skips stop words and exports to CSV or JSON.