Skip to content
toolgrid

No tool found. Try another word.

Twitter Card Generator

Generate Twitter Card meta tags for link previews on X: summary or large image, title, description, image and @handles, with a preview.

Preview
Result

Runs in your browser. What you enter is kept for 30 days to improve Toolgrid, then deleted.

How to use the Twitter Card Generator

  1. 1 Choose the card type and fill in title, description and image.
  2. 2 Add the @handles of the site and author if you have them.
  3. 3 Copy the tags into the <head> of your page.

About the Twitter Card Generator

Twitter Cards decide how a link looks when it's posted on X (formerly Twitter). The summary card shows a small square image next to the title; summary_large_image shows a wide image above it, which usually gets more attention.

The generator writes twitter:card, twitter:site and twitter:creator (with an @ added if you leave it out), twitter:title, twitter:description, twitter:image and twitter:image:alt. X also reads Open Graph tags, so if your page already has og:title, og:description and og:image you mainly need twitter:card and the handles.

Large-image cards look best with images of 1200 × 628 pixels (2:1); small summary images are shown square, so keep the subject centred. Images must be publicly reachable, under 5 MB and in JPG, PNG, WebP or GIF format.

Frequently asked questions

Which card type should I use?

summary_large_image for articles, products and anything with a strong image; summary when you only have a logo or small image.

Do I need both Twitter and Open Graph tags?

Not necessarily. X uses Open Graph as a fallback, so twitter:card plus Open Graph tags is enough for most pages.

What image size works best?

1200 × 628 pixels for large images; at least 144 × 144 for the summary card.

Why doesn't my card show?

Check that the image URL is absolute and public and the page is not blocked for X's crawler (Twitterbot) in robots.txt.