Make your links look great everywhere they are shared. This free Open Graph and Twitter Card generator builds the meta tags that control the title, description, and image shown on Facebook, LinkedIn, X, Slack, and more — with a live social preview as you type.
How to use the Open Graph generator
Enter your title, description, page URL, and an image URL. The preview shows how your link will look when shared, and the tool generates both Open Graph (og:) and Twitter Card meta tags. Copy them into the <head> of your page. For the best results, use an image at least 1200×630 pixels.
The tags that actually change how a link looks
A share card is assembled from a handful of properties. These are the ones worth setting deliberately rather than leaving to a fallback:
- og:title is the headline on the card. If it is missing, platforms fall back to the page title tag, which is usually written for search results and truncates differently.
- og:description is the supporting line beneath it. Around 110 characters survives intact on most platforms.
- og:image does most of the work. Use 1200 by 630 pixels, in JPG or PNG, and keep the file well under 5MB.
- og:url sets the canonical address for the share, so likes and shares consolidate on one URL instead of splitting across parameter variants.
- og:type is normally website for a landing page or article for editorial content.
- og:site_name puts your brand name alongside the headline.
- twitter:card decides the shape on X. Use summary_large_image for a full-width image rather than a thumbnail.

Common Open Graph mistakes
Share cards fail in a small number of predictable ways:
- Leaving the image to a fallback. With no og:image set, platforms choose an arbitrary file from the page, which is often a logo or an interface icon.
- Images that are not publicly fetchable. The platform retrieves the image with its own crawler, so anything behind a login, a hotlink block, or a staging password renders as a blank card.
- Relative image paths. The value has to be an absolute URL including protocol and host.
- Important text near the edges of the image. Platforms crop to several different ratios, so keep headlines and logos towards the centre.
- Assuming an edit takes effect immediately. Platforms cache the first scrape of a URL, sometimes for weeks, so corrections do not reach shares that already exist.
- Competing duplicate tags. A theme and a plugin both emitting og:title leaves the outcome up to whichever is parsed last.

Frequently asked questions
What are Open Graph tags?
Open Graph tags are meta tags (starting with og:) that tell social platforms what title, description, and image to display when someone shares your URL. Without them, platforms guess, often poorly.
What image size should I use for social sharing?
1200×630 pixels (a 1.91:1 ratio) is the safe standard for large link previews on Facebook, LinkedIn, and X. Keep important content away from the edges in case of cropping.
Do I need both Open Graph and Twitter tags?
X (Twitter) falls back to Open Graph tags if Twitter Card tags are missing, but adding both gives you the most control. This tool generates both for you.
Why is the wrong image showing when I share my page?
Nearly always a cached scrape. The first time a URL is shared, the platform fetches its tags and stores them, so later corrections are ignored until the URL is scraped again. Force a refresh through the platform tooling, such as the Facebook Sharing Debugger or the LinkedIn Post Inspector. If the image is still wrong afterwards, check that og:image is an absolute, publicly reachable URL and that no second plugin is emitting a competing tag.