Open Graph Generator

SEO Tools

Produce the OG tags that control how a link looks shared.

  • 100% FreeNo hidden charges
  • Stays on Your DeviceNothing is uploaded
  • Easy to UseSimple and quick
  • Any DeviceBrowser, mobile and tablet
1200 × 630 image preview
EXAMPLE.COM
Your title appears here
Your description appears here so you can see exactly how the link will look when shared.

Paste these tags inside the <head> of your page. Use an image of at least 1200×630 pixels for best results.

The HN Solutions Open Graph Generator creates og: meta tags and Twitter card tags so your links show rich previews — with the right image, title and description — when shared on Facebook, X (Twitter), LinkedIn and WhatsApp. A live preview shows exactly how your link will look before you publish.

Why our Open Graph generator is better

  • Live social preview — see your link card with image, title and description as you type.
  • Open Graph + Twitter cards together — one output covers Facebook, X, LinkedIn, WhatsApp and Telegram.
  • Character counters keep titles and descriptions inside the limits platforms actually display.
  • Correct image sizing — includes og:image width and height tags at the recommended 1200×630.
  • Free and private — generated in your browser with no sign-up.

How to generate Open Graph tags

  1. Enter your title, description, page URL and image URL.
  2. Check the live preview to see how the shared link will appear.
  3. Click Copy and paste the tags into the <head> of your page.

Frequently asked questions

What are Open Graph tags?

Open Graph tags are meta tags that control how a page appears when shared on social media — the preview image, title and description in the link card.

What size should an og:image be?

1200×630 pixels is the recommended size. It displays sharply on Facebook, X, LinkedIn and WhatsApp large-image previews.

Do I need separate Twitter card tags?

X falls back to Open Graph tags, but adding twitter:card ensures you get the large image layout. This tool outputs both sets.

Why is my link preview not updating?

Platforms cache previews. Use Facebook’s Sharing Debugger or X’s Card Validator to re-scrape your page after changing tags.

Is this Open Graph generator free?

Yes, completely free with no sign-up, and nothing you type leaves your browser.

Discover more free utilities in our SEO tools hub and daily tools hub.

Why a shared link looks wrong

Platforms do not read your page the way a browser does. They fetch it, look for Open Graph tags, and build a card from what they find. No tags means guessing — usually the first image on the page, which is often your logo or an author avatar.

The four that decide the card: og:title, og:description, og:image and og:url. Everything else is refinement.

Image dimensions, and why yours is cropped

1200 × 630 pixels is the size to use. That is the 1.91:1 ratio Facebook and LinkedIn expect, and X will letterbox it acceptably.

Keep anything essential — text, faces, logos — away from the outer edges, because different platforms crop differently. A headline that runs to the edge of your image will lose its ending somewhere.

Use an absolute URL, not a relative path. Relative og:image values are the single most common reason a preview shows no image at all.

Caches are why your fix did not appear

Platforms cache the preview aggressively. Change your tags and the old card keeps appearing, sometimes for days.

Every major platform provides a debugger that re-fetches and clears its cache — Facebook’s Sharing Debugger, LinkedIn’s Post Inspector, X’s Card Validator. Run the URL through the relevant one after any change. Almost every “the tags are not working” problem is a cache, not a tag.

Twitter cards and Open Graph overlap

X reads Open Graph tags when its own twitter: equivalents are missing, so you rarely need both. The one worth setting explicitly is twitter:card — summary_large_image gives the full-width image card rather than the small thumbnail.

Where the tags go, and what to check

Inside <head>, ideally near the top. Tags added by JavaScript after load are not seen by most crawlers, because they do not execute your scripts.

On WordPress, Rank Math and Yoast output these automatically per post — check you are not adding a second set by hand, because duplicate og tags produce unpredictable results. Pair with the meta tag generator for the rest of the head, and compress your og image so the card loads quickly.

Open Graph: Make Every Shared Link Look Right

Share a link in WhatsApp, X, LinkedIn or Facebook and watch what appears: either a rich card with an image, bold title and description — or a naked grey URL that looks vaguely suspicious. The difference is about ten lines of HTML called Open Graph tags, and they change click-through on shared links dramatically. Same content, same audience; the card gets the click.

Every serious site sets these tags, yet they are among the most commonly broken things on the web — wrong image sizes, missing tags, stale cached previews. This guide covers how Open Graph works, the exact tags and image dimensions that behave on every platform, Twitter cards, the cache-refresh trick everyone eventually needs, and the fastest way to generate a correct tag set.

What Open Graph is and who reads it

Open Graph is a metadata protocol (originally Facebook’s, now universal) — meta tags in your page head that tell platforms exactly how to preview a link. WhatsApp, Facebook, LinkedIn, Telegram, Discord, Slack and iMessage all read OG tags. X reads its own Twitter card tags first and falls back to OG. Even Google’s AI features and chat assistants lean on them when summarising links.

