Open Graph Generator

Generate and check Open Graph meta tags for your website to ensure perfect social media previews on Facebook, Twitter, and LinkedIn.

Enter Website URL

Edit / Generate

Recommended length: 60 characters0 / 60
Recommended length: 160 characters0 / 160
Recommended: 1,200 x 630 pixels for big screens or 200 x 200 pixels for smallest.

Preview

FACEBOOK

Image Preview
domain.com
Your Page Title
A brief description of your page content will appear here helping users to understand what the page is about.

TWITTER

Image Preview
Your Page Title
A brief description of your page content will appear here helping users to understand what the page is about.
domain.com

Open Graph Meta Tags

<title></title>
<meta name="description" content="">

<!-- Facebook Meta Tags -->
<meta property="og:title" content="">
<meta property="og:description" content="">
<meta property="og:image" content="">
<meta property="og:url" content="">
<meta property="og:site_name" content="">
<meta property="og:type" content="website">

<!-- Twitter Meta Tags -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="">
<meta name="twitter:description" content="">
<meta name="twitter:image" content="">

<!-- Meta Tags Generated via Indexly -->

Grow Your Presence Across Traditional & AI Search with Indexly

  1. 1. Master SEO essentials — auto-index new pages across Google, Bing, and Yandex, run website audits, discover keyword opportunities, and analyze your backlink profile, all in one place.

  2. 2. Track your AI search visibility — monitor brand mentions, track how your brand appears in ChatGPT, Claude, Gemini, and Perplexity responses, and understand sentiment across AI platforms.

  3. 3. One unified platform for both traditional and AI search growth — so you are visible everywhere your audience is searching.

What are Open Graph Meta Tags?

The Open Graph protocol enables any web page to become a rich object in a social graph. It is used by Facebook, Twitter, LinkedIn, and other platforms to understand your page's content. By adding Open Graph meta tags to your webpage's <head>, you control how your content appears when shared, ensuring it grabs attention and drives clicks.

<meta property="og:title" content="Your Engaging Page Title" />
<meta property="og:description" content="A compelling description that encourages clicks and shares." />
<meta property="og:image" content="https://example.com/images/og-image.jpg" />
<meta property="og:url" content="https://example.com/your-page" />
<meta property="og:type" content="website" />

og:title

The title of your article or page. It should be compelling and concise (typically under 60 characters), as it's the anchor text when users see it in their social feed.

og:description

A brief description of the content, usually between 2 to 4 sentences (under 160 characters). It drives user intent without keyword stuffing.

og:image

The image URL that should represent your object within the graph. An optimal 1200x630 pixel image dramatically increases engagement and clicks.

twitter:card

While Twitter respects Open Graph, twitter:card defines whether a large image or summary format should be used specifically for Twitter.

Platform-Specific Requirements

Facebook

Requires 1200x630px images, supports rich media previews, and shows full descriptions. Critical for organic Facebook reach and engagement.

2.9B monthly active users

Twitter/X

Uses Twitter Card tags with 1200x675px images. Supports summary and large image cards for maximum visual impact on the timeline.

450M monthly active users

LinkedIn

Professional network requires 1200x627px images. Emphasizes business content with detailed preview information and accurate titles.

900M professional users

Instagram

Story links and bio links use Open Graph data. Square images (1080x1080px) are also parsed heavily for DMs and link shares.

2B monthly active users

The Importance of Open Graph Optimization

In an era where social media drives immense traffic, the visual presentation of your shared link dictates your click-through rate (CTR).

Boosts Engagement

Optimized social previews can increase click-through rates by up to 500% compared to default link previews without proper OpenGraph tags.

Improves SEO & Trust

While OG tags aren't direct search ranking factors, they validate your site's professionalism to search engines and users, generating more backlinks.

Brand Consistency

Without OG tags, platforms scrape random text or images. Proper tags give you complete control over your brand presentation.

How to Use the Generator

1

Fill the Details

Enter your page's title, description, and image URL into the form. Adjust lengths to fit recommendations.

2

Preview Live

Watch the Facebook and Twitter mockups update instantly. Tweak your text until the display looks perfect.

3

Copy Tags

Click to copy the generated HTML from the bottom pane and paste it directly into your website's <head> element.

Common Problems & Expert Solutions

Image Displays

Problems:

  • • Wrong or random images selected
  • • Blurry or pixelated image previews
  • • Images cropped incorrectly

Solutions:

  • • Use absolute URLs for og:image tags
  • • Optimize images to 1200x630px minimum
  • • Include width and height meta tags if possible

Cache & Updates

Problems:

  • • Old previews showing after updates
  • • Social platforms not fetching new data
  • • Changes not reflecting immediately

Solutions:

  • • Use Facebook Sharing Debugger to refresh cache
  • • Use versioned URLs for images (e.g., ?v=2)
  • • Force cache refresh on Twitter Card Validator

Why Choose Our Generator?

Always Up to Date

Social networks update their preview logic frequently. Our generator maps to the latest standards.

Dual Compatibility

We automatically inject Twitter Card logic along with standard Open Graph formatting for complete coverage.

Zero Setup Required

No sign-ups or downloads. Edit your Meta properties online and take the optimized code immediately.

Perfect Open Graph Checklist

Image Dimensions

Aim for 1200 x 630 pixels. Keep central elements prominent so they aren't cropped during responsive resizing.

Absolute URLs

Always use absolute URLs (https://example.com/img.jpg) for your og:image. Relative URLs will break your previews.

Concise Text

Avoid long sentences that will truncate. Mobile devices cut off descriptions sharply—front-load your message.

Use og:type Smartly

Use "website" for your homepage and "article" for blog posts to contextualize content for network crawlers.

Frequently Asked Questions

Will this work for LinkedIn and Discord?

Yes, both LinkedIn and Discord rely heavily on standard Open Graph tags (<meta property="og:...">) to generate their link previews.

Why isn't Facebook updating my newly added tags?

Platforms cache your Open Graph data. If you change tags on an existing page, you'll need to use the Facebook Sharing Debugger to force a re-scrape of the URL.

What's the difference between OpenGraph and Twitter Cards?

OpenGraph is the standard protocol used by Facebook, LinkedIn, and most platforms. Twitter Cards are Twitter's specific format. You should implement both for complete social media optimization coverage.

Does Twitter use Open Graph?

Twitter has its own "Twitter Cards" setup, but it defaults to reading your Open Graph tags if Twitter-specific tags are missing. Our generator creates both for safety.

Is my og:image too large?

Keep the image file size under 5MB. Most networks will refuse to load massive images causing your social cards to default to a grey box.

How do I test my website URL in this tool?

Just enter your URL in the input field. If your site already contains Open Graph tags, external testing tools can fetch them, though this generator lets you configure and preview them locally.