Open Graph & Twitter Card Generator

Make your links look great everywhere they are shared. This free Open Graph and Twitter Card generator builds the meta tags that control the title, description, and image shown on Facebook, LinkedIn, X, Slack, and more — with a live social preview as you type.

How to use the Open Graph generator

Enter your title, description, page URL, and an image URL. The preview shows how your link will look when shared, and the tool generates both Open Graph (og:) and Twitter Card meta tags. Copy them into the <head> of your page. For the best results, use an image at least 1200×630 pixels.

Frequently asked questions

What are Open Graph tags?

Open Graph tags are meta tags (starting with og:) that tell social platforms what title, description, and image to display when someone shares your URL. Without them, platforms guess, often poorly.

What image size should I use for social sharing?

1200×630 pixels (a 1.91:1 ratio) is the safe standard for large link previews on Facebook, LinkedIn, and X. Keep important content away from the edges in case of cropping.

Do I need both Open Graph and Twitter tags?

X (Twitter) falls back to Open Graph tags if Twitter Card tags are missing, but adding both gives you the most control. This tool generates both for you.

See your site’s full SEO score — free.Instant audit, 10 checks, no signup to see it.
Run free audit →
Free tools →My toolkit →Locations →Comparisons →
Start free with all 34 tools — no credit card, cancel anytimeStart Free