Open Graph & X Card Generator
Free Open Graph generator: create og:title, og:description, og:image and X (Twitter) card tags with a live share preview, then copy the HTML.
- 100% free
- No sign-up
- Runs in your browser
X (Twitter) card
Share preview
example.com
Your title appears here
Your description appears here.
<meta property="og:type" content="website" /> <meta property="og:title" content="" /> <meta property="og:description" content="" /> <meta property="og:url" content="" /> <meta property="og:image" content="" /> <meta property="og:image:width" content="1200" /> <meta property="og:image:height" content="630" /> <meta property="og:image:alt" content="" /> <meta property="og:site_name" content="" /> <meta property="og:locale" content="en_US" /> <meta name="twitter:card" content="summary_large_image" />
Webmaster Tools
About the Open Graph & X Card Generator
The Open Graph & X Card Generator creates the tags that control how your page looks when it is shared on Facebook, LinkedIn, WhatsApp, X and other apps: the title, description, image, address, site name and type.
Choose the content type, such as a website, article, product or video, to get the extra tags that type uses. Add an X (Twitter) card type and handles, and the generator adds the twitter tags too. X reads the og tags for the title, description and image, so you do not need to repeat them.
A live preview shows the share card as you type. Everything runs in your browser, so your text or code never leaves your device.
How to use this tool
- 1Choose the content type.
- 2Enter the title, description, page address and image address.
- 3Add your site name, and an article’s author and date if needed.
- 4Choose the X card type and add your @handles.
- 5Copy the tags into the head of your page.
Best-practice tips
- Use a 1200 × 630 pixel image for the best results everywhere.
- Use a full image address starting with https://.
- Keep the title short; it can be different from the SEO title.
After adding the tags
- Upload the page with the new tags.
- Check them with the Open Graph Checker.
- If a network still shows an old preview, use its debugger (for example Facebook’s Sharing Debugger) to refresh its cache.
For the search tags, use the Meta Tag Generator.
Answers
Open Graph & X Card Generator FAQs
Meta tags that tell social networks and messaging apps which title, description and image to show when your page is shared.
Only twitter:card, and optionally your handles. X reads the og:title, og:description and og:image tags.
1200 × 630 pixels.
Yes, with no sign-up.
Related tools
Continue with these related webmaster tools.
Meta Tag Generator
Free meta tag generator: create your title tag, meta description, robots and canonical tags with a live Google search preview and character counter.
View Page Source
Free page source viewer: see the HTML source code of any website with line numbers, a search filter and tag counts. Works on any device, including phones.
XML Sitemap Generator
Free XML sitemap generator: crawl your website (up to 5,000 pages) or paste a URL list and download a valid sitemap.xml. Leaves out redirects, errors and noindex pages.