Custom Web Audits
Run Audit Demo Audit Audit Types Free Tools Pricing What We Analyze 🔒 Login
← All free tools
🖼️

Open Graph Tag Generator

Build a complete set of Open Graph and Twitter Card meta tags from your page so your links share with the right title, description and image on Facebook, LinkedIn and X.

⚡ Interactive demo — sample data
Generated a full set of Open Graph and Twitter Card tags from this sample page — ready to paste into your <head>.
Generated og:title, og:description, og:type and og:url Looks good
Added Twitter Card tags (twitter:card set to summary_large_image) Looks good
og:url set to the canonical page URL Looks good
No og:image found — add a publicly reachable 1200×630 share image Warning
Reminder: re-scrape the URL in a sharing debugger so platforms pick up the new tags Warning

About this tool

Build a complete set of Open Graph and Twitter Card meta tags from your page so your links share with the right title, description and image on Facebook, LinkedIn and X.

How it works

Enter your page URL
Paste any public page URL and run the generator. We fetch the page and read its existing Open Graph tags, title, description and any share image so the tags we build reflect your real content instead of placeholders.
Review the generated tags
You get a full set of Open Graph tags — og:title, og:description, og:image, og:type and og:url — plus matching Twitter Card tags, laid out as a clean HTML block. We flag what's already present and what's missing, like a share image, so you know exactly what to fill in.
Copy or download and add to your <head>
Copy the snippet into the <head> of your page, or download the open-graph-tags.html file. After it's live, test the link in a sharing debugger or by posting it to confirm the right title, description and image appear in the preview.

What we check

Common issues we catch

Where this matters

Frequently asked questions

What are Open Graph tags?
Open Graph tags are meta tags in the <head> of a page that tell social platforms how to display the page when someone shares its link. They control the title, description, image and URL of the preview card you see on Facebook, LinkedIn and similar sites.
What's the difference between Open Graph and Twitter Card tags?
Open Graph is the shared standard most platforms read, while Twitter Card tags are X's own set. X falls back to Open Graph when Twitter Card tags are missing, but including both gives you precise control over how the card looks on X specifically.
What size should my og:image be?
1200×630 pixels is the standard for the large-image preview card and displays cleanly across the major platforms. Smaller or oddly-shaped images can be cropped awkwardly or shown as a small thumbnail, so match the recommended dimensions.
Why isn't my new image showing when I share a link?
Platforms cache the preview from the first time a link is shared. After updating your og:image, run the URL through that platform's sharing or link debugger to force a re-scrape, which refreshes the cached card with your new image and text.
Do Open Graph tags affect my SEO ranking?
Not directly — they don't change where you rank in search results. Their value is engagement: a strong share preview earns more clicks and shares on social, which drives traffic and can build links and brand visibility over time.
Does the og:image need to be a full URL?
Yes. Social crawlers fetch the image from their own servers, so og:image must be an absolute URL including the scheme and domain, not a relative path. A relative URL is a frequent reason an image fails to appear in the preview.
Where do I add these tags?
Inside the <head> section of your page's HTML. If your platform or an SEO plugin already outputs some OG tags, update those rather than adding duplicates — conflicting tags can produce an unpredictable preview.
Can I use different tags on each page?
Yes, and you should. Each page deserves its own og:title, og:description, og:image and og:url so it shares with relevant content. A common bug is every page inheriting the homepage's tags, which makes individual pages look generic when shared.

This is one of several free SEO tools from Custom Web Audits. For a complete, prioritized analysis of your whole website, run a full audit.