No recently used tools
No favorite tools yet

Open Graph Generator: Create OG Tags & Twitter Cards | Free

411 uses
example.com
Page Title
Description...

Open Graph Tips

OG + Twitter Card Tags
Generate both Open Graph (Facebook, LinkedIn) and Twitter Card meta tags simultaneously for maximum social reach.
Live Social Preview
See a real-time preview card showing exactly how your link will appear when shared on social media platforms.
Image Preview
Enter your OG image URL to see it rendered in the preview card. Recommended size: 1200x630 pixels.
Copy-Ready HTML
All generated meta tags are properly formatted and ready to paste into your HTML head section.

Frequently Asked Questions

Q Will generating OG tags slow down my website?
A Not at all. The tags are just HTML code in your page's head section, so they add roughly 1KB or less to your file size. That's smaller than most favicons. Your page will load just as fast with or without them.
Q Do I need separate tags for Facebook and Twitter?
A Not necessarily. Our generator creates both Open Graph and Twitter Card tags from one form. Facebook uses the `og:` properties, while Twitter falls back to those same tags unless you override them. If you want distinct descriptions per platform, check the "Custom Twitter Card" toggle. For most people, one set works perfectly. Just test the preview before deploying.
Q Can I generate OG tags for a page that hasn't been published yet?
A Absolutely. Just type in your draft title, description, and upload an image directly. No live URL needed. This is a lifesaver for bloggers writing posts in advance or for A/B testing different headlines. Tweak one field at a time and watch the Facebook preview update instantly — it catches truncation before you hit publish. Saves you the embarrassment of a broken share.
Q Does Facebook cache old OG tags even after I update them?
A Yes, Facebook stores your OG data for about 24 hours. That's why you might see an old image or title after making changes. Use Facebook's Sharing Debugger tool (developers.facebook.com/tools/debug) — paste your URL, click "Scrape Again," and it refreshes immediately. For Twitter, the card cache clears within a few hours on average. Generate new tags here, scrape both platforms, and you're set.
Q Can I use OG tags for non-English content?
A Absolutely, and you should. Open Graph tags work with any language — just write your title and description in your target language. Facebook and Twitter display Unicode characters, emoji, and accented letters without issues. For example, Japanese or Arabic text renders perfectly in previews. One gotcha: some platforms might truncate at different character counts for CJK characters, so always check the live preview. Pro tip: test with a sample post in your language before publishing a batch.
Q What happens if I don't add any OG tags at all?
A Social platforms will scrape your page and guess. They'll pull whatever title tag exists, maybe grab the first image they find, and pick a random snippet of text. Often that means a broken-looking share with the wrong photo or a cut-off headline. Around 30% of shared links on Facebook lack proper OG tags, and those posts get noticeably less engagement. Using this generator takes under two minutes, and you avoid leaving your brand's first impression up to chance. Most CMS setups only need the tags pasted once per template.
Q What image size should I use for OG tags?
A Aim for 1200x630 pixels. That's the sweet spot for Facebook's link previews, and it scales well on Twitter too. Your image will get cropped in some views, so keep key text away from the edges. Use the live preview here to drag around or swap images until it looks right. A blurry or stretched pic is a fast way to kill a click.
Q Is there a difference between og:image and Twitter's image tag?
A Yes, but only if you care about how your link appears on Twitter versus Facebook. Our generator outputs both `og:image` and `twitter:image`. When you don't add the Twitter-specific tags, Twitter automatically falls back to the Open Graph ones. That said, Twitter's card displays at a 2:1 ratio for summary cards with large images, while Facebook prefers 1.91:1. Using one 1200x630 image works for both platforms, though. If you want a tailored look, check the custom Twitter toggle and upload a 600x335 crop instead. Practical trick: always run the generated URL through Twitter's Card Validator before you schedule a big campaign.
Q Will short link shorteners break my Open Graph tags?
A Using a third-party link shortener usually drops your custom OG tags. Social networks crawl the final destination URL rather than the redirect link. But some premium redirect tools let you map custom domains and retain meta headers. Always test the shortened link in our preview tool before sending it out to your newsletter subscribers.
Q Can I paste these meta tags into WordPress without a plugin?
A Yes, you don't need a heavy SEO plugin just to add a few lines of code. Grab the generated tags from our tool and paste them directly into your theme's header.php file right before the closing head tag. But remember that theme updates might overwrite your changes. For safer storage, use a custom code snippet plugin to inject the tags site-wide or paste them into individual page settings.

How to Generate Open Graph Tags

Related Tools