Post a link on X without card tags and you get the plainest possible result: a bare URL that most people scroll past. Add the tags and the same link becomes a card with a wide image, a title and a description, the format readers actually stop for. The difference is a handful of meta tags in the page head, but the details are easy to get subtly wrong, and a wrong detail usually fails silently.

This guide walks through adding the tags with the free Twitter Card Generator on Ovatly. The generator builds the meta tags that decide how a link looks when posted on X: card type, title, description, image and the site and creator handles. It also warns you about the common mistakes, such as a large-image card with no image, before you copy the tags.

Contents

  • Quick answer
  • What the tags control
  • Choosing the card type
  • The fields, one by one
  • How to build the tags, step by step
  • Worked example: a large-image card for an article
  • Limitations
  • Common mistakes
  • FAQs
  • Conclusion

Quick answer

Choose the summary_large_image card type for most articles and product pages, add your site handle (and the author's creator handle if it differs), enter the title, description and an absolute image URL, then copy the generated tags into the page head. Use the Twitter Card Generator so the warnings catch the usual slips, a missing image or a handle without its @, before the tags go live.

What the tags control

A Twitter card is assembled from a small set of fields. The card type sets the layout. The title and description are the words the reader sees. The image is the picture that fills the card. The site handle names the account the site belongs to, and the creator handle names the author, when the two are different accounts.

Each field has a failure mode. Leave the image empty on a large-image card and the post falls back to a plain card. Give a relative image URL instead of an absolute one and the image cannot be loaded. Drop the @ from a handle and the attribution is wrong. None of these produce an error message on your page; the post just looks worse, which is why generating the tags with warnings beats typing them from memory.

Choosing the card type

The generator offers the card types, and for most pages the choice is between two of them. Summary_large_image suits most content pages, because the wide image earns attention in the feed. Summary is the fallback for pages that only have a small square image, such as a logo, where a wide crop would look wrong.

The other two types exist for narrower jobs. App cards promote a mobile app with store links, and player cards embed audio or video. Both need extra platform-specific fields, and player cards need approval from X, so most sites should stay with the summary types. Picking an app or player card without supplying its extra fields gives you a card that cannot render as intended.

The fields, one by one

Site and creator handles. The site handle is the account for the website; the creator handle is the author's own account, added when it differs. Both are written with the @ symbol, like @brewlab. The generator warns you if a handle is missing its @, because that is a frequent silent mistake.

Title and description. These carry the same discipline as any other page metadata: name the page truthfully and give the reader a concrete reason to open it. One relief here: X falls back to Open Graph tags when Twitter-specific tags are missing, so twitter:title and twitter:description are optional on pages that already have good OG tags. The card type and handles still need their own tags.

Image. The image URL must be absolute, the full address starting with the protocol, not a path relative to your site root. X documents size and file limits for card images, for example under 5 MB; check the current developer documentation for the exact limits before you ship an unusually large file.

How to build the tags, step by step

  1. Open the Twitter Card Generator.
  2. Choose the card type, usually summary_large_image for articles and product pages.
  3. Add the site handle and, if different, the author's creator handle.
  4. Enter the title, description and an absolute image URL.
  5. Read any warnings, check the preview mock, and copy the tags into the page head.

Worked example: a large-image card for an article

Take an article on a coffee site. Card type: summary_large_image. Site handle: @brewlab. Title: "Pour Over Coffee: A Complete Guide", with a description and the article's image URL filled in the same way.

The output starts with the card type and site tags, followed by the title, description and image tags:

<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@brewlab">
<meta name="twitter:title" content="Pour Over Coffee: A Complete Guide">
<meta name="twitter:description" content="...">
<meta name="twitter:image" content="https://...">

Now remove the image and generate again. The tool warns you, because a large-image card without an image falls back to a plain card when posted. That one warning is the difference between the share you designed and a bare-looking post, and it appears before the tags are copied, which is the only moment fixing it costs nothing.

Limitations

The preview in the generator is a text-only approximation. The image is not fetched, and X's real card rendering varies by client, so treat the preview as a check of the tags, not a photograph of the finished post. The generator also cannot test your live page: if a card fails to appear, the causes to check are the ones the tool cannot see, such as tags missing or invalid on the published page, an image URL that is blocked, or the page sitting behind a login. And because X caches cards, a fix can take a while to show on old posts even after the page itself is corrected.

Common mistakes

  • A large-image card with no image. It falls back to a plain card. The generator warns about this; do not copy past the warning.
  • A relative image URL. Card images must be absolute URLs. A path that works in your page's own markup will not load in a card.
  • Handles without the @. Write them like @brewlab. It is a frequent silent mistake, and the tool flags it only if you generate the tags with it.
  • Choosing app or player cards casually. Both need extra platform-specific fields, and player cards need approval from X. Without them, the card cannot work as intended.
  • Expecting old posts to update at once. X caches cards, so a corrected page can keep showing the old card on existing posts for a while.

FAQs

Summary or summary_large_image: which should I use? Summary_large_image suits most content pages because the wide image earns attention in the feed. Use summary when you only have a small square image, such as a logo.

Why does my card not appear when I post the link? Common causes: the tags are missing or invalid, the image URL is relative or blocked, or the page is behind a login. X caches cards, so fixes can take a while to show on old posts.

What are the app and player card types for? App cards promote a mobile app with store links, and player cards embed audio or video. Both need extra platform-specific fields and, for player cards, approval from X, so most sites should stay with the summary types.

Do the handles need the @ symbol? Yes, write them like @brewlab. The generator warns you if a handle is missing its @, because that is a frequent silent mistake.

Do I still need Twitter tags if my page already has Open Graph tags? X falls back to Open Graph tags when Twitter-specific tags are missing, so twitter:title and twitter:description are optional on pages that already have good OG tags. The card tags are still how you choose the card type and handles.

Conclusion

Card tags are five minutes of work that decide how every share of a page looks. Choose summary_large_image unless your only image is a small square one, write the handles with their @, give the image as an absolute URL, and let the Twitter Card Generator warn you about the slips before you copy anything. The same habit of checking before you publish applies to the file that controls your crawlers, covered in How to Test Your Robots.txt File Before It Blocks Google. The rest of the metadata toolkit is collected in the SEO Tools guides archive.