Skip to content
Shareglow

Meta tag generator

Fill in the fields, pick your framework, copy the code.

0/60
0/155

1200 x 630 works everywhere.

example.com

Your title appears here

Your description appears here

Fill in a title and description, or prefill from a URL, and the code for next appears here.

Single-page app? Serve OG tags to crawlers only

React/Vue/Angular apps render tags client-side, where crawlers never see them. Paste one of these edge snippets in front of your SPA: bots get a pre-rendered snapshot with your og:* tags, humans load the app as usual.

How to generate your meta tags

  1. Optionally paste an existing page URL to prefill the fields from its current tags.
  2. Write a title of up to 60 characters and a description of up to 155; the counters flag anything that may be cut off.
  3. Add an absolute https:// image URL, the canonical page URL, the og:type and your site name.
  4. Pick your framework tab: HTML, Next.js, Nuxt, Astro, WordPress or Shopify.
  5. 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.

FAQ

Common questions

Where do I paste the generated code?

Inside the <head> of the page for plain HTML, or in the place your framework sets metadata, which each framework tab shows.

Can I reuse one set of tags across my whole site?

Give every page its own title, description and og:url. A shared image is fine, but per-page images earn more clicks.

Does the generator store what I type?

No. The code is built in your browser. Only the optional prefill sends the URL you enter to the scanner.

Why is my image not showing after I added the tags?

Most often the image URL is relative, blocked, or too heavy. The scanner checks all three and tells you which one.