My tools

Meta Tag Generator

Enter the facts for one page and copy the HTML fragment into its head. This generates code only: it fetches no URLs, changes no website and assesses no ranking or platform approval.

Local generation · inputs are not uploaded

Inputs

Generated output

    An input link contains the values you entered. Share only information you want to disclose.

    Modern Web SEO & Social Media Meta Tags Specification Reference

    Benchmark reference for Google Search, Open Graph (Facebook/LinkedIn) and X (Twitter) meta tags, covering attribute syntax, character budgets and best practices.

    Modern Web SEO & Social Media Meta Tags Specification Reference
    Tag Name & CategoryHTML Syntax ExampleTarget Platform / AgentRecommended Limits / DimensionsCore ImpactEngineering Tip
    Page Title Tag (<title>)<title>Brand | Keyword</title>Google, Bing, browser tabs50-60 chars / <= 580 pxPrimary on-page ranking and SERP CTR driverFront-load primary keyword, maintain sitewide uniqueness, avoid stuffing
    Meta Description<meta name="description" content="...">Google SERP rich snippets150-160 chars / <= 960 pxDirectly impacts click-through rate and user engagementInclude actionable CTA, never include unescaped double quotes
    Viewport Meta<meta name="viewport" content="width=device-width, initial-scale=1">Mobile devices and Google smartphone botFixed standard declarationEssential prerequisite for mobile-first indexingNever disable user-scalable to maintain WCAG accessibility
    Canonical URL Link<link rel="canonical" href="https://...">Search engine indexing deduplication enginesAbsolute URL without fragmentPrevents duplicate content penalties from query paramsAlways use absolute URLs with HTTPS and self-referential links
    Robots Meta Tag<meta name="robots" content="index, follow">All compliant search engine crawlersStandard directives (index/noindex, follow)Precise control over page indexing and link equityUse noindex on staging/admin; do not block with robots.txt
    Open Graph Title (og:title)<meta property="og:title" content="...">Facebook, LinkedIn, WeChat, Slack, Discord40-60 charsDrives engagement and click-through on social feedsCan be more engaging than SEO title; keep concise to avoid truncation
    Open Graph Image (og:image)<meta property="og:image" content="https://.../card.jpg">Social media preview card main visual1200 x 630 px (1.91:1) / <= 8 MBDetermines full-width card rendering vs tiny thumbnailMust be absolute HTTPS URL; place text within central safe zone
    Twitter Card Type (twitter:card)<meta name="twitter:card" content="summary_large_image">X (formerly Twitter) feed preview cardssummary_large_image / summaryEnables prominent full-width rich media card on XPrefer summary_large_image for maximum feed visibility with image
    Open Graph Type & URL<meta property="og:type" content="website">Open Graph schema entity modelingwebsite / article / productDefines graph entity and consolidates social likes/sharesUse website for tools/homepages and article for editorial posts
    Character Encoding (<meta charset>)<meta charset="utf-8">All web browsers, crawlers, and HTML parsersWithin first 1024 bytes of <head>Prevents encoding mismatches, reparsing and XSS vulnerabilitiesMust be the very first declaration inside <head>

    YOUR NEXT STEP

    Turn a website check into a monitoring routine

    Create a company account to manage sites and notifications. Pro supports 5 sites and 5-minute availability monitoring, with deep diagnostics available according to your plan and permissions.

    New companies receive a 7-day Pro trial, with no card required. Trials exclude the paid monthly credit grant.

    Already have an account? Open your workspace →

    Generation rules and format

    Modern web metadata standards are built upon HTML5, the Open Graph Protocol, and X (Twitter) Cards specifications. The head hierarchy strictly prioritizes: primary encoding <meta charset="utf-8"> and responsive mobile viewport <meta name="viewport" content="width=device-width, initial-scale=1">; search indexing <title> (50-60 characters) and <meta name="description"> (150-160 characters); canonical consolidation <link rel="canonical"> to prevent duplicate ranking penalties; and social distribution via og:title, og:description, og:image (recommended 1200x630px 1.91:1 ratio) and twitter:card (summary_large_image).

    Generation example

    The example uses example.com and fictional site details. Replace them with the real page title, description and image URL before use.

    Assumptions and limits

    • Check tags already emitted by your CMS/theme. Replace or merge them to avoid duplicate title, description and canonical tags. This tool does not parse your website.
    • Social blocks require an image URL. The OG block includes the four basic title/type/image/url properties. Only website type is supported; no article, product or account data is inferred.
    • URLs must be absolute HTTP/HTTPS without credentials. These URLs and images are not requested. Output is a code fragment, not a live search or social-platform rendering preview.
    • Length limits control inputs/resources, not SEO eligibility. Search engines may rewrite snippets. Tags guarantee no ranking, indexing, cache refresh or platform display.

    Frequently asked questions

    Why does Google Search sometimes display titles or descriptions different from my meta tags?

    Google treats <title> and <meta name="description"> as strong recommendations rather than absolute directives. When a user's query aligns more closely with on-page body text, or when the defined meta tags are overly generic, stuffed with repetitive keywords, or excessively long, Google automatically rewrites the SERP snippet using H1 headings, page content, or anchor text. To ensure your defined snippet is retained, keep titles within 50-60 characters and descriptions within 150-160 characters while matching on-page content closely.

    What is the difference between a canonical tag and a 301 redirect for duplicate content?

    A 301 redirect is a server-level permanent forward where users and crawlers are redirected to the target URL, making the source page inaccessible. In contrast, <link rel="canonical"> is an indexing hint that allows multiple URL variants (such as UTM tracking parameters, currency selectors, or sorting filters) to exist for users while instructing search bots to consolidate ranking equity to the single authoritative URL. Use canonical tags for parameter variants and 301 redirects for permanently deprecated pages or domain migrations.

    Why do social platforms (Facebook/X/LinkedIn) still show outdated preview cards after updating OG tags?

    Major social networks cache Open Graph metadata and media on edge servers for days or weeks after the initial fetch to conserve bandwidth. Reposting the URL simply serves the cached card. Solutions: 1. Use official developer debugging tools to force an immediate cache purge: Facebook Sharing Debugger, LinkedIn Post Inspector, and Twitter Card Validator; 2. For an instant global update without waiting, append a version query parameter to your image URL (e.g., og_image.jpg?v=2), forcing crawler scrapers to treat it as a fresh asset.

    What is the fundamental difference between meta robots 'noindex' and robots.txt 'Disallow'?

    This is one of the most critical misconceptions in technical SEO. A 'Disallow' directive in robots.txt only prevents bots from downloading the HTML of the URL. If external links point to that URL, Google can still index the URL without fetching its content. Conversely, <meta name="robots" content="noindex"> requires crawlers to successfully fetch and parse the page so they can discover the noindex directive and permanently purge it from index databases. If a page is blocked via robots.txt, crawlers cannot see the noindex tag, leaving the URL indexed.

    Why is the viewport meta tag the absolute cornerstone of mobile-first indexing?

    Google has crawled the web using Googlebot Smartphone by default since 2019. In the absence of '<meta name="viewport" content="width=device-width, initial-scale=1">', mobile browsers and mobile crawlers assume a virtual desktop width of 980px, causing tiny unreadable text, overlapping touch targets, and horizontal overflow scrolling. Google's mobile usability systems immediately flag such pages as non-mobile-friendly, inflicting severe ranking demotions in mobile search. This tag is an essential standard across all responsive websites.

    Is the meta keywords tag still useful, and which meta tags matter most?

    Google has long stated that it does not use meta keywords for ranking, and its effect on Bing and Baidu is minimal, so you can leave it out — and never stuff it. What matters: the title (the search result headline), the meta description (the snippet, which affects click-through), viewport (correct mobile display), canonical (the preferred URL, avoiding duplicates), robots (set noindex only for pages you do not want indexed) and Open Graph tags such as og:title and og:image for social share cards.

    References

    Meta Tag Generator practical guide and common questions

    What does Meta Tag Generator generate?

    Enter the facts for one page and copy the HTML fragment into its head. This generates code only: it fetches no URLs, changes no website and assesses no ranking or platform approval. Modern web metadata standards are built upon HTML5, the Open Graph Protocol, and X (Twitter) Cards specifications. The head hierarchy strictly prioritizes: primary encoding <meta charset="utf-8"> and responsive mobile viewport <meta name="viewport" content="width=device-width, initial-scale=1">; search indexing <title> (50-60 characters) and <meta name="description"> (150-160 characters); canonical consolidation <link rel="canonical"> to prevent duplicate ranking penalties; and social distribution via og:title, og:description, og:image (recommended 1200x630px 1.91:1 ratio) and twitter:card (summary_large_image).

    When is this useful?

    The example uses example.com and fictional site details. Replace them with the real page title, description and image URL before use.

    How do I enter the details?

    Enter the details for Meta Tag Generator: Page title, Page description, Canonical page URL (absolute HTTP/HTTPS, no fragment), Share image URL (required for social blocks), Site name (may be blank), Image alternative text (may be blank), Robots directive, Open Graph block, Twitter/X Card block. Generate the output, check its syntax and intended environment, then copy or download it.

    How should I interpret the results?

    Check tags already emitted by your CMS/theme. Replace or merge them to avoid duplicate title, description and canonical tags. This tool does not parse your website. Social blocks require an image URL. The OG block includes the four basic title/type/image/url properties. Only website type is supported; no article, product or account data is inferred. URLs must be absolute HTTP/HTTPS without credentials. These URLs and images are not requested. Output is a code fragment, not a live search or social-platform rendering preview. Length limits control inputs/resources, not SEO eligibility. Search engines may rewrite snippets. Tags guarantee no ranking, indexing, cache refresh or platform display.

    Where are my inputs processed?

    Meta Tag Generator generates the output in this browser. Inputs are not uploaded to a generation server; copying and downloading require your action. The existing site analytics and advertising still load.