Open Graph & Meta Tag Generator
On-page SEOGenerate Open Graph and Twitter Card meta tags for rich social shares.
<!-- Primary --> <!-- Open Graph / Facebook --> <meta property="og:type" content="website"> <!-- Twitter --> <meta name="twitter:card" content="summary">
About this tool
Control how your pages look when shared. Fill in your title, description, URL, and image to generate complete Open Graph and Twitter Card meta tags — properly escaped and ready to paste into your <head>.
How it works
- 1
Fill in your details
Add the title, description, page URL, image, and site name. Choose whether the page is a website or an article.
- 2
Copy the tags
Get a complete, correctly escaped set of Open Graph and Twitter meta tags, generated live. Copy and paste them into your page's <head>.
Frequently asked questions
What are Open Graph tags?
Open Graph meta tags tell platforms like Facebook, LinkedIn, and Slack how to display your link — the title, description, and preview image — when it's shared.
Do I need separate Twitter tags?
Twitter (X) reads Open Graph tags as a fallback, but adding twitter:card and related tags gives you precise control over the card type and appearance. This tool includes both.
What image size should I use?
1200×630 pixels is the safe standard for a large summary card. Use an absolute https URL so platforms can fetch it.
Related free tools
Stop doing this one piece at a time.
RankPine does the keyword research, writing, editing, and publishing for you — a complete, optimized article on your site every day, automatically.
- 3-day free trial
- Three articles before you pay
- Cancel anytime
