Open Graph Tag Generator
Generate Open Graph meta tags with a live Facebook/LinkedIn preview. Paste the HTML in your page head and every shared link looks pixel-perfect.
<meta property="og:type" content="website"/> <meta property="og:locale" content="en_US"/>
What is Open Graph Tag Generator?
Open Graph tags are HTML meta elements that control how your website appears when shared on Facebook, LinkedIn, Discord, Slack and other platforms. Without them, social networks guess what image, title and description to show, often getting it wrong. The Open Graph Tag Generator lets you fill in a simple form, preview the exact Facebook card in real time, and copy production-ready HTML meta tags to paste into your page head. All processing happens in your browser — nothing is sent to a server.
How to Use Open Graph Tag Generator
- 1
Fill in your page details
Enter the title, description, image URL, page URL, type, site name and locale for your page.
- 2
Check the live preview
The Facebook card preview updates in real time so you can see exactly how your link will appear when shared.
- 3
Copy the HTML
Click the Copy button to grab the generated meta tags and paste them inside the <head> of your HTML document.
Features
- Live Facebook/LinkedIn card preview
- Supports all 7 core OG properties
- Type dropdown with website, article, product, video
- Locale support for international pages
- HTML-escaped output safe for any document
- 100% client-side — no data sent to servers
Related Tools
Meta Tag Generator
Create perfect SEO meta tags with OG + Twitter cards. Live character counters.
Meta Tag Analyzer
Analyze any URL's meta tags, OG tags, Twitter cards and SEO elements with scoring.
Open Graph Checker
Check any URL's Open Graph tags and preview how links appear on social media.
Twitter Card Generator
Generate Twitter Card meta tags with live preview for summary and large image cards.
Robots.txt Generator
Build a robots.txt file with a visual editor. Add rules for any user agent.
Robots.txt Tester
Paste your robots.txt and test if a URL is crawlable by any user agent.