Open graph meta generator
Generate open-graph and socials HTML meta tags for your website.
About Open graph meta generator
Generates the Open Graph and Twitter Card meta tags that control how a page looks when shared on social networks and in chat apps: title, description, image, URL, page type and the type-specific fields for articles, books, profiles, music and video.
When you would use it
- Adding share previews to a new website, landing page or blog.
- Fixing a link that shows no image or the wrong title when pasted into Slack, Facebook, X or LINE.
- Producing the right tags for an article (author, publish date) or a video page.
How to use it
- Choose the page type and fill in the title, description, URL and image.
- Fill in the type-specific fields and the Twitter card settings if you want them.
- Copy the generated tags into the <head> of your page.
Things worth knowing
- Use an absolute URL for og:image (https://...), and an image of at least 1200×630 pixels for large previews. Many platforms reject relative paths and small images.
- Platforms cache previews aggressively. After changing tags, use their debug tools (Facebook Sharing Debugger, LinkedIn Post Inspector, X Card Validator) to refresh the cache.
- Tags must be in the HTML served to crawlers. Pages that only add them with JavaScript after loading are usually not read by social scrapers.
- Keep og:title under about 60 characters and og:description under about 160, as longer values are truncated in previews.
Frequently asked questions
- Why does my link preview not update after I changed the tags?
- The platform cached the old version. Run the URL through the platform's sharing debugger to force a re-scrape, or append a query parameter to the URL as a last resort.
- Do I need both Open Graph and Twitter tags?
- X falls back to Open Graph tags when Twitter tags are missing, but twitter:card is needed to get the large-image layout. Most sites include both sets.