See exactly how your page will look when shared on Twitter/X, or build the twitter:card meta tags from scratch if you don’t have any yet. Fetch a live URL to pull existing tags, or fill in the fields manually and copy ready-to-paste meta tag code straight into your page’s
.Approximate Twitter / X card preview
Copy these meta tags into your page’s <head>
Want more people to find your site?
MiinDigital helps small businesses rank on Google and get cited in AI answers from ChatGPT, Perplexity and Google AI Overviews.
See our SEO & GEO servicesHow to Use the Twitter/X Card Preview Tool
- Choose a mode: use “Fetch from URL” if the page already has meta tags, or “Build Manually” if you’re creating them from scratch.
- Fetch mode: paste a live URL and click “Fetch & Preview.” The tool reads the page’s twitter:card tags (falling back to Open Graph tags if needed) and fills in the preview automatically.
- Manual mode: pick a card type, then fill in the title, description, image, and handles. The preview and generated code update as you type.
- Check the Card Preview tab to see how the card will render on Twitter/X.
- Copy the code from the “Meta Tag Code” tab and paste it into your page’s
<head>. - Run the Audit: the “Audit” tab flags missing tags, oversized titles/descriptions, and other issues before you publish.
What Is a Twitter/X Card: and Why Does It Matter?
A Twitter Card (still called that even after the platform’s rebrand to X) is a rich preview that appears automatically when a link is shared on Twitter/X. Without card meta tags, a shared link shows as plain, unstyled text, with them, it shows a title, description, and image that make the post far more likely to get clicks.
- twitter:card: the card type.
summary_large_imageshows a big banner image;summaryshows a small square thumbnail beside the text. - twitter:title: the headline in the card. Keep it under 70 characters so it doesn’t get cut off.
- twitter:description: supporting text under the title. Keep it under 200 characters.
- twitter:image: the card image. Use an absolute HTTPS URL; falls back to
og:imageif not set. - twitter:site: your brand’s @handle, attributes the card to your account.
- twitter:creator: the individual author’s @handle, useful for blog posts and bylined content.
If a page already has Open Graph tags, Twitter/X will fall back to those for anything missing, but dedicated twitter:* tags give you more control, like using a different image or
a shorter, punchier title tuned specifically for X’s feed.
Frequently asked questions
Do I need both Open Graph tags and Twitter Card tags?
Not strictly, Twitter/X falls back to og:title, og:description, and
og:image for any twitter:* tag that’s missing. But adding dedicated
Twitter tags lets you fine-tune the card independently, which is worth doing on high-traffic
pages. You can check your Open Graph tags separately with our
Open Graph Preview Tool.
Why doesn’t the fetched image show up in the preview?
Some servers block cross-origin image requests or use a relative image path that doesn’t resolve outside the original page. The image URL is still filled into the “Build Manually” fields so you can inspect or fix it. If the image displays correctly on the live page, it will work fine when actually shared on X.
Why does fetching say “Could not fetch that URL”?
Some sites block automated requests or block the proxy service used to retrieve the page’s HTML.
If fetching fails, switch to “Build Manually” and view the page source yourself
(right-click → View Page Source) to copy the existing twitter:* tag values.
What’s the difference between summary and summary_large_image?
summary_large_image displays a wide banner image above the text, best for
blog posts, articles, and anything where the image is the main draw. summary
shows a small square thumbnail beside the text, which suits things like profile links or
text-heavy content where the image is secondary.
Does the twitter:site handle need the @ symbol?
No, this tool adds the @ automatically in the generated code if you leave it out.
You can type either @yourbrand or just yourbrand.
Will this tool work on pages behind a login?
No. Fetch mode retrieves pages as an anonymous visitor, so anything requiring a login or session won’t return correct data. Use “Build Manually” for those pages instead, copying the values from your browser’s page source while logged in.
Sources
- X Developer Platform, “Getting started with Cards“, accessed September 2026.
- Open Graph protocol, “The Open Graph protocol“, accessed September 2026.
Related free tools
- Open Graph & Social Preview Tool: Preview how a page looks when shared on Facebook, X and LinkedIn, and see which OG tags are missing.
- Free Meta Tag Generator: Write meta titles and descriptions at the right length and copy the ready-made tags.
- Google SERP Preview Tool: See how your title, description and URL will look in Google on desktop and mobile. Enter a live URL to fetch the page data.
- Robots.txt Generator: Create a robots.txt file, block AI crawlers like GPTBot, add your sitemap and download the file.
- See all free tools for marketers
