About the Twitter Card Preview
Twitter Card Preview is a quick way to draft how a link to your page could look on X (formerly Twitter). Choose between the large image and summary layouts, type your title and description while character counters keep you within X's limits, and copy a ready block of twitter: meta tags.
How it works
The tool writes five tags from your input: twitter:card (summary_large_image or summary), twitter:site (your handle), twitter:title, twitter:description and twitter:image. The counters compare your title with 70 characters and your description with 200, which match the maximums X documents for these fields, and the number turns red once you go over.
The preview takes the domain from your URL, shows it above the title, and clamps the title and description to two lines each, much as a real card does. An image you choose is read in the browser as a data URL just to display it; the twitter:image tag is filled with a placeholder path on your domain, which you should replace with the image's absolute public URL.
How to use
- 1
Choose a Card type: Large image or Summary.
- 2
Enter a Title and Description, keeping an eye on the 70 and 200 character counters.
- 3
Add the page URL and your Twitter/X handle (for example @yoursite).
- 4
Enter the full URL of the card image, or upload a picture just to see it in the preview.
- 5
Click Copy meta tags and paste them into your page's <head>. Copy the page link to share the draft.
Worked examples
Blog post with a banner image
A writer wants a wide card for a new article.
Title that runs long
A product name plus tagline pushes the title past the limit.
X may cut the title short in the card, so trimming it to 70 characters or fewer keeps it readable.
Frequently asked questions
What's the difference between summary and summary_large_image?+
Summary shows a small square thumbnail beside the title and description. Summary_large_image shows a wide image across the top of the card with the text underneath.
How long can a Twitter card title and description be?+
X documents a maximum of 70 characters for the title and 200 for the description. The counters in this tool turn red once you exceed those numbers.
Do I still need Twitter tags if I have Open Graph tags?+
X reads og:title, og:description and og:image when the twitter: versions are missing, but you still need twitter:card to choose the layout.
What goes in twitter:site?+
The @username of the website or brand that owns the page, for example @yoursite.
Why isn't my card showing up on X?+
Common causes are a missing twitter:card tag, an image URL that isn't absolute or publicly reachable, or a robots.txt rule that blocks X's crawler from the page or image.