What Are Meta Tags?
Meta tags are HTML elements placed inside the <head> of a page that describe its content to browsers, search engines and social platforms. They don't appear on the page itself, but they shape how your page appears in search results, social shares and browser tabs.
Essential Meta Tags
| Tag | Purpose | Priority |
|---|---|---|
<title> | Page title, browser tab, SERP headline | Critical |
meta description | SERP snippet, CTR driver | High |
meta charset | Character encoding declaration | Critical |
meta viewport | Mobile responsiveness | Critical |
link rel=canonical | Preferred URL declaration | High |
meta robots | Crawl/index directives | Medium |
og:* | Facebook/LinkedIn/WhatsApp previews | High |
twitter:* | Twitter/X card previews | High |
OpenGraph — Social Sharing Done Right
The OpenGraph protocol (og:) tells social platforms what to show when someone shares your page. It was created by Facebook and is now supported by LinkedIn, WhatsApp, Slack, Discord, Telegram and many others.
og:title— headline of the share card (usually 40–60 chars)og:description— 1–2 line summary (up to ~110 chars)og:image— share image, ideally 1200×630 px, min 600×315, under 8 MBog:url— canonical URL of the pageog:type— content type:website,article,product, etc.og:site_name— brand or site name (shown under the title)og:locale— language_REGION, e.g.en_US
Twitter Cards
Twitter Cards make your links show rich previews on X (Twitter). The four card types are:
- summary_large_image — a big banner image above the title/description. Best for articles and products.
- summary — a square thumbnail on the left. Good for compact content.
- app — for app installs.
- player — for embedded video/audio players.
If Twitter-specific tags are missing, X falls back to your OpenGraph tags — which is why we recommend filling OG first.
Robots Directives You Should Know
| Directive | Meaning |
|---|---|
index / noindex | Allow or block search engines from indexing the page. |
follow / nofollow | Allow or block following links on the page. |
noarchive | Don't show a cached version in search results. |
nosnippet | Don't show any snippet — title only. |
noimageindex | Don't index images from this page. |
max-snippet:N | Limit snippet length to N characters. |
max-image-preview:large | Allow large image previews in search (recommended). |
max-video-preview:-1 | Allow unlimited video preview length. |
Common Meta Tag Mistakes
- Duplicate titles across pages — hurts both CTR and rankings.
- Meta description copied from body text — often reads awkwardly and duplicates content.
- OG image is too small — Facebook needs at least 200×200; ideally 1200×630.
- Relative URLs in og:image — social scrapers require absolute URLs.
- Missing
og:url— Facebook may guess the wrong URL when you have query params. - Conflicting robots directives — combining
noindexandindex, or Meta robots +X-Robots-Tagheader. - Meta keywords stuffed — ignored by Google and looks spammy to users who view source.
- Not testing OG tags — always validate via Facebook Sharing Debugger and X Card Validator.
How to Use This Generator
- Basic SEO tab: Enter title, description, keywords, author, canonical and robots directives.
- Social Tags tab: Fill OpenGraph and Twitter Card fields — or tick the fallback to reuse OG values for Twitter.
- Advanced tab: Add charset, viewport, theme-color, geo tags, verification codes and other technical meta.
- Presets tab: Load a preset for Blog Post, E-commerce, Homepage, Local Business, etc. — then edit.
- Copy the code: Paste the generated
<head>block into your page, right after<head>. - Test: Use Facebook Sharing Debugger, X Card Validator and Google Rich Results Test to verify.
Pro Tip: Order matters. Always put <meta charset> first inside <head> — Google and browsers expect it within the first 1024 bytes. Then viewport, then title, then description, then everything else.
⚠️ AI-Generated Tool Notice: This generator was built with AI assistance. All tags are assembled client-side from the values you provide — always verify the final output on a rendered page and via Google's Rich Results Test, Facebook Sharing Debugger and X Card Validator before deployment.
Social Sharing Tags
OpenGraph (Facebook, LinkedIn, WhatsApp)
Twitter Card (X)