X (Twitter) Card Preview
Preview summary and summary_large_image cards for X, paste page source to fill the tags, and check title, description, image and site against documented limits.
About X (Twitter) Card Preview
The X Card Preview shows how a link may look when shared on X, as a summary or a large image card, and checks the tags against X's documented limits.
Paste the source
Fill the tags from your page's HTML. Open Graph tags are used where twitter: tags are missing, as X does.
Length warnings
Titles and descriptions over the limits are flagged before they get cut.
Check your image
Pick the image file to preview it in the card, and add image alt text for accessibility.
Good to know
It does not contact X or clear X's cache; after publishing, X may take time to show changes.
Private
Everything runs in your browser. Nothing you paste is uploaded or fetched.
Card types
summary shows a small square image beside the title, and summary_large_image shows a wide image above it. player is for video and audio.
Image sizes
For summary_large_image, use a 2:1 image such as 1200 x 600 pixels. For summary, use a square image of at least 144 x 144 pixels.
How to use the image preview
The tool cannot load the image from its URL because the page does not fetch other sites. Pick a local copy of the image in the preview image box and the tool shows how it is cropped on the card; the file stays on your device. Use a picture around 1200 by 630 pixels for the large card and keep the important part in the centre.
Fields and checks
Card type, title, page URL, description, image URL, site account (twitter:site) and image alt (twitter:image:alt). The checks cover title and description length, whether an image is set and uses https, whether the site account is given and whether alt text is present (the tool mentions a 420-character maximum for alt text; check X's current documentation). Missing optional tags appear as notes, not errors.
What it does not do
It does not call X, does not show the real card from X, does not clear X's cache and does not validate images or app and player tags. Platforms restyle cards and cache scraped pages, so a link already shared may keep an old preview for a while. The preview is a layout approximation, as the page itself says.
Who it is for
Bloggers, shop owners and developers who want to see a card before publishing, and anyone debugging why a link looks wrong. Privacy: pasted source and local images stay in your browser. Pair it with the Meta Tag Generator for the tags themselves.
How to use X (Twitter) Card Preview
- Choose the card type.
- Paste the page source, load the example or type the fields.
- Pick a local image to see the crop.
- Read the warnings, passed checks and notes.
Help & FAQ
Do twitter: tags still matter?
X supports twitter:* tags and can use matching Open Graph values as fallbacks for fields such as title, description and image. A twitter:card tag still chooses the card type.
What are the limits the tool checks?
Title 70 characters and description 200 characters, plus image presence and https. In the test 71 and 201 characters each gave a warning.
Which card types can we preview?
summary and summary_large_image. App and player cards need extra metadata, so the tool only shows a note for them.
Why can't the tool show our image from its URL?
It does not fetch other websites. Choose a local copy of the image to see the crop, and the file stays on your device.
How do we load tags from our page?
Open the page source with View Source or save the page as HTML, then paste it into the box or use Open file. The tool lists the tags it found.
What if we have only Open Graph tags?
X falls back to og:title, og:description and og:image. The tool says so in a note and uses them in the preview.
What image size should we use?
About 1200 by 630 pixels is a common choice for a large card. Check X's current developer documentation for the size, format and file-size requirements of your card type.
Does it need an https image URL?
Yes, https is recommended. An http:// URL gave a warning in the test.
Why do we get a note about alt text?
twitter:image:alt describes the picture for accessibility. It is optional, but the tool recommends it with up to 420 characters.
Will the real card look exactly like this?
No. It is an approximation. Each platform restyles cards and caches scraped pages.
Can it refresh the card on X?
No. The tool cannot call X or clear its cache.
Is our page source uploaded?
No. Pasted text and chosen images stay in your browser.