Web
Open Graph tag generator
Fill in the title, description, page URL, and image URL. Copy the meta tags into the head of the page. The SERP preview on this site is a Google result. These tags are for a social post.
Add a title, description, or image.
Example task
Enter a page title, description and image URL to draft social-sharing metadata, then validate the live page with the target platform.
How this works
og:title and og:description are the words in the share card. og:image should be a full URL. A picture around 1200 by 630 pixels is the usual large card. If you leave the image empty, the Twitter card is a summary without a large image.
The page does not load your site, so it cannot see a tag that is already published. Paste the new tags into the page template, then share the URL again. Apps cache old cards.
HTML tags from what you type. The page is not fetched, and a social app may still show a cached card.
Questions
Why does the share still show the old text?+–
Facebook, WhatsApp, and X keep a copy of the card. The tags have to be on the live page, and the app has to fetch them again.
Is this the same as a Google title?+–
No. The Google title and the snippet are separate. You can use the same words, but this file only writes the social tags.
Do I need og:type?+–
Use website for a normal page and article for a post. The tag is included when you have filled in at least one other field.
