How to generate your meta tags
- Optionally paste an existing page URL to prefill the fields from its current tags.
- Write a title of up to 60 characters and a description of up to 155; the counters flag anything that may be cut off.
- Add an absolute https:// image URL, the canonical page URL, the og:type and your site name.
- Pick your framework tab: HTML, Next.js, Nuxt, Astro, WordPress or Shopify.
- Copy the code into your page, deploy, and check the live URL with the free scanner.
Which tags the generator writes
The output covers the set every platform reads: a title tag and meta description for search, og:title, og:description, og:image, og:url, og:type and og:site_name for Open Graph, and twitter:card set to summary_large_image so X shows the large image card. X falls back to the Open Graph values when twitter:title, twitter:description or twitter:image are missing; the scanner still flags each as a warning, so add them if you want X-specific text or a full score.
Writing tags that survive every platform
- Keep the title under 60 characters. WhatsApp clips near 65 and X near 70, so the first words have to carry the meaning.
- Write the description as one plain sentence. Several apps show none at all, so never rely on it alone.
- Use a 1200×630 image under 300 KB. Need one? The free OG image generator makes one from a template.
- Set og:url to the page's own canonical URL, never the homepage.
Single-page apps
If your site renders in the browser (React, Vue or Svelte without server rendering), crawlers receive an empty shell and never see tags added by JavaScript. The snippets below the generator fix that at the edge: a Cloudflare Worker, Next.js middleware or Vercel Edge Middleware detects a crawler and serves it a pre-rendered snapshot of your tags, while visitors get the normal app.
Check before you share
After deploying, run the live URL through the OG scanner to confirm the tags arrive in the HTML, then the preview simulator to see the card on 30 platforms. For framework-specific placement, see the fix guides.