About the Open Graph Generator
FreeToolr's Open Graph Generator creates the HTML tags that control link previews across Facebook, LinkedIn, WhatsApp and Slack. It also creates X card tags for posts shared on X. Enter a title, description, page URL, image URL, site name, type and an optional X username. Choose Website or tool, Article or blog post, or Product. The results update instantly, so you do not need a calculate button. Copy the generated tags into your page's head element. You can also share a link that reopens the tool with your entered values. The tool runs in your browser, and nothing is uploaded. Use a publicly available 1200 x 630 px image under 5 MB. The focused fields keep the process shorter than tools that fetch pages or ask for extra social metadata.
How to use it
- 1Enter the page title, description, absolute page URL, image URL, site name and type.
- 2Choose Website or tool, Article or blog post, or Product.
- 3Add an X username if you want a twitter:site tag.
- 4Copy the Open Graph and X card tags into your page's head element.
- 5Share the tool link to reopen it with your entered values.
Worked example
Enter Title: Free VAT Calculator. Enter Description: Estimate VAT on a purchase with this free online calculator. Enter Page URL: https://example.com/vat-calculator. Enter Image URL: https://example.com/images/vat-card.jpg. Enter Site name: Example Tools. Choose Website or tool. Enter X username: @exampletools. The result includes <meta property="og:title" content="Free VAT Calculator">, <meta property="og:image:width" content="1200">, <meta property="og:image:height" content="630">, <meta name="twitter:card" content="summary_large_image"> and <meta name="twitter:site" content="@exampletools">.
How it works
Open Graph tags (from the ogp.me protocol) control the title, text and image shown when a link is shared on Facebook, LinkedIn, WhatsApp and SlackX reads its own twitter: tags and falls back to Open GraphUse a 1200 x 630 px image under 5 MBResults update instantly as the visitor types; there is no calculate buttonSource: Open Graph ProtocolX Cards markup documentation. Last checked 3 November 2026.
What it is good for
- Creates Open Graph and X card tags together.
- Updates results instantly as you type.
- Keeps all processing in your browser.
- The tool does not upload or verify your image URL.
- Social platforms can cache old titles, descriptions and images.
Questions people ask
Where should I put the generated tags?
Paste them inside the page's <head> element. Use the tags on the same page named by your Page URL.
What image should I use?
Use a publicly available image URL with a 1200 x 630 px image under 5 MB. This size suits common social link previews.
Do I need both Open Graph and X card tags?
Use both for clearer control across platforms. X reads its own twitter: tags and can fall back to Open Graph.
What does the Page URL field need?
Enter the absolute URL of the page, such as https://example.com/tools. Use the page's main or canonical URL when possible.
Does this tool upload my page or image?
No. FreeToolr runs the generator in your browser, and nothing is uploaded. The tool uses the values you type to create the tags.
Why does a social preview still show old information?
Facebook, LinkedIn, WhatsApp, Slack and X can cache metadata. Refreshing the platform's cached copy may be needed after you change the tags.
Do Open Graph tags improve Google rankings?
They mainly control link previews, not direct Google ranking signals. Better previews can still help people understand and share your page.
Help keep every tool free
FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.