Generador de Twitter Card

Crea meta tags Twitter/X Card para vistas previas de enlaces, con el tipo de tarjeta, título, descripción e imagen que elijas, listos para pegar en el head.

Preview

Image preview
Page title
Description preview

What Twitter Card Generator does

X (formerly Twitter) reads its own card markup separately from standard Open Graph tags, so a link can have perfect Open Graph tags and still show a plain, imageless preview when shared there. This tool generates the Twitter Card meta tags needed for a proper preview, with a live preview panel so you can check the layout before publishing.

How to generate a Twitter Card

  1. Choose a card type: Summary with large image for a prominent photo-led preview, or Summary for a smaller thumbnail alongside the text.
  2. Enter your site's @handle, a title, description and image URL.
  3. Check the live preview, then copy the generated tags into your page's <head>.

Choosing a card type

Summary with large image suits visual content — blog posts, products, anything where the image itself draws attention. Plain Summary suits pages where the image is secondary to the text, such as a tool or a utility page, and keeps more room for the title and description in the preview.

Common uses

  • Blog and news links that need an eye-catching preview to stand out in a feed.
  • Product and landing pages shared in a marketing campaign.
  • Fixing a flat, imageless preview noticed after sharing a link on X.

How X decides which tags to use

X looks for its own twitter: tags first, and falls back to your Open Graph tags when a twitter tag is missing. That means a page with solid Open Graph tags often shows a decent preview already. Adding explicit Twitter Card tags gives you control over the card type and lets you set an image or title that differs from what other platforms show.

Tags this tool generates

  • twitter:card sets the layout, either summary or summary_large_image.
  • twitter:title and twitter:description set the text shown in the card.
  • twitter:image sets the picture. Use a full https URL to an image that loads publicly.
  • twitter:site attributes the card to your account handle.

Tips for better-looking cards

Keep the title under about 70 characters so it is not truncated, and write the description as a reason to click rather than a repeat of the title. Keep important text and faces away from the edges of the image, because the large-image card crops to a wide ratio. After publishing, share the link in a draft post to confirm the preview looks the way you expected.

Free vs paid

Writing these tags is simple enough that a free generator covers the job completely. Paid social-media suites help with scheduling and analytics, but they do not give you better card markup. Where a paid tool can help is checking the tags across a large site, which this single-page generator is not designed for.

Preguntas frecuentes

Do I still need Open Graph tags if I add Twitter Card tags?

Yes — keep both. Twitter Card tags control the preview specifically on X; every other platform still relies on standard Open Graph tags.

What's the difference between the two card types?

Summary with large image shows a wide, prominent photo above the text; plain Summary shows a small square thumbnail beside the text — better when the image matters less than the headline.

Why does my card still show the old preview after I updated the tags?

X caches link previews. Use X's own Card Validator tool to force it to re-fetch and refresh the cached preview for that URL.

Is the @handle field required?

It's optional but recommended — it attributes the card to your account and can appear in the preview.

What image size works best?

Similar to Open Graph: an image close to a 1.91:1 ratio, ideally around 1200×630 pixels, crops cleanly across both card types.

Do Twitter Card tags affect SEO rankings?

No. They only control how a link looks when shared on X. They do not directly influence search rankings, though a better-looking preview can lead to more clicks and shares.

Where do the generated tags go?

Paste them inside the head section of the page you want to share, next to your existing meta tags. Each page that needs its own preview needs its own set of tags.

Más en Meta Tag & Social Tools