- Home
- Tools
- Marketing
- Meta Tag Generator
- Twitter Card Generator
Twitter Card Generator
Pick the card type, fill in the title, description and image, and copy the twitter: tags that X reads when the page is shared.
What the card shows
0 characters. X allows 70.
0 characters. X allows 200, and its phone apps leave the description out.
A full address is required. A large image card is 2:1, a summary card is square.
Roughly how the shared link looks
example.com
The title of the page
The description, cut off after a line or two.
Every app crops the image and trims the text a little differently.
What a Twitter card needs
X still reads the twitter: tags from before it was renamed. Its card reference lists these for the two common cards:
| Tag | Required | What it does |
|---|---|---|
twitter:card | yes | summary_large_image for a wide picture above the text, summary for a small square one beside it. |
twitter:title | yes | The headline of the card, 70 characters at most. |
twitter:description | no | A summary of up to 200 characters. The phone apps do not show it. |
twitter:image | no | The picture, as a full URL. |
twitter:site | no | The @name of the site the card is credited to. |
A title is required, but it does not have to come from a twitter: tag. For the title, the description and the image, X falls back to og:title, og:description and og:image when its own version is missing. On a page that already has Open Graph tags, twitter:card is the only line you need to add. This page writes all of them, for pages that have none.
The image
| Large image card | Summary card | |
|---|---|---|
| Shape | 2:1 | 1:1, cropped to a square |
| Smallest | 300 × 157 | 144 × 144 |
| Largest | 4096 × 4096 | 4096 × 4096 |
The file has to be under 5 MB, as JPG, PNG, WebP or GIF. An animated GIF shows its first frame only, and SVG is not accepted.
A picture made for Open Graph at 1200 × 630 is slightly taller than 2:1. On a large card about 30 pixels of its height fall outside the frame, so keep text and logos away from the top and bottom edge.
Getting X to read the page again
According to X's documentation, a card is kept for 7 days after a link to the page was first posted. A common way around the wait is to share the address with a parameter added to it, which X treats as a page it has not seen before.
The meta tag generator writes these tags together with the title, description, canonical and robots tags of a page.