How to use the Open Graph generator
- Enter the title and description you want people to see when your link is shared.
- Add the page URL and an image URL. The best size is 1200×630 pixels.
- 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.
- 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
- Use 1200×630 pixels (1.91:1), under 5 MB, JPG or PNG.
- Keep text large and in the centre, because some apps crop the edges.
- Use a full https:// image URL, not a relative path.
- Use a different image for each important page, if you can.
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.