Open Graph & Twitter Card Generator

Fill in your page's title, description, image and link, and get ready-to-paste social meta tags, with a live preview of how the link card will look when shared.

SEO & Web Tools Runs in your browser Free, no sign-up Live card preview
Tags0
Share preview
No image yet

How to create social sharing tags

  1. Fill in the formTitle, description, page URL, image URL and site name. Counters warn you when text is likely to be cut off.
  2. Check the previewThe card shows roughly how your link will look on Facebook, LinkedIn, WhatsApp and X.
  3. Copy the tagsPaste them inside the <head> of your page, or into your CMS's custom head code. Special characters are escaped for you.

What each tag does

og:title and og:description
The headline and summary shown on the link card. They can differ from your Google title.
og:image
The picture on the card; the most eye-catching part of a shared link.
og:url
The canonical address of the page, so shares of different versions are counted together.
og:type and og:site_name
What kind of content it is, and your brand name.
twitter:card
Whether X shows a large image card or a small square thumbnail. X falls back to the Open Graph tags for title, description and image.

Choosing the share image

  • Use 1200 × 630 pixels (a 1.91:1 ratio) for large cards; keep important text away from the edges.
  • Keep the file under about 5 MB, in JPG, PNG or WebP. Resize it with the image resizer and compressor.
  • Use a full https:// URL that's publicly reachable, not a local file path.
  • Add alt text describing the image for people using screen readers.

See the right sizes for every platform in our social media image sizes guide.

After you add the tags

Publish the page, then check it with the Meta Tag Previewer by pasting your page's HTML. Social networks cache link cards, so if you change the tags later, use the platform's own sharing debugger (for example Facebook's Sharing Debugger or LinkedIn's Post Inspector) to refresh the preview. Remember that these tags control how links look when shared; your Google title and meta description are separate tags.

Frequently asked questions

What size should an Open Graph image be?

1200 × 630 pixels works well everywhere. Smaller images may show as a small thumbnail instead of a large card.

Do I need separate Twitter tags?

X reads Open Graph tags as a fallback, but twitter:card is needed to choose the large image layout. This generator includes both.

Why doesn't my new image show when I share the link?

Social networks cache previews. Use the platform's sharing debugger to fetch the page again.

Do these tags help my Google ranking?

Not directly, but attractive link cards get more clicks and shares, which helps your content reach more people.

More seo & web tools tools