Open Graph Generator
Workspace
What is the Open Graph Generator?
The Open Graph Generator builds Open Graph <meta property="og:..."> tags that control the title, description, image, and link shown when a page is shared on Facebook, LinkedIn, and other platforms that read Open Graph tags. You paste the tags into the <head> of your page.
The workspace has five inputs: og:title, og:description, og:url, og:image, and an og:type dropdown (Website, Article, Product).
How to Use the Open Graph Generator
- Enter the
og:title, for exampleExample OG Title. - Enter the
og:description, for exampleAn example Open Graph description. - Enter the absolute
og:url, for examplehttps://example.com/og-page. - Enter the absolute
og:imageURL, for examplehttps://example.com/og-image.jpg. - Choose the
og:type(Website, Article, or Product). - Click Process.
- Copy the Generated Code and paste it into the
<head>of your page. Check the site name line before publishing (see Limitations). - Click Clear to start over.
Worked Example
Input tested on this page: title Example OG Title; description An example Open Graph description.; URL https://example.com/og-page; image https://example.com/og-image.jpg; type Website.
Observed output:
<meta property="og:title" content="Example OG Title"> <meta property="og:description" content="An example Open Graph description."> <meta property="og:url" content="https://example.com/og-page"> <meta property="og:type" content="website"> <meta property="og:image" content="https://example.com/og-image.jpg"> <meta property="og:site_name" content="NOFYI">
Limitations
- The tool adds
<meta property="og:site_name" content="NOFYI">automatically, even though there is no site-name field. ReplaceNOFYIwith your own site name before publishing. - It does not validate the image URL, image size, or aspect ratio, and it does not fetch the image.
- It does not show a preview of the share card and does not check each platform’s current requirements.
- It does not add the tags to your site for you. You must paste them and test the shared link on each platform.
Frequently Asked Questions
What og:type should I choose?
Use website for a general page, article for a news or blog post, and product for a product page. The type tells platforms what kind of content the URL represents.
What image should I use?
Use an absolute URL to a publicly reachable image. Platforms publish recommended sizes and ratios that change over time, so check the current guidance for each platform and test the shared link.
Will the preview always appear?
No. Platforms decide whether and how to render a preview, and they may cache an older version. Valid tags are necessary but not a guarantee.
Can I use relative URLs?
Use absolute URLs including https:// for og:url and og:image. Relative URLs are more error-prone when a link is shared off-site.
Related Tools
From the Blog
How to Split a Bill Fairly (With Tip and Tax, Without the Awkward Maths)
Quick Answer Agree the method before ordering, split the food by what each person ordered, and split tax and tip in proportion…
Read article →How to Use the Pomodoro Technique to Actually Finish Your Work
Most productivity advice tells you what to do and leaves the when to you. That is exactly where the day falls apart.…
Read article →How to Merge PDF Files Into One Document (Without Losing Pages)
You have five PDFs. Your bank wants one file. Your university wants one file. Your client wants one file. Merging them is…
Read article →