Remove Ads

Twitter Card Generator

Twitter Card Generator builds the meta tags that control how a page appears when shared on X, formerly Twitter. Choose a card type, fill in the fields and copy the markup into your page head.

Remove Ads
Remove Ads

Result

Share this page:

Twitter Card Generator builds the meta tags that control how a page appears when shared on X, formerly Twitter. Choose a card type, fill in the fields and copy the markup into your page head.

Why use Twitter Card Generator

  • Add a large preview image to links shared from a blog or product page.
  • Set the correct attribution account for a brand's social shares.
  • Configure an app card for a mobile app landing page.

Running Twitter Card Generator step by step

  1. Choose a card type: Summary, Summary with Large image, App, Player or Product.
  2. Fill in the site username, title, description and image URL, plus app IDs if you selected an app card.
  3. Click Generate and copy the twitter meta tags into your HTML head.

Good to know before you start

Social platforms cache previews. Use the platform's preview tool or add a query string to the URL when checking a change.

Practical notes

Card previews are cached per URL. When you change an image or title, test with a fresh URL or use the platform's card validator, otherwise you may keep seeing the old preview.

Mistakes worth avoiding

  • Using a relative image path that the crawler cannot resolve.
  • Setting a description that is longer than the card layout can display.

FAQ

Which card type should I use?

Summary with Large image suits articles and products with a strong visual. Summary is better for text-first pages with a small icon.

What image size works best?

Use a landscape image of at least 1200 by 628 pixels and keep important content away from the edges.

Do I also need Open Graph tags?

Yes. X reads its own tags, while many other platforms use Open Graph. Publish both to control previews everywhere.