Skip to content
ToolZone

Twitter Card Preview

Preview exactly how your page will look when shared on Twitter/X, including summary and large-image card styles.

Runs in your browser. Nothing you enter or upload leaves your device.

31/70
78/200
Preview
🖼️
twitter:image
example.com
My Awesome Page — Check it out!
This is a description of the page that will appear in Twitter/X card previews.

Meta tags to add to your <head>

<meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:site" content="@example" /> <meta name="twitter:title" content="My Awesome Page — Check it out!" /> <meta name="twitter:description" content="This is a description of the page that will appear in Twitter/X card previews." /> <meta name="twitter:image" content="https://example.com/your-image.jpg" />

Keyboard shortcuts

Run the main action
⌘ / Ctrl + Enter
Copy the result
⌘ / Ctrl + Shift + Enter
Download the result
⌘ / Ctrl + S
Paste a file or image into file tools
⌘ / Ctrl + V
Search all tools
⌘ / Ctrl + K
Show these shortcuts
?

You can also drop files anywhere on the page.

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. 1

    Choose a Card type: Large image or Summary.

  2. 2

    Enter a Title and Description, keeping an eye on the 70 and 200 character counters.

  3. 3

    Add the page URL and your Twitter/X handle (for example @yoursite).

  4. 4

    Enter the full URL of the card image, or upload a picture just to see it in the preview.

  5. 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.

Input
Card type: Large image, Title: How We Cut Our Build Time in Half, Description: Five changes to our CI pipeline and what each one saved., URL: https://example.com/blog/faster-builds, Handle: @exampledev
Result
<meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:site" content="@exampledev" /> <meta name="twitter:title" content="How We Cut Our Build Time in Half" /> <meta name="twitter:description" content="Five changes to our CI pipeline and what each one saved." /> <meta name="twitter:image" content="example.com/your-image.jpg" />

Title that runs long

A product name plus tagline pushes the title past the limit.

Input
Title of 84 characters
Result
Counter shows 84/70 in red

X may cut the title short in the card, so trimming it to 70 characters or fewer keeps it readable.

Limitations
The preview is an approximation of an X card, not a live render from X itself. Only the five core tags are generated; fields such as twitter:creator or twitter:image:alt are not included. Without an image URL, twitter:image is a placeholder on your domain that you need to replace.
Assumptions
The URL you enter is the public address where the tags will live. You will host the previewed image yourself and reference it by its full URL.
Privacy
The card is built in your browser, and an image you choose is only read locally for the preview, not uploaded.

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.

Related tools