FreeMeta & Tags tool

Twitter Card Generator

Choose a card type, type in the title, description, image URL and your @ handles, and the twitter: meta tags build themselves below the form. Copy the block and paste it into the head of the page you want to share on X.

4 card typesSkips empty fieldsRuns in your browser

Updated · by the Linkstonic team

linkstonic.com/tool/twitter-card-generatorLive
How it works

What ends up in the tag block

The generator is a form that writes markup. It doesn't fetch your page or check the image, so it helps to know exactly what it does with each field.

01

Card type

The dropdown starts on summary_large_image and also offers summary, app and player. Because a card type is always selected, twitter:card is the one tag you get even before you type anything else.

02

Empty fields drop out

Only fields with a value become tags. Leave the creator handle blank and there is no twitter:creator line at all, rather than an empty content attribute. The order is fixed: card, title, description, image, site, creator.

03

Handles are written as typed

The @site and @creator boxes don't add the @ for you or check the account exists. Type "@linkstonic", not "linkstonic" or a full profile URL, because whatever you enter goes straight into the content attribute.

04

No escaping

Text is dropped into content="..." as is. A title that contains a double quote, like 6" Chef Knife, will close the attribute early and break the tag. Swap straight double quotes for " or curly quotes before copying.

05

App and player cards

You can select app or player, but the form has no fields for twitter:player, player width and height, or the app store IDs those cards need. For those two types, treat the output as a starting point and add the rest by hand.

Worked example

A filled-in blog post card

Here is what we typed for a blog post, leaving the creator handle empty. The output below is exactly what the tool prints.

Input
Card type: summary_large_image
Title: How to fix redirect chains
Description: Find and flatten 301 hops that slow crawlers down.
Image URL: https://example.com/img/redirects-1200x600.png
@site handle: @examplebrand
@creator handle: (empty)
Output
5Meta tags printed
summary_large_imagetwitter:card
26 charsTitle length
50 charsDescription length
Omittedtwitter:creator

The tool doesn't count characters, we did. Both lengths sit well under the 70 and 200 character limits X documents for card titles and descriptions.

Reference

Card tags and their limits

These are the values X documents for its cards. The generator doesn't enforce any of them, so check them yourself.

TagUsed forLimit or format
twitter:cardCard typeRequired. summary, summary_large_image, app or player
twitter:titleHeadline on the cardUp to 70 characters
twitter:descriptionText under the titleUp to 200 characters
twitter:image (summary)Square thumbnail1:1 ratio, at least 144x144 px
twitter:image (large)Wide banner image2:1 ratio, at least 300x157 px
twitter:imageFile rulesUnder 5 MB, JPG, PNG, WEBP or GIF
twitter:site / creatorBrand and author accounts@username format

If a twitter: tag is missing, X falls back to the matching Open Graph tag (og:title, og:description, og:image) when the page has one.

Twitter Card Generator illustration: a tag icon next to a sample result card with meta tags printed and twitter:card rows
Twitter Card Generator, sample result
Our take

Do you still need twitter: tags?

Less than you might think. X reads Open Graph tags when the twitter: versions are missing, so a page with good og:title, og:description and og:image already gets a decent card. The tag you can't get from Open Graph is twitter:card itself, and without it you usually get the small summary layout instead of the big image.

So my minimum is one line: twitter:card set to summary_large_image, plus solid OG tags. Add twitter:title and twitter:description only when you want different wording on X than on Facebook or LinkedIn, for example a punchier headline.

The most common failure is the image, not the tags. Relative paths, images behind a login, a CDN that blocks bots, or a file over 5 MB all lead to a card with no picture. None of this affects Google rankings or AI answers directly. Cards only change how the link looks when people share it.

Practical tips

Before you paste the tags live

A card that renders wrong is usually a small mistake. Run through these first.

  1. 01

    Use an absolute https URL for the image. X won't resolve a path like /img/card.png against your domain.

  2. 02

    Make the large-image file 1200x600 or similar 2:1 size so X doesn't crop the text in your graphic.

  3. 03

    Check the title and description for straight double quotes, since the generator won't escape them for you.

  4. 04

    Put the tags in the server-rendered head. Tags added later by JavaScript are often missed by the card fetcher.

  5. 05

    After you publish, paste the link into a draft post on X to see the preview. X caches cards, so changes can take a while to show.

Twitter Card Generator tips illustration: a checklist card that starts with "Use an absolute https URL for the image" and "Make the large-image file 1200x600 or"
Twitter Card Generator, checklist
Our customers

How we help marketers win

01techventuresShare of voice
02northlineReporting time
03arclabsAI mentions
FAQ

Twitter Card Generator questions

01What is a Twitter Card?

It is the preview box X shows when someone posts a link: a title, a short description, an image and sometimes the site's handle. X builds it from twitter: meta tags in the page head, or from Open Graph tags if those are all it finds.

02Should I choose summary or summary_large_image?

For articles, product pages and anything with a strong visual, summary_large_image. It shows a wide image across the full card. Use summary when you only have a square logo or icon, since a small image stretched to 2:1 looks blurry.

03Why is my card not showing an image?

Usually the image URL is relative, blocked by robots.txt or a firewall, over 5 MB, or the wrong format. Check that the full https URL opens in a private browser window. X also caches cards, so an old version can linger after a fix.

04Do I need both Open Graph and Twitter tags?

Not strictly. X falls back to Open Graph for the title, description and image, so OG tags plus a single twitter:card line covers most pages. Add separate twitter: tags when you want the X preview to differ from other networks.

05Does the generator send my data anywhere?

No. The tags are assembled in your browser as you type, and the copy button uses your clipboard. Nothing you enter is sent to Linkstonic.

Beyond one-off checks

See how your pages do in Google and AI answers

Linkstonic tracks rankings, audits your site and shows whether ChatGPT, Gemini and Perplexity mention you. The free plan needs no credit card.