Twitter Card Meta Tag Generator
Build Twitter Card meta tags so your links display rich previews when posted on X (formerly Twitter). Select your card type, fill in the details, and copy the HTML markup. All generation happens in your browser.
Meta Tag Generator
Generate HTML meta tags for SEO, Open Graph, and Twitter Cards with live preview.
Basic Meta Tags
Advanced Options
Generated Meta Tags
<!-- Primary Meta Tags --> <meta name="robots" content="index, follow" /> <meta name="theme-color" content="#ffffff" />
Paste these tags inside the <head> of your HTML document.Ctrl+Enter to copy
Live Preview
Quick reference
Title
Keep under 60 characters. Google truncates at ~60 chars in search results.
Description
Keep under 160 characters. This appears below the title in search results.
OG Image
Recommended size: 1200×630px. Use absolute URLs (https://...).
Twitter Cards
summary — small square image. summary_large_image — large banner image above title.
Canonical URL
Use when multiple URLs serve the same content to tell search engines which is the "real" page.
What are Twitter Card meta tags?
Twitter Cards are meta tags (twitter:card, twitter:title, twitter:description, twitter:image) that control how your page appears when a link is tweeted. Twitter supports several card types: summary (small thumbnail), summary_large_image (wide banner), player (embedded video), and app (mobile app install). The summary_large_image type is most popular for articles and marketing pages.
Common use cases
Twitter Card tags are used by blogs, news sites, e-commerce stores, and SaaS landing pages to maximize engagement on X. A well-configured large image card can dramatically increase click-through rates compared to a plain URL. They are also respected by other platforms like Slack and Discord as a fallback when Open Graph tags are missing.
Frequently Asked Questions
What is the difference between summary and summary_large_image?
The summary card shows a small square thumbnail next to the title and description. The summary_large_image card displays a large, wide image above the text, taking up more feed space and typically generating higher engagement.
Do I need both Open Graph and Twitter Card tags?
Twitter falls back to Open Graph tags if Twitter-specific tags are missing, but having both gives you full control over how your content appears on each platform. At minimum, include twitter:card to set the card type.