Twitter Card Generator

Create Twitter/X Card meta tags for link previews, with the card type, title, description and image that you choose, ready to paste into your head.

Preview

Image preview
Page title
Description preview
Did this tool help? Rate it Be the first to rate this tool

What Twitter Card Generator does

X (formerly Twitter) reads its own card markup separately from standard Open Graph tags, so a link can have perfect Open Graph tags and still show a plain, imageless preview when shared there. This tool generates the Twitter Card meta tags needed for a proper preview, with a live preview panel so you can check the layout before publishing.

How to generate a Twitter Card

  1. Choose a card type: Summary with large image for a prominent photo-led preview, or Summary for a smaller thumbnail alongside the text.
  2. Enter your site's @handle, a title, description and image URL.
  3. Check the live preview, then copy the generated tags into your page's <head>.

Choosing a card type

Summary with large image suits visual content โ€” blog posts, products, anything where the image itself draws attention. Plain Summary suits pages where the image is secondary to the text, such as a tool or a utility page, and keeps more room for the title and description in the preview.

Common uses

  • Blog and news links that need an eye-catching preview to stand out in a feed.
  • Product and landing pages shared in a marketing campaign.
  • Fixing a flat, imageless preview noticed after sharing a link on X.

Twitter cards

  • Choose a card type such as summary or large image.
  • Use a clear image and title.
  • Test how it looks.

Choosing a card type

Use summary_large_image for a wide image above your title, or summary for a small square thumbnail. Add twitter:title, twitter:description and twitter:image. If a Twitter tag is missing, X can fall back to your Open Graph tags.

Image tips

  • Use about a 2:1 ratio for large cards.
  • Keep important content away from the edges.
  • Make sure the image URL is public and not blocked by robots.txt.

Related tools

Open Graph Tag Generator, Open Graph Checker, X / Twitter Bio Generator.

Frequently asked questions

Do I still need Open Graph tags if I add Twitter Card tags?

Yes โ€” keep both. Twitter Card tags control the preview specifically on X; every other platform still relies on standard Open Graph tags.

What's the difference between the two card types?

Summary with large image shows a wide, prominent photo above the text; plain Summary shows a small square thumbnail beside the text โ€” better when the image matters less than the headline.

Why does my card still show the old preview after I updated the tags?

X caches link previews. Use X's own Card Validator tool to force it to re-fetch and refresh the cached preview for that URL.

Is the @handle field required?

It's optional but recommended โ€” it attributes the card to your account and can appear in the preview.

What image size works best?

Similar to Open Graph: an image close to a 1.91:1 ratio, ideally around 1200ร—630 pixels, crops cleanly across both card types.

Do I need both Open Graph and Twitter tags?

Twitter can fall back to Open Graph, but explicit tags give more control.

What image size works?

Large images work well. Check current guidance.

Do I need both Twitter and Open Graph tags?

Open Graph tags alone often work, but adding Twitter tags gives you control over how the card looks on X.

More in Meta Tag & Social Tools