Home › Developer Tools › Meta Tag Generator

Meta Tag Generator

Fill in your page details and get ready-to-paste SEO, Open Graph and X (Twitter) meta tags, with live previews of how your page looks in Google and when shared.

Last updated:

Search engine (SEO)
Social sharing (Open Graph & X)
N
example.com
https://www.example.com
Your page title
Your meta description will appear here.
    Your meta tags
    
        
    Advertisement
    Advertisement

    How to use the Meta Tag Generator

    1. Enter the page title and description. The counters turn green when the length is right for Google.
    2. Add the page URL and a share image (1200 × 630 pixels works everywhere).
    3. Fine-tune the options: robots, Open Graph type, X card type and your @handle.
    4. Check the previews for Google, Facebook and X, and fix any warnings.
    5. Copy the tags and paste them inside the <head> of your page.

    Recommended lengths and sizes

    TagRecommendedWhy
    <title>50–60 characters (under ~600 px)Longer titles are cut in Google results
    meta description120–160 charactersShown as the snippet under your title
    og:image1200 × 630 px, JPG or PNG, under 5 MBSharp on Facebook, LinkedIn, X and WhatsApp
    twitter:cardsummary_large_imageShows a big image instead of a small thumbnail
    canonicalFull https:// URL of the pageTells search engines which URL is the main one

    Where do I put meta tags?

    Paste the generated code inside the <head> section of your HTML, before </head>. In WordPress, use your SEO plugin's fields or your theme's header settings. On site builders such as Shopify, Wix or Squarespace, look for the page's SEO or social sharing settings. After publishing, you can check the share card with each network's own preview or debugging tool, which also refreshes old cached previews.

    Frequently asked questions

    What are meta tags?

    Meta tags are HTML tags in the head of a page that describe it to search engines and social networks. They are not shown on the page itself, but they control the title and snippet in Google and the card people see when your link is shared.

    How long should a meta title be?

    Aim for about 50 to 60 characters. Google cuts titles by width, roughly 600 pixels on desktop, so the tool also measures the pixel width and shows exactly where the title would be cut.

    How long should a meta description be?

    Around 120 to 160 characters works best. Longer descriptions are usually shortened with an ellipsis in search results.

    What are Open Graph tags?

    Open Graph (og:) tags tell Facebook, LinkedIn, WhatsApp, Discord, Slack and many other apps which title, description and image to show when your link is shared.

    Do I need separate Twitter tags?

    X reads Open Graph tags as a fallback, but twitter:card is required to choose the card style, so the generator always includes it together with matching twitter: tags.

    Does the meta keywords tag help SEO?

    Google ignores the keywords meta tag. It's optional here and only useful for some internal site search tools.

    What size should the share image be?

    Use 1200 × 630 pixels (a 1.91:1 ratio) as a JPG or PNG under 5 MB. It displays well on Facebook, LinkedIn and as an X large image card.

    Are all the tools on FreeToolCabin tested for quality and accuracy?

    Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

    Related tools

    Deep Link GeneratorCreate links that open directly in apps.QR Code GeneratorMake QR codes for links, Wi-Fi, email and more.Website Down CheckerCheck if a website is down for everyone.Markdown to HTMLConvert Markdown to clean HTML with a live editor.About Us Page GeneratorTurn your business story, mission, values and team into About Us page copy, as text or HTML.App Icon GeneratorMake every iOS, Android adaptive, PWA and macOS app icon size from one image, as a ZIP.BlurHash GeneratorEncode an image to a BlurHash or ThumbHash placeholder, preview it and copy ready-made code.Breadcrumb Schema GeneratorBuild BreadcrumbList JSON-LD plus the matching HTML breadcrumb from names and URLs.Privacy Policy GeneratorCreate a privacy policy for your website or app with CCPA, CalOPPA, COPPA and AdSense sections.Content Security Policy GeneratorBuild a CSP header or meta tag with nonces, hashes, presets and report-only mode.Meta Tag AnalyzerPaste page HTML to audit title, description, canonical, robots, Open Graph and hreflang tags.Sitemap URL ExtractorExtract every URL from a sitemap.xml or sitemap index, validate it and export to CSV or TXT.Cookie Consent Banner GeneratorDesign a cookie banner with accept, reject and settings buttons and copy the HTML/CSS/JS.FAQ Schema GeneratorTurn questions and answers into FAQPage JSON-LD markup with validation and a preview.Google Review Link GeneratorTurn a Google Place ID into a direct review link, QR code and printable review card.Keyword Suggestion ToolTurn one seed keyword into hundreds of Google and YouTube autocomplete keyword ideas.Local Business Schema GeneratorCreate LocalBusiness JSON-LD with address, geo, opening hours, holiday hours and sameAs links.Structured Data ValidatorCheck JSON-LD, microdata and RDFa against schema.org and Google rich result requirements.Terms and Conditions GeneratorCreate terms of service for a website, store, SaaS or app, with payments and governing law.Cookie Policy GeneratorCreate a cookie policy with a ready cookie table for Google Analytics, AdSense, Meta Pixel and more.Disclaimer GeneratorWrite a website disclaimer for affiliate, health, finance or blog sites, with short post notices.Keyword CombinerCombine up to 4 keyword lists into every combination in broad, phrase and exact match.Long Tail Keyword GeneratorTurn a seed keyword into long-tail keywords with best, how to, near me, year and for X modifiers.On-Page SEO CheckerPaste page HTML and a keyword to audit title, meta, headings, alt text and keyword use.App Privacy Policy GeneratorCreate a privacy policy for your iOS or Android app from its SDKs, permissions and data.URL Tracking RemoverStrip utm, fbclid, gclid and other tracking parameters from one link or hundreds at once.YouTube Keyword ToolFind YouTube search suggestions for a video topic with A-Z expansion and copy them as tags.
    See all 28 SEO & Marketing Tools →