Map Extract
Free tool

X (Twitter) card generator

Pick the card style, fill in the title, description, page address and image, and add your X handle if you have one. The preview switches between a wide image card and a small square one, and the code includes matching Open Graph tags so other apps show the same thing.

Runs in your browser. Nothing you enter is uploaded.

The two card styles

Option in the tooltwitter:card valueLooks likeChoose it when
Large imagesummary_large_imageA wide picture above the title and descriptionYou have a strong photo or graphic, such as a finished job or an event poster
Small square imagesummaryA small square thumbnail beside the textThe image is a logo or the words matter more than the picture

Making a card

  1. Choose the card size

    In the X (Twitter) card box pick Large image or Small square image. The preview changes shape straight away.

  2. Fill in title and description

    Keep the title short enough to read at a glance; the preview truncates it to one line.

  3. Give a full image address

    It must start with https://. The preview shows the file name rather than loading the picture.

  4. Add your handle

    Type it with or without the @; the tag always gets exactly one.

  5. 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.

Input
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
Result
<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

Top