OG
Open Graph Preview
Preview how your page will look when shared on Facebook, Twitter/X and LinkedIn, and generate the Open Graph meta tags.
More SEO Tools
No image
Twitter / X
No image
No image
No image
How to Use Open Graph Preview
Enter your Open Graph title, description, image URL, page URL, content type and Twitter card type. See a live side-by-side preview of the Facebook, Twitter/X and LinkedIn share cards, plus the ready-to-paste Open Graph and Twitter Card meta tags.
About Open Graph Preview
Open Graph is a protocol Facebook introduced in 2010 to let any web page describe itself as a rich, structured object — a title, description, image and type — that any platform integrating the protocol can render as a preview card wherever the link is shared, rather than showing a bare blue hyperlink. It quickly became a de facto cross-platform standard: Facebook, LinkedIn, Slack, Discord, WhatsApp and most other link-preview systems read the same `og:` meta tags, which is why a single set of Open Graph tags typically covers the majority of platforms your content might be shared on, even ones that had nothing to do with Facebook's original design. Twitter (now X) built its own parallel `twitter:` tag namespace around the same time but, critically, falls back to reading standard Open Graph tags for any `twitter:` field you don't explicitly set — so in practice most pages only need to add one or two Twitter-specific tags (mainly `twitter:card`) on top of a complete Open Graph set, rather than duplicating everything.
The core Open Graph tags are `og:title`, `og:description`, `og:image`, `og:url` and `og:type`. Unlike a page's own `<title>` and meta description, which are written primarily for search engines and can be fairly long, Open Graph fields are written for a much smaller, denser card format and are truncated more aggressively by each platform — which is why this tool's preview truncates the title to roughly 60 characters and the description to roughly 90-100 characters, mirroring the space most platforms actually render before cutting text off with an ellipsis. `og:type` (this tool defaults to "website", with "article" as the other common choice for blog posts and news content) affects which additional structured fields a platform expects and can influence how the card is laid out. `og:image` deserves particular care: platforms typically require a minimum resolution (Facebook recommends at least 1200×630px) to render a large, high-quality card instead of falling back to a small thumbnail or no image at all, and a missing or broken image URL is one of the most common reasons a shared link looks unexpectedly plain — this tool shows a grey placeholder card whenever the image field is empty, so you can see exactly what visitors will see if you forget to set one.
`twitter:card` controls Twitter/X's card layout specifically: "summary" renders a small square thumbnail beside the text, while "summary_large_image" renders a full-width image above the text, which is the more visually prominent and generally preferred option for content where the image matters (most blog posts, products and articles). Twitter reads `og:title`, `og:description` and `og:image` automatically as fallbacks for the equivalent `twitter:` fields, so this tool only needs to ask for the card type on top of the shared Open Graph fields already entered.
A properly configured Open Graph and Twitter Card setup is worth the small amount of markup it takes, because a share card is frequently the very first impression of a link a person sees, well before they decide whether to click through — a missing image, a truncated or auto-generated title, or a generic fallback description measurably suppresses click-through rate compared with a deliberately written, correctly sized card. Because platforms cache the scraped Open Graph data (sometimes for days), it's also worth knowing that updating these tags after a link has already been shared won't retroactively fix existing shared posts — each platform has its own debugging/cache-refresh tool (Facebook's Sharing Debugger, for instance) for forcing a re-scrape once you've corrected the tags.
Details & Tips
Tags generated:
<meta property="og:title" content="{ogTitle}">
<meta property="og:description" content="{ogDescription}">
<meta property="og:image" content="{ogImage}">
<meta property="og:url" content="{ogUrl}">
<meta property="og:type" content="{ogType}">
<meta name="twitter:card" content="{twitterCard}">
Preview truncation (matches typical platform display limits):
• Title: truncated at 60 characters with "…" if longer.
• Description: truncated at 90 characters (Facebook/LinkedIn-style cards) or 100 characters (Twitter/X-style card) with "…" if longer.
Edge cases handled automatically: an empty og:image shows a grey placeholder block in all three preview cards, matching what visitors actually see when no image is set, rather than hiding the image slot. An empty og:url shows a placeholder "example.com" domain label under the title in the preview, since platforms display the link's domain as part of the card regardless of the full URL. Title and description previews recompute live as you type, always truncating from the current input rather than the full, untruncated meta tag value shown in the code output below.
Frequently Asked Questions
What is Open Graph?
A protocol Facebook introduced in 2010 that lets a web page describe itself with a title, description, image and type using og: meta tags, so any platform reading those tags can render a rich preview card instead of a bare link. Most platforms besides Facebook (LinkedIn, Slack, Discord, WhatsApp) read the same tags.
Do I need separate Twitter Card tags, or does Open Graph cover it?
Twitter/X falls back to your og:title, og:description and og:image automatically for any twitter: field you don't set explicitly, so in most cases you only need to add twitter:card on top of a complete Open Graph set, rather than duplicating every field.
What size should my og:image be?
Facebook recommends at least 1200×630px for a large, high-quality card. Smaller or missing images often fall back to a small thumbnail or no image at all, which is one of the most common reasons a shared link looks unexpectedly plain.
What is the difference between summary and summary_large_image for Twitter cards?
"summary" shows a small square thumbnail beside the text. "summary_large_image" shows a full-width image above the text — more visually prominent, and generally preferred for content where the image matters, like blog posts and products.
Why does my preview text get cut off with "…"?
Platforms truncate og:title and og:description more aggressively than a page's own <title> and meta description, since share cards are a much smaller, denser format. This preview mirrors those typical truncation points (roughly 60 characters for titles, 90-100 for descriptions) so you can see what visitors will actually see.
I updated my Open Graph tags but the shared link still shows the old preview — why?
Platforms cache scraped Open Graph data, sometimes for days, so changing your tags does not retroactively update posts that were already shared. Each platform has its own cache-refresh tool (e.g. Facebook's Sharing Debugger) to force a re-scrape after you've corrected the tags.
What is og:type used for?
It tells platforms what kind of content the page represents — "website" is the general default, "article" is common for blog posts and news content and can enable additional article-specific fields on some platforms. It can also subtly affect how a platform lays out the resulting card.
What happens if I leave og:image empty?
The preview cards show a grey placeholder block, matching what most platforms display (a plain text-only card, or no card at all) when no image is provided or the image URL is broken.
Does the og:url tag need to match the exact page URL?
It should — og:url tells platforms the canonical URL to associate with the shared content, so that likes, shares and comments across different sharing instances of the same page consolidate onto a single URL rather than fragmenting across variants.
Can I use this tool without an og:image if my page has no relevant image?
Yes, though a card without an image is generally less eye-catching in a social feed and tends to get fewer clicks. If no single image fits, consider a generic branded fallback image sized to at least 1200×630px rather than leaving the field empty.
Is my data sent anywhere when I use this tool?
No. Both the preview and the generated meta tags are built entirely in your browser using JavaScript — nothing you enter, including any image URL, is transmitted, logged, or stored by this site.
Part of These Collections
Also Available As
open graph preview, og image preview, facebook share preview, twitter card preview, open graph generator, social media preview tool
Explore More Tools
View all tools
CC
Concrete Calculator
Math
GT
Gradient Text Generator
CSS
HF
HTML Formatter & Minifier
Developer Tools
RS
Readability Score Checker
Text & Writing
CC
Currency Converter
Generators
DL
DNS Lookup
Network & IT
XF
XML Formatter, Minifier & Validator
Developer Tools
CT
CSV to JSON Converter
Developer Tools
Found a Problem?
Let us know if something with Open Graph Preview isn't working as expected.
Something went wrong. Please try again.
Thanks — we'll take a look.