What this Open Graph generator creates
Enter your page details to generate Open Graph and Twitter Card meta tags for the HTML <head>. The output updates as you type. Copy the markup after reviewing it, then check the published page with the Open Graph Checker.
The card beside the form is a simulation using your inputs. Each platform fetches and renders a shared URL independently, so the layout, crop, text and cached version can differ.
Required Open Graph properties and optional fields
The Open Graph protocol requires four basic properties: og:title, og:type, og:image and og:url. Fill the title, page URL and image URL, and keep a suitable type. The type starts as website; use article for an article. Other object types can require additional metadata that this form does not provide.
| Form field | Generated tags | What to enter |
|---|---|---|
| Title | og:title, twitter:title |
A title that accurately describes the page |
| Description | og:description, twitter:description |
A short page summary; optional in the OG protocol but recommended |
| URL | og:url |
The full preferred public URL of the page |
| Image URL | og:image, twitter:image |
A full public image URL |
| Site name | og:site_name |
Your own site name; optional |
| Twitter / X handle | twitter:site |
Your site's account handle, such as @yourhandle; optional |
| Type | og:type |
A type appropriate for the page, such as website or article |
The output always requests twitter:card="summary_large_image". Title, description and image values are shared between OG and Twitter tags. Blank fields are omitted, so a partially filled form produces partial metadata.
Add the generated tags to your page
- Enter the page title, full page URL, full image URL and appropriate type. Add a description and your own optional site details.
- Review the generated code. Quotation marks, ampersands and angle brackets are escaped for HTML attributes; type ordinary text rather than pre-escaped HTML entities.
- Copy the tags into the page's
<head>. If a CMS, SEO plugin or framework already generates these tags, update that metadata instead of adding a conflicting second set. - Publish, inspect the initial page HTML and run the Open Graph Checker or Twitter Card Validator to review the extracted tags.
- Check the actual share on your target platform. The generator cannot refresh a platform's cached preview.
og:url identifies the preferred page URL for Open Graph. It does not create an HTML rel="canonical" link. Use the Canonical URL Generator if you also need that separate tag, or Meta Tag Studio for search and social metadata together.
Image and preview limitations
Enter an image URL, rather than uploading a file here. Host the image at a stable public URL that social crawlers can fetch without signing in. Seeing it in your browser does not prove that a platform's crawler can retrieve it.
The generator uses one image and a fixed simulated card ratio. It does not check image dimensions, file size, HTTP status, robots rules or platform eligibility. It also does not generate og:image:alt, image dimensions, locale, article-specific properties or a complete page document. Add any extra metadata your page needs in your website's metadata settings or code.
Processing and privacy
Tag text is generated in browser memory. Loading the simulated image sends a request to the image's host, which can receive normal request information. Copying puts the HTML on your clipboard. Use public image URLs and avoid confidential values in shared or copied output.
Open Graph tags and search visibility
These tags describe preferred social link previews. They do not guarantee more clicks, traffic or higher Google rankings. Keep your search title, meta description, canonical link and indexing settings accurate separately. Google's supported meta tags documentation explains the metadata it uses for Search.