Open Graph & Twitter Card Generator

Control how your links look when shared on Facebook, LinkedIn, WhatsApp and X. Create the tags and see a live preview.

Bilal KhizriFree tool by Bilal Khizri · No sign-up · Works on mobile
💡 In simple words: When you share a website link on WhatsApp or Facebook, a little card appears with a picture, a title and a short line. Open Graph tags decide what goes on that card. Fill in the boxes and the tool writes the code so your links always look good when shared.

How to use the Open Graph generator

  1. Enter the title and description you want people to see when your link is shared.
  2. Add the page URL and an image URL. The best size is 1200×630 pixels.
  3. Check the preview, copy the tags and paste them into the <head> of your page. Rank Math and Yoast also have social tabs where you can set these without code.
  4. Test with the Facebook Sharing Debugger or LinkedIn Post Inspector, which also refreshes old cached previews.

What are Open Graph tags?

Open Graph is a set of meta tags created by Facebook and now used by LinkedIn, WhatsApp, Slack, Pinterest and many others. Twitter Cards are X’s version. Without them, platforms guess, often picking the wrong image or text.

Open Graph image tips

Create the image at the right size with our Ad Image Resizer.

Frequently Asked Questions

What size should an Open Graph image be?

1200×630 pixels (1.91:1 ratio) works on Facebook, LinkedIn, WhatsApp and X.

Why does Facebook show an old image for my link?

Facebook caches previews. Paste your URL into the Facebook Sharing Debugger and click Scrape Again.

Do Open Graph tags help SEO?

Not directly, but attractive share previews get more clicks and shares, which brings more visitors.

Do I need Twitter Card tags as well?

X falls back to Open Graph tags, but adding twitter:card makes sure it uses the large image format.

Related Free Tools