Back to SEO Tools

Twitter Card Generator

Generate Twitter Card meta tags for rich tweet previews

Settings
Output (HTML)Ready ✓

What are Twitter Cards?

Twitter Cards are meta tags that control how your content appears when shared on Twitter/X. They turn ordinary links into rich media experiences with images, titles, and descriptions directly in the tweet — increasing click-through rates and engagement.

There are four card types: Summary (small image), Summary Large Image (large banner image), App (mobile app install), and Player (video/audio).

Card Properties Reference

PropertyRequiredDescription
twitter:cardYesCard type: summary, summary_large_image, app, or player
twitter:siteYesTwitter @username of the website
twitter:titleYesTitle of the content (max 70 chars)
twitter:descriptionNoDescription of the content (max 200 chars)
twitter:imageYes¹URL of the image. Min 120×120px, max 4096×4096px
twitter:creatorNoTwitter @username of the content creator
twitter:app:id:iphoneYes²Numeric App Store ID for iPhone
twitter:app:url:iphoneNoCustom URL scheme for iPhone app
twitter:app:id:ipadYes²Numeric App Store ID for iPad
twitter:app:url:ipadNoCustom URL scheme for iPad app
twitter:app:id:googleplayYes²Package name for Google Play (e.g. com.example.app)
twitter:app:url:googleplayNoGoogle Play URL for the app
twitter:app:countryNo³Two-letter country code if app is not in US App Store

¹ Required for Summary and Summary Large Image cards.

² Required if the corresponding platform app is being promoted.

³ Required only if the app is not available in the US App Store.

How to Implement

Add the generated <meta> tags to the <head> section of your HTML. The most common setup uses twitter:card, twitter:title, twitter:description, and twitter:image. You can validate your cards using Twitter's Card Validator tool.