See how your link will look when you post it on X. Check which meta tags X reads, and fix your card before you share it.
Enter a URL. The tool fetches the page, reads its Twitter and Open Graph meta tags, and shows the card the way X shows it.

Click the name, handle or comment to edit them. Click the photo to change it.
A Twitter card is the preview that X shows when someone posts a link. Instead of a bare URL, people see an image, a title and the name of your site.
X builds the card from meta tags in the <head> of your page. If the tags are missing or wrong, your link shows as plain text, or with the wrong image, and gets fewer clicks.
X has four types of card:
summary_large_image): a wide image with the title on it. Use this for most pages.summary): a small square image beside the title and description.player): a video or audio player in the post.app): a link to download a mobile app.Add these tags inside the <head> of each page. Change the values for each page, and use a full URL for the image.
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@yourbrand">
<meta name="twitter:title" content="Your page title">
<meta name="twitter:description" content="A short summary of the page.">
<meta name="twitter:image" content="https://www.example.com/images/card.jpg">
<meta name="twitter:image:alt" content="What the image shows">twitter:cardsummary_large_image for a large image, or summary for a small one. X needs this tag.twitter:sitetwitter:titletwitter:descriptiontwitter:imagetwitter:image:altIf your pages already have Open Graph tags, you only need twitter:card. X uses og:title, og:description and og:image when the Twitter tags are missing. The preview tool above shows which tag X uses for each field.
Use the right size, and X shows your image sharp and without awkward cropping.
| Card type | Recommended size | Aspect ratio | Minimum size | Maximum file size |
|---|---|---|---|---|
| Summary card with large image | 1200 × 630 px | 1.91:1 (up to 2:1) | 300 × 157 px | 5 MB |
| Summary card | 800 × 800 px | 1:1 | 144 × 144 px | 5 MB |
https://. X does not read relative paths such as /images/card.jpg.The X Card Validator no longer shows previews. X removed the preview in 2022. This tool does the same check: enter your URL, and it shows your card the way X shows it. It also lists the meta tags that X reads, and the ones that are missing.
The common problems with Twitter cards, and how to fix them
X needs at least a title to build a card. Check that the page has a twitter:title or og:title tag, and a twitter:card tag. Preview the URL above: the Tags X will use panel shows which tags X found. Also check that the tags are in the HTML that the server sends. X does not run JavaScript, so tags that a script adds after the page loads are not seen.
The usual causes are:
/images/card.jpg). Use the full URL, with https://.robots.txt blocks the image path.X caches the card for a link, usually for about seven days. After you change your tags, the old card can stay. To get a new card now, post the link with a query string added, for example https://www.example.com/page?v=2. X sees this as a new URL and fetches the page again. The X Card Validator no longer shows previews or clears the cache.
Set <meta name="twitter:card" content="summary_large_image">. If the twitter:card tag is missing, or its value is summary, X shows the small summary card with a square image.
Yes. X fetches the page with a crawler called Twitterbot, and it obeys robots.txt. Make sure that robots.txt does not block Twitterbot from the page or from the image. Bot protection (for example a challenge page from your CDN), login walls and long redirect chains also stop the crawler.
Yes. When a twitter:* tag is missing, X uses the Open Graph tag for the same field: og:title, og:description and og:image. If your pages already have Open Graph tags, you only need to add twitter:card.
Yes. The tool is free, with no signup and no limit. Enter any public URL to see its card.
Design one template, and Bannerbear makes a custom card image for every page of your site, with its own title, author and photo.
A card with a custom image gets more attention than a generic logo. But making an image by hand for every blog post or product is slow. Bannerbear fills your template with the page's data, and gives you an image URL to put in twitter:image and og:image.
Step-by-step guides:
Sharing on other networks too? Check your link with the Facebook preview tool and the LinkedIn preview tool.
Need an image for your link? Make one in your browser with the free Open Graph image generator.
Start a free trial with 30 API credits, no credit card required

