SEO Tools

Open Graph Generator

Create Open Graph and Twitter Card tags so your links look great when shared.

What Is an Open Graph Generator?

When you share a link on Facebook, LinkedIn, WhatsApp, Slack, Discord, Pinterest or X, the platform builds a preview card with a title, short description and image. Where does that information come from? In most cases, from Open Graph meta tags in the page’s HTML. Our free Open Graph Generator creates those tags for you, along with matching Twitter Card tags, and shows a live preview of how your link card will look before you publish.

A Short History of Open Graph

Facebook introduced the Open Graph protocol in 2010 to let any web page become a rich object in its social graph. The idea caught on, and today almost every major social network and messaging app reads og: tags. Twitter, now X, created its own Twitter Card tags, but it falls back to Open Graph values when Twitter-specific tags are missing. Setting both gives you the most control everywhere.

Why Open Graph Tags Matter

More clicks from social media

A large, eye-catching image with a clear headline gets far more attention in a busy feed than a plain text link. Well-crafted cards can significantly increase click-through rates from social posts, messages and group chats.

Control over your message

Without Open Graph tags, platforms guess which text and image to show. They might pick your logo, a random sidebar image, a cookie banner or the first sentence of your footer. Defining tags yourself ensures every share represents your brand properly.

Consistent branding

Using a consistent image style, title format and site name across all your pages makes your content instantly recognizable when it is shared.

Indirect SEO benefits

Open Graph tags are not a direct Google ranking factor. However, content that is shared more widely gets seen by more people, which can lead to more mentions, more backlinks and more branded searches, all of which support SEO.

The Essential Open Graph Tags

  • og:title: the headline of the card. Keep it short and compelling, ideally under about 60 characters.
  • og:description: one or two sentences that encourage the click, ideally under about 160 characters.
  • og:image: the full URL of the preview image. This is the most important tag for engagement.
  • og:url: the canonical URL of the page, so shares and likes are counted on one address.
  • og:type: the type of content, such as website for general pages or article for blog posts.
  • og:site_name: your brand or website name.

Twitter Card Tags

  • twitter:card: the card layout. Use summary_large_image for a big image or summary for a small square thumbnail.
  • twitter:title, twitter:description and twitter:image: Twitter-specific versions of the title, description and image.
  • twitter:site: your brand’s X username, starting with @.

Open Graph Image Best Practices

The image makes or breaks a social card. Follow these guidelines:

  • Size: use 1200 by 630 pixels, a 1.91:1 ratio. It displays sharply on high-resolution screens and works on almost every platform.
  • File type and weight: use JPG or PNG, and keep files under about 1 MB so they load quickly. Some platforms ignore very large images.
  • Safe area: keep text and important elements near the center, because some apps crop the edges or show a square version.
  • Readable text: if you add a headline to the image, use large, bold type with strong contrast. Many people see cards on small phone screens.
  • Absolute URLs: always use the full https:// address of the image, not a relative path.
  • Unique images: create custom images for important pages and articles rather than reusing your logo everywhere.

How to Use the Generator

1. Fill in the basics

Enter the title, site name, page URL and image URL. The preview card updates as you type so you can judge the result immediately.

2. Choose the content type

Select website for home, service and landing pages, article for blog posts and news, product for ecommerce items, profile for personal pages or video for video content.

3. Pick a Twitter card style

Large-image cards are best for most content. Use the small summary card when you do not have a good wide image.

4. Write the description

Give people a reason to click. Mention the benefit, a key fact or a question your page answers.

5. Copy the code

Copy the generated tags into the head section of your page, or enter the same values in the social settings of your SEO plugin. Rank Math and Yoast both have Facebook and Twitter tabs for each page.

Testing and Refreshing Social Previews

Social platforms cache link previews. If you update your tags after a link has already been shared, the old card may continue to appear. Use the platform’s debugging tools, such as the Facebook Sharing Debugger or LinkedIn Post Inspector, to fetch the page again and refresh the cached preview. You can also confirm what is live on any page with our Meta Tags Analyzer.

Common Open Graph Problems

  • Wrong image appears: the og:image tag is missing, points to a tiny image or uses a relative URL.
  • Old title still shows: the platform has cached an older version; refresh it with the platform’s debugger.
  • No preview at all: a firewall or bot protection may be blocking the platform’s crawler, or the page returns an error. Check it with our HTTP Header Checker.
  • Duplicate tags: a theme and an SEO plugin both output og: tags, and the platform picks the wrong one. Disable one source.
  • Cropped text on the image: important text sits too close to the edges of the image.

Open Graph for Different Types of Pages

Homepage

Use your brand name and main value proposition in the title, and a branded image that represents what you do.

Blog posts

Use the article headline, a short teaser and a custom featured image. Set og:type to article.

Service and landing pages

Highlight the offer and the outcome, such as “Free SEO Audit for Dentists”, with an image that shows the result or the team.

Product pages

Use the product name, a key benefit or price and a clean product photo on a simple background.

Make Every Share Count

Social previews are often the first impression people have of your business. Pair this tool with our Meta Tag Generator for search snippets, and if you would like help with content and social media marketing, book a free consultation with Aazz Agency.

About the Open Graph Generator

Open Graph tags control the title, description and image shown when your page is shared on Facebook, LinkedIn, WhatsApp and X (Twitter). Generate them here and preview the share card instantly.

How to use the Open Graph Generator

  1. Enter the title, description, URL and image URL.
  2. Choose the content type and Twitter card style.
  3. Copy the tags into your page’s <head>.

Why use this tool?

  • More attractive social shares and more clicks
  • A live share preview
  • Open Graph and Twitter tags in one go

Frequently asked questions

What size should an Open Graph image be?

1200 × 630 pixels (a 1.91:1 ratio) works well on almost every platform.

Do Open Graph tags help SEO?

They are not a direct ranking factor, but better-looking shares bring more clicks and more people who may link to your page.