Loona Automation logoLoona Developer Tools
Home › Developer Tools › Open Graph & Twitter Card Generator

Open Graph & Twitter Card Generator - Social Shares That Look Right

In short: the Open Graph & Twitter Card Generator builds the og: and twitter: meta tags that control how your page looks when shared on Facebook, LinkedIn, X and chat apps, with a live card preview.

A shared link with no image and a random title gets ignored. Fill in the fields, check the preview, and paste tags that make every share look deliberate.

Card preview

Image preview
Your title
Your description appears here.
example.com
Private by design: everything in this tool happens 100% in your browser with JavaScript. Your input is never uploaded to a server, never stored and never seen by us - close the tab and everything is gone.

How to use the Open Graph & Twitter Card Generator

  1. Enter the title and description you want shown on social platforms.
  2. Add the page URL and an image URL - 1200×630 pixels is the standard social size.
  3. Choose og:type and the Twitter card style.
  4. Check the card preview, then copy the block into your page <head>.

How it works

Open Graph tags (og:title, og:description, og:image, og:url, og:type) are read by Facebook, LinkedIn, WhatsApp and most chat apps; Twitter Card tags give X its own fields, falling back to the OG values when a twitter: tag is absent - which is why this generator emits both, mirroring title, description and image. All values are attribute-escaped. The preview approximates the large-image card layout; exact cropping varies by platform, which is why the 1200×630 (1.91:1) image size is recommended - it is the ratio every major platform accepts without cutting off the sides.

Frequently Asked Questions

Is this generator free?

Yes - completely free, no sign-up.

What image size should I use?

1200×630 pixels (1.91:1). It displays correctly on Facebook, LinkedIn and X without awkward cropping.

Why both OG and Twitter tags?

X reads twitter: tags first and falls back to OG tags. Emitting both guarantees the intended title, description and image everywhere.

My share preview is stale - why?

Platforms cache previews. Use Facebook's Sharing Debugger or X's Card Validator to force a re-scrape after updating tags.

Is anything uploaded?

No. Tags are generated in your browser; the preview image loads directly from the URL you enter.

Related Developer Tools

Embed this tool on your website — free

Add this tool to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the tool to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.