Twitter Card Generator

Create Twitter/X Card tags for link previews.

Preview

Image preview
Page title
Description preview

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.

الأسئلة الشائعة

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.

المزيد في Meta Tag & Social Tools