Twitter Card Generator
Generate X/Twitter Card tags for summary and large-image cards with a live card preview.
Twitter Card Generator
Check your current tags for duplicates (optional)
Finds Twitter/X tags that appear twice or would conflict with the generated ones. Read in your browser; nothing is uploaded or run.
Card preview
From example.com
Illustrative only. X fetches and caches your page itself and may display the card differently, or not at all. This preview doesn't mean X has validated your tags.
- twitter:title is required.
- Add the page URL so the preview can show its domain and the address can be checked.
- A large-image card needs twitter:image (or og:image on the page) to show a picture.
- X's reference lists twitter:site (your site's @username) as required for these cards; it's recommended.
Twitter / X card tags
<!-- Fix the errors above to generate the tags -->If the page already has Open Graph tags, X falls back to og:title, og:description and og:image when the matching twitter: tags are missing.
Your data is processed locally in your browser and is not uploaded to OZVILO servers.
How to use the Twitter Card Generator
- 1Choose a card type: summary or summary with large image.
- 2Enter the title, description, page URL and image URL with alt text.
- 3Optionally add your site's and the author's X usernames.
- 4Check the preview and validation, then copy the tags into your <head> or download them.
Examples
Large-image card
- Input
- summary_large_image, title, 1200 × 600 image, @studio
- Result
- twitter:card, twitter:site, twitter:title, twitter:image and twitter:image:alt tags
Summary card with a creator
- Input
- Card type summary and creator @author
- Result
- twitter:creator is left out — X uses it only for large-image cards
Twitter Card Generator features
- summary and summary_large_image cards only — the types X supports for websites
- Tags limited to what your card type and input need
- Character counts against X's limits: title 70, description 200, alt text 420
- Live card preview; the image's real size is checked against X's minimums and aspect ratio
- Username validation, HTML escaping, duplicate check, copy and download
Frequently asked questions
Do I need Twitter Card tags if I already have Open Graph tags?
Not always. X falls back to og:title, og:description and og:image when the matching twitter: tags are missing, but you still need twitter:card to choose the card type.
Will X show my card exactly like the preview?
Not necessarily. The preview is illustrative. X fetches and caches your page itself, and it decides whether and how to display the card.
What image size works best?
For large-image cards X uses a 2:1 image of at least 300 × 157 pixels; for summary cards a square of at least 144 × 144. Images must be under 5 MB and in JPG, PNG, WebP or GIF format — SVG isn't supported.
Related tools
- Available
Open Graph Generator
Create og: tags for social sharing with a live link preview, image checks and copy-ready HTML.
SEO ToolsOpen tool - Available
Meta Tag Generator
Generate title, description, robots, Open Graph and Twitter card tags with a live search preview.
SEO ToolsOpen tool - Available
Character Counter
Count characters with and without spaces for posts, ads and forms.
Text ToolsOpen tool - Available
Image Size Analyzer
Check a page's images for file size, real dimensions, format, alt text, srcset and lazy loading.
SEO ToolsOpen tool