Twitter (X) card preview
This tool shows how a link will appear when posted on X (formerly Twitter) and generates the matching twitter: meta tags to paste into your page. It is for developers, marketers, and content creators making sure shared links look right before they go live.
How it works
You pick a card type and fill in the title, description, URL, and image. The tool renders a close approximation of X’s layout for the chosen card and derives the display domain from your URL (stripping www.). It then assembles the standard tags:
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="…" />
<meta name="twitter:description" content="…" />
<meta name="twitter:url" content="…" />
<meta name="twitter:image" content="…" />
The two card types differ in layout: summary shows a small square thumbnail beside the text, while summary_large_image shows a full-width image above the text. Keep the title under ~70 characters and the description under ~200, as X truncates longer text.
Example
A summary_large_image card with the title “Beginner Running Shoes — 2026 Buyer’s Guide” and a 1200×628 image renders as a wide banner with the headline and description below and the domain (for example example.com) shown. The generated tags drop straight into your <head>.
X falls back to your Open Graph tags if the Twitter tags are missing. Everything runs locally in your browser.