Quick answer
To create Open Graph tags, fill in the title, description, page URL and image URL, and optionally the image alt text, site name, type (website, article, product, profile, book, video), locale and your Twitter/X @username. A live preview shows how the link card will look. Copy the generated <meta> tags and paste them into the <head> of your page.
- Tags:
- og:title, og:description, og:url, og:image, og:image:alt, og:site_name, og:type, og:locale
- Twitter/X:
- twitter:card, twitter:title, twitter:description, twitter:image, twitter:site
- Types:
- website, article, product, profile, book, video
- Preview:
- Live social card preview
- Recommended image:
- 1200 × 630 pixels
- Output:
- Copy-ready HTML meta tags
- Account:
- Not required
- Price:
- Free
When someone shares your link on Facebook, LinkedIn, WhatsApp, Telegram, Slack, Discord or X, the platform fetches your page and builds a preview card: an image, a headline and a short description. That card decides whether people click. A bold image and a clear headline invite clicks; a cropped logo, a random sidebar picture or a cut-off sentence get scrolled past.
The card is controlled by Open Graph meta tags — a standard created by Facebook and now used by almost every platform — and Twitter card tags used by X. Without them, each platform guesses what to show, often badly. With them, you decide exactly which image, title and description appear.
Our Open Graph generator creates a complete, correct set of tags from a simple form. Enter your title, description, page URL and image, choose the content type and add your site name and X handle. The live preview shows how your card will look, and the HTML updates instantly, ready to copy into your page's head section.
It is ideal for landing pages, blog posts, product pages and any page you plan to share or advertise.
How to add Open Graph tags – step by step
- 1 Write the title and descriptionUse a compelling headline (up to about 60 characters) and a one- or two-sentence description (about 110–160 characters).
- 2 Add the page URL and imageUse the page's canonical URL and the full https URL of a 1200 × 630 image.
- 3 Set the detailsChoose the type, add image alt text, site name, locale and your X @username.
- 4 Check the previewMake sure the image, headline and description look right in the card.
- 5 Copy and pasteCopy the tags into your page's <head> — or into your CMS's social settings — then refresh the preview in each platform's debugger.
Why use this Open Graph generator?
Open Graph and X tags together
One form creates both sets.
Live card preview
See your share card before you publish.
All important properties
Including image alt text, site name, type and locale.
Clean HTML
Properly escaped, ready to paste.
Works everywhere
Facebook, LinkedIn, WhatsApp, Telegram, Slack, Discord, Pinterest and X.
Free, no sign-up
Generate tags for as many pages as you like.
The essential Open Graph tags
| Tag | Purpose | Tip |
|---|---|---|
| og:title | Headline of the card | Can differ from the SEO title; make it catchy |
| og:description | Text below the title | One or two benefit-focused sentences |
| og:image | The preview image | 1200 × 630, absolute https URL, under 5 MB |
| og:url | The canonical URL of the page | Consolidates likes and shares on one URL |
| og:type | Kind of content | website for most pages, article for blog posts |
| og:site_name | Your brand or site name | Shown above the title on some platforms |
| twitter:card | Card layout on X | summary_large_image for big images |
Creating the perfect share image
The image is the most important part of the card. Use 1200 × 630 pixels (a 1.91:1 ratio), which displays well on Facebook, LinkedIn and X; WhatsApp and some apps crop to a square, so keep key content in the centre. Use large, readable text if you add any, high contrast and your brand colours, and avoid tiny details. Save as JPG or PNG under about 1 MB for fast fetching. Crop images to the right ratio with our Image Cropper (choose 1.91:1) and shrink them with the Image Compressor.
Adding Open Graph tags on popular platforms
- WordPress: SEO plugins like Rank Math and Yoast add Open Graph tags automatically and let you set a custom social title, description and image for each post under their "Social" tab.
- Shopify: themes output Open Graph tags from product and page data; set a social sharing image in Online Store → Preferences.
- Wix and Squarespace: set social share images and text in each page's SEO or Social settings.
- Custom sites: paste the generated tags inside <head> on each page, with page-specific values.
Refreshing the preview after changes
Platforms cache link previews, sometimes for days. After updating your tags, ask them to re-fetch the page: use Facebook's Sharing Debugger and click "Scrape Again", LinkedIn's Post Inspector, and for X simply share again after some time. WhatsApp and Telegram cache previews per chat; adding a harmless query string (like ?v=2) to the URL forces a fresh preview when testing.
Open Graph and SEO
Open Graph tags are not a direct Google ranking factor, but they influence how many people click and share your content on social platforms, which brings visitors, brand searches and sometimes links. They also give search engines and AI tools additional, consistent information about the page. Write the SEO title and meta description with the Meta Tag Generator, add structured data with the Schema Generator, and check all tags on a live page with the Meta Tag Analyzer.
Writing share titles that get clicks
Social titles can be more conversational than search titles. Lead with the benefit or a curiosity hook, use numbers when they help ("7 free tools…"), and keep it short enough to show fully on mobile. The description should add a reason to click, not repeat the title. Test different versions for important campaigns — even small wording changes can double click-through rates on social feeds. Track the results with tagged links from our UTM Builder.
Open Graph for e-commerce
For product pages, set og:type to product, use a clean product photo on a plain background as og:image and include the price in the description or title if it is attractive. Many shops add brand-coloured borders or a small logo to stand out in feeds. Make sure the image URL is public — not behind a login or blocked by robots.txt — otherwise platforms cannot fetch it.
How each platform shows your card
Platforms use the same tags but display them differently. Facebook shows a large image with the title and the domain beneath, and trims long descriptions. LinkedIn shows a wide image and the title, often without the description, so the title must work on its own. X shows a large image card with the title only when twitter:card is summary_large_image, otherwise a small square thumbnail. WhatsApp and Telegram show a compact preview with a small or square-cropped image, the title and part of the description. Slack and Discord show the site name, title, description and image in an embed. Because of these differences, keep the most important words at the start of the title, place the key visual in the centre of the image and make sure the card still makes sense without the description. Test on the two or three platforms where your audience spends the most time.
Troubleshooting
- Wrong or no image appears. Check that og:image is an absolute https URL, publicly accessible and at least 200 × 200 pixels (1200 × 630 recommended).
- Old title still shows. The platform cached the preview; use its debugger to refresh.
- Duplicate tags. A theme and a plugin may both output Open Graph tags; disable one.
- Special characters look broken. Make sure your page uses UTF-8 encoding.
Frequently asked questions
What are Open Graph tags?
Meta tags that control the title, description and image shown when a link is shared on social media.
What size should an Open Graph image be?
1200 × 630 pixels is recommended for most platforms.
Do I need Twitter card tags if I have Open Graph?
X falls back to Open Graph for most fields, but twitter:card is needed to choose the large image layout.
Where do I put Open Graph tags?
Inside the <head> section of each page.
Why does Facebook show an old image?
Facebook cached the preview. Use the Sharing Debugger and click Scrape Again.
Do Open Graph tags help SEO?
Not directly, but better share cards bring more clicks and visibility.
Does WhatsApp use Open Graph?
Yes. WhatsApp reads og:title, og:description and og:image for link previews.
What og:type should I use?
website for most pages, article for blog posts and product for product pages.
Can I use a different title for social media?
Yes. og:title can differ from your SEO title.
Is this generator free?
Yes. No sign-up required.
Does it work for WordPress?
Yes, though SEO plugins can add the tags for you; use the generator to plan the values.
Last updated November 22, 2026 · Written and tested by the SmallEasyTools team.