Skip to content

Twitter Card Generator

Create twitter: meta tags for link cards on X.

How to use the Twitter card generator

Three steps, all in your browser.

  1. 1

    Start from your page

    Type the details, or import a live page's current tags by URL.

  2. 2

    Fill in the fields

    Add the details you need. The code updates as you type.

  3. 3

    Copy the result

    Copy or download the tags. Nothing is saved; an import stores neither the URL nor the page.

Twitter Card Generator: what to know

Twitter cards are the link previews on X: a title, description and image attached to a post that contains your URL. They're controlled by meta tags whose names still start with twitter:, such as twitter:card, twitter:title, twitter:description and twitter:image. The generator creates those tags from a short form, including image alt text, so you can paste them into your page's head.

The twitter:card value picks the layout. summary shows a small square thumbnail beside the text, and summary_large_image shows a wide image above it, which stands out more in a busy feed. X falls back to Open Graph tags for the title, description and image when the twitter: versions are missing, so if your page already has good og: tags, the card type is often the only tag you need to add.

Images for large cards work best at a 2:1 ratio, at least 300 × 157 pixels and commonly 1200 × 600 or the 1200 × 630 used for Open Graph. Use an absolute https URL. Like other apps, X caches cards, so a change can take time to appear on posts that already exist.

Popular uses

  • Making links stand out in posts on X
  • Choosing between small and large card layouts
  • Adding alt text to share images
  • Completing a page's social tags alongside Open Graph

Tips for the best result

  • Use summary_large_image for articles, products and anything with a strong image.
  • Reuse your Open Graph values to keep one source of truth.
  • Add twitter:site with your account handle if you want the card attributed to it.
  • Import from URL reads a page's current twitter: and Open Graph tags, so you can see the card it would get before changing anything.

Read how JustYourSEO works and our privacy details. Text, HTML and images you use here are processed in your browser and are never sent to our server.

Frequently asked questions

summary shows a small square thumbnail next to the text; summary_large_image shows a wide image above it. Large images get more attention for articles and products; summary suits pages without a strong image.

Only twitter:card is really needed. X falls back to og:title, og:description and og:image when the twitter: versions are missing, so you can keep one set of content and add the card type.

Yes. X still reads the twitter: meta tags, and the names didn't change with the rebrand. Other apps also read them as a fallback.

Yes. Import from URL fetches the page's raw HTML on our server (no JavaScript runs) and fills the form from its twitter: and Open Graph tags, so the preview shows the card X would build from them. The URL and the page aren't stored or logged; edits and previews stay in your browser.

No. The text, HTML, files and images you paste or open are processed on your device and are not sent to our server or stored. The five URL tools (SEO audit, indexability checker, redirect checker, HTTP header checker and broken link checker) are the exception: they send the URL you enter to our server, which requests that public page (and, for the broken link checker, each link on it) and returns what it received to your browser to check. The URL and the page aren't stored or logged. The optional Import from URL in the meta tag, Open Graph and Twitter card generators works the same way.

Yes. Every tool is free with no sign-up and no limits on use. Clearly labeled ads keep it that way.

They help you get the details right: tags that are complete and valid, previews that read well, files crawlers can parse. No tool can guarantee rankings; those depend on your content, your site and how search engines evaluate them.