Welcome To FreeSEOToolsHub - 100% free SEO tools. No signup, no limits.

Twitter Card Generator – Create X (Twitter) Card Meta Tags

Create Twitter (X) Card meta tags in seconds. Choose a large image or a summary card, fill in the details, see a live preview and copy the code into your page.

  • 100% Free
  • No Signup
  • Quick Results
Preview on X
Your Twitter Card tags

Paste these inside the <head> of your page. Tip: also add Open Graph tags so Facebook and LinkedIn look good too.

How to use the Twitter Card Generator

  1. Choose the card type: Summary card with large image or Summary card.
  2. Type the title and description of your page.
  3. Add the full address of your image. For the large card use 1200 x 628 pixels.
  4. Add your site and author @username if you want them shown (optional).
  5. Check the preview, click Copy Code and paste it in the head of your page.

Features

  • Both card types: summary_large_image and summary.
  • Live preview that looks like a post on X.
  • Character counters for title and description.
  • Adds @ to usernames for you. Escapes special characters safely.
  • Free, no signup.

Twitter Card image sizes

  • Large image card: 2 to 1 ratio, at least 300 x 157 and up to 4096 x 4096 pixels. 1200 x 600 is a good choice.
  • Summary card: square image, at least 144 x 144 pixels.
  • Images must be under 5 MB. JPG, PNG, WEBP and GIF are supported.

Frequently Asked Questions

Do I still need twitter: tags now that the site is called X?

Yes. X still reads the twitter: meta tags. If they are missing, it falls back to Open Graph tags.

Which card type should I use?

Use the large image card for articles and landing pages. Use the summary card for pages where a small logo or square picture fits better.

Is twitter:site required?

No. It only links the card to your account. It is optional.

How do I test the card?

Publish the page and use our Open Graph Checker, or paste the link into a draft post on X to see the preview.

Why does the image not show?

Check that the image address is public, starts with https and the file is under 5 MB.

Can I use it with WordPress?

Yes. Many SEO plugins set these tags for you. You can also add the code with a header snippet for one page.