About Open Graph tags
This tool generates Open Graph and Twitter Card meta tags so your links show a rich preview — title, description and image — when shared on Facebook, LinkedIn, X and other platforms. A live card shows how it will look, and you copy the ready-to-paste HTML. It runs in your browser.
How Open Graph Generator works
How to use it
- Enter the title, description, page URL and an image URL.
- Check the live preview card.
- Copy the og: and twitter: tags into your page <head>.
How it works
Social platforms read special meta tags (prefixed og: for Open Graph and twitter: for Twitter Cards) to build the preview shown when a link is posted. This tool writes those tags from your inputs so the preview shows the right title, summary and image instead of a guess.
Image tips
Use an image around 1200×630 pixels for the large card. Make sure the image URL is publicly reachable, or platforms cannot fetch it.
Common uses
- Add rich link previews to a page
- Control how a page looks when shared
- Set a custom share image
- Generate Twitter Card tags
- Improve social click-through
- Fix a missing or wrong share preview
- Add og: tags to a blog post
- Set up sharing for a product page