Control exactly how your links look on X
When a link is posted to X, the Twitter Card meta tags decide whether it appears as a flat URL or a polished card with an image, headline, and summary. This builder generates every tag X reads, lets you pick between the compact and large-image layouts, and shows a live preview so you can see the result before you ship.
How it works
The tool emits the Twitter Card tags in the order the crawler expects:
twitter:card—summaryorsummary_large_image.twitter:titleandtwitter:description— the headline and summary text.twitter:imageandtwitter:image:alt— the preview image and its accessible description.twitter:siteandtwitter:creator— the publisher and author@handles(the tool normalises them to start with@).
The live preview mirrors how X lays out each card type: a square thumbnail on the left for summary, or a full-width banner on top for summary_large_image. All values are HTML-escaped so quotes and ampersands in your copy cannot break the markup.
Tips and example
- Default to
summary_large_imagefor anything visual — it occupies more feed space and earns more clicks. - Keep titles under about 70 characters and descriptions under about 200; X truncates beyond that.
- Always host the image at a public
httpsURL. Images behind auth, onhttp, or blocked by robots will not render. - Use the official Card Validator after deploying to force a fresh crawl and confirm the card looks right.