The core set:

  • og:title — the card headline. Keep under ~60 characters; platforms truncate hard.
  • og:description — one or two lines below the title, ~110 characters before most platforms clip.
  • og:image — the preview image, the tag that does the heavy lifting.
  • og:url — the canonical address, so shares consolidate to one URL.
  • og:type — website, article, product; affects layout subtly.
  • og:site_name — your brand above the headline on several platforms.
  • twitter:card — set to summary_large_image for the big-image layout everyone actually wants on X.
The 1200 by 630 rule — one OG image size that works everywhere

The image is 80% of the result

1200 × 630 pixels (1.91:1) is the size that renders sharply everywhere — Facebook and LinkedIn cards, X large-image cards, WhatsApp previews. One image, every platform. The other rules:

The HN Solutions Open Graph generator building og and Twitter card tags from a title, description, URL and image
Building the Open Graph and Twitter card tags for this very guide in our generator. Screenshot taken on HN Solutions.
  • Keep it under ~1MB so slow scrapers do not time out and skip it — compress it with our image compressor without visible loss.
  • Absolute HTTPS URL in the tag. Relative paths silently fail on several platforms.
  • Design for small screens: the card is often 300px wide in a chat — big text, strong contrast, no fine detail. Text-on-gradient banners (like the ones on this post) exist because they stay legible at thumbnail size.
  • Add og:image:width and og:image:height so Facebook renders the full card on the very first share instead of after caching.

Why this matters beyond vanity

  • Click-through: rich cards consistently outperform bare links — this is the entire reason link previews exist.
  • Trust: a branded card signals a real site; a naked URL reads like spam, especially in group chats where most sharing actually happens.
  • Control: without OG tags, platforms guess — grabbing your logo, a random sidebar image, or nothing. With them, you decide the pitch.
  • Consistency with SEO: your meta title and description handle Google; OG handles everywhere humans share. The pairs should agree but need not be identical — OG copy can be punchier.

What our Open Graph generator does differently

  • You see the card before you ship it — the preview updates live, so there are no surprises in the group chat.
  • Counters match platform truncation, not arbitrary limits.
  • Complete output: OG + Twitter cards + image dimensions in one copy-paste block.
  • Private and free: nothing you type leaves the browser; no sign-up, no watermark on your workflow.
Fix a stale link preview — force platforms to re-scrape your page

How to set up Open Graph tags

  1. Open the Open Graph generator.
  2. Enter title (punchy, under 60 chars), description (~110 chars), your page URL and site name.
  3. Paste the absolute URL of your 1200×630 image and watch the preview assemble.
  4. Set og:type (article for posts, website for pages) and twitter:card to summary_large_image.
  5. Copy the tags into your page head — or mirror the copy into your SEO plugin’s Social tab on WordPress.
  6. Test with a real share to yourself on WhatsApp — the honest test — or run the URL through Facebook’s Sharing Debugger.

When the preview is wrong or stale

Platforms cache previews aggressively — sometimes for weeks. After changing tags: run Facebook’s Sharing Debugger and hit Scrape Again (fixes Facebook and WhatsApp), use LinkedIn’s Post Inspector for LinkedIn, and for X just re-validate by tweeting to yourself. If a change still does not appear, append ?v=2 to the shared URL to bypass cache while it expires.

Open Graph questions

Why does my link show no image at all?

Usually one of: relative image URL, image over the size limit, image blocked by robots.txt, or the platform cached the page before you added tags. Fix, then force a re-scrape.

Can OG title differ from my SEO title?

Yes, and often should — search snippets reward keyword clarity, social cards reward curiosity. Same promise, different voice.

Does Open Graph affect Google rankings?

Not directly. But shared links that get clicked build traffic and links, which very much do.

One image for all platforms — really?

1200×630 covers every large-card layout. Only add the 1:1 variant if square summary cards matter to you on X.

Getting your links to look right

Ten lines of metadata decide whether your shared links look professional or suspicious. Generate them in the free Open Graph generator, compress the card image with the image compressor, and keep the search-side snippet aligned in the meta tag generator — all part of our free SEO tools hub, alongside the daily tools.

How to use Open Graph Generator

  1. 1Enter your title, description and image URL.
  2. 2Preview how the link will look shared.
  3. 3Generate the tags.
  4. 4Paste them into your page head.

Why use our Open Graph Generator?

No Upload, No Wait

Everything runs on your own device, so there is no queue and no server round-trip.

Genuinely Private

What you enter never leaves your browser. We could not see it even if we wanted to.

No Registration

No account, no email, no usage limit. Open it and use it.

Works Everywhere

Any modern browser on desktop, tablet or phone. Nothing to install.

Tools that pair with this one

The ones people usually reach for in the same sitting. All free, all in your browser.

Scroll to Top