The two card styles
| Option in the tool | twitter:card value | Looks like | Choose it when |
|---|---|---|---|
| Large image | summary_large_image | A wide picture above the title and description | You have a strong photo or graphic, such as a finished job or an event poster |
| Small square image | summary | A small square thumbnail beside the text | The image is a logo or the words matter more than the picture |
Making a card
Choose the card size
In the X (Twitter) card box pick Large image or Small square image. The preview changes shape straight away.
Fill in title and description
Keep the title short enough to read at a glance; the preview truncates it to one line.
Give a full image address
It must start with
https://. The preview shows the file name rather than loading the picture.Add your handle
Type it with or without the @; the tag always gets exactly one.
Copy the tags
Paste them inside the page's head, or download
social-tags.html.
Example: a small square card for an accountant's guide
A bookkeeping practice (fictional) shares a guide whose image is just its logo, so the square card suits it. The handle was typed with its @, and the output still has a single one. The Open Graph lines above are written too, which is what LinkedIn and WhatsApp read.
Title: Making Tax Digital for sole traders: what changes in April Description: A one-page summary of the new quarterly updates and who they apply to. Page URL: https://www.ledgerlane.example/guides/mtd-sole-traders Image URL: https://www.ledgerlane.example/img/logo-square.png X (Twitter) card: Small square image X account: @ledgerlane
<meta name="twitter:card" content="summary"> <meta name="twitter:site" content="@ledgerlane"> <meta name="twitter:title" content="Making Tax Digital for sole traders: what changes in April"> <meta name="twitter:description" content="A one-page summary of the new quarterly updates and who they apply to."> <meta name="twitter:image" content="https://www.ledgerlane.example/img/logo-square.png">
Is it still worth bothering with X cards?
For many small B2B firms, X is a minor channel next to LinkedIn and email. The tags cost nothing, though, and the same block covers both: X falls back to Open Graph values for title, description and image, while the twitter:card line is what sets the large or small layout. If you post links on X at all, or your customers do, it is worth having.
The more important habit is the image. A share image of at least 1200 × 630 px with the key detail in the middle will look right as a large card, as a cropped thumbnail and in messaging apps.
Questions people ask
What is a Twitter card?
A preview X shows under a post that contains a link: an image, a title and a short description taken from tags in the linked page. The twitter:card tag chooses the layout, either summary for a small square image or summary_large_image for a wide one. Without any tags, the link may show as plain text.
Do I need twitter: tags if I already have Open Graph tags?
X reads Open Graph title, description and image when its own tags are missing, but it needs twitter:card to know which layout to use. Adding the full set keeps things explicit. This generator writes both Open Graph and twitter: tags from the same fields, so they never disagree.
What does twitter:site do?
It names the X account of the website, such as @ledgerlane, and may be shown with the card. It is optional. If you have no X account, leave the field empty and the tag is left out of the output rather than written blank.
Why does my card not appear when I post the link?
Check that the page is public, the image address is a full https link that opens without a login, and the tags are in the raw HTML rather than added by script. X also caches cards, so a change can take a while to show. Posting the link again later usually picks it up.
Where your data goes
Card tags are written on this page from what you type, and the image is named rather than downloaded. Nothing is posted to X or sent to any server.
Checked against the tool on