Open Graph & Twitter Card Generator

Fill in a title, description, image and URL, watch how the link unfurls on X, LinkedIn, Slack and iMessage, and copy the complete set of Open Graph and Twitter Card tags.

  • Instant·Runs in your browser
  • No signup
  • Free

Page

Previews

X

Your page title

Your description appears here. Keep it under 200 characters for the cleanest unfurl.

yoursite.com

LinkedIn

Your page title

yoursite.com

Slack

yoursite.com

Your page title

Your description appears here. Keep it under 200 characters for the cleanest unfurl.

og-tags.html
<!-- Open Graph -->
<meta property="og:type" content="website">

<!-- Twitter / X -->
<meta name="twitter:card" content="summary_large_image">

How to use it

  1. 1Enter the page title, description and canonical URL.
  2. 2Paste the absolute URL of a 1200×630 image.
  3. 3Check the previews for truncation on each platform.
  4. 4Copy the tags into your page's <head>.

Frequently asked

What size should an og:image be?

1200×630 pixels (1.91:1) works everywhere and is the size most platforms request. Keep it under 5 MB and use an absolute HTTPS URL.

Do I need both Open Graph and Twitter Card tags?

X falls back to Open Graph when its own tags are missing, but twitter:card is needed to choose the large-image layout. Include both; the tool writes both.

Why isn't my preview updating on LinkedIn or Slack?

They cache the first fetch. Use LinkedIn’s Post Inspector or re-share with a query string (?v=2) to force a refresh.

Want this on autopilot?

Enter your site to see how often ChatGPT, Perplexity, Gemini, and Google cite your brand, and exactly what to publish next.

No credit card required · Free 7-day trial