Developer tools

Twitter/X Card Meta Generator

Fill in your title, description, image and handle, preview the card live, and copy the meta tags for your page's head.

How to use the Twitter/X card generator

  1. Choose a card typePick summary for a small image, or large image for a full-width photo.
  2. Fill in your contentEnter a title, description, image URL and your site handle.
  3. Preview and copyCheck the live card preview, then copy the meta tags into your page.

Making your links look great when shared

Twitter/X Card tags control how your page appears when someone shares its link, turning a plain URL into a rich card with an image, title and description.

Summary card

A compact layout with a small square image next to the title and description, good for text-focused pages.

Large image card

A full-width image above the text, ideal for photos, product shots or graphics.

Site handle

Attributes the card to your account so readers know who shared it.

Open Graph fallback

Twitter/X also reads Open Graph tags, so keep both in sync for the widest compatibility.

Twitter/X Card Meta Generator FAQ

What is the difference between summary and large image cards?

A summary card shows a small square image beside the text, while a summary large image card shows a full-width image above the text, better suited to photos and graphics.

Do I still need Open Graph tags too?

Yes, Twitter/X falls back to Open Graph tags for any twitter: tag you don't set, so it's common to include both for the widest compatibility.

What image size works best?

A minimum of 300 by 157 pixels is required, but a large 1200 by 630 pixel image is recommended for the summary_large_image card type.

Is the site handle required?

No, it's optional, but including it attributes the card to your account when it's shared.

Where do these tags go?

Paste them inside the head section of the page you want the card to represent.

Try other free tools

More handy tools from My Panda Toolbox.