Open Graph & Twitter Card Generator — Free Social Meta Tags Tool | SmallStudyTools
100% Free · No Signup · Browser-Based

Open Graph & Twitter Card Generator

Build og: and twitter: meta tags from your page title, description, and image, with a live Facebook and X preview, nothing is uploaded, everything runs right in your browser.

● Pro Version is Free for now
✓ Twitter/X Card Tags · Site Name & Locale · Article Author/Date ·
✓ Side-by-Side Previews · Image Dimension Validator · Saved Profiles
Day Night
📝 Open Graph Details
Title (og:title)
0 / 60 recommended
Description (og:description)
0 / 160 recommended
Image URL (og:image)
Use a full absolute URL (starting with https://), ideally 1200×630px.
Page URL (og:url)
Page Type (og:type)
🐦 Twitter / X Card PRO
Card Type (twitter:card)
Same as Open Graph
Reuses your og:title, og:description & og:image for Twitter
Title (twitter:title)
Description (twitter:description)
Image URL (twitter:image)
👀 Live Preview
Facebook / LinkedIn
Twitter / X
✅ Your Meta Tags
🏷️ Site & Locale PRO
Site Name (og:site_name)
Locale (og:locale)
Locale uses the language_TERRITORY format, such as en_US, en_GB, or fr_FR.
📐 Image Dimension Validator PRO
Width (px)
Height (px)
💾 Saved Profiles PRO
No saved profiles yet. Fill in the tags above, then click "Save Current Tags" to keep this set here (stored only in this browser).

How to Use the Open Graph & Twitter Card Generator

Build your social meta tags, preview them, and copy them into your page, all in under a minute, entirely in your browser.

1
Fill In Your Page Details
Type your title, description, image URL, and page URL, then pick a page type: Website, Article, or Product.
2
Watch the Live Preview Update
A Facebook/LinkedIn-style card updates in real time as you type, so you see exactly what people will see before you publish.
3
Switch to Pro for Twitter/X
Pro Mode adds dedicated Twitter Card tags, a second live X preview, og:site_name & og:locale, and article author/date fields.
4
Check Your Image Size
Pro Mode's Image Dimension Validator checks your image against the recommended 1200×630 Open Graph and 1200×675 Twitter sizes.
5
Copy Into Your Page's <head>
Click Copy Tags and paste the <meta> block into your site's <head>, or save it as a named profile in Pro Mode to reuse later.

Everything above runs entirely in your browser using plain JavaScript. Your titles, descriptions, image URLs, and page URLs are never uploaded to a server.

Specifications
Price Free
Data Processing Local only, in your browser
Simple Mode og:title, og:description, og:image, og:url, og:type + Facebook preview
Pro Mode Adds Twitter Card tags, og:site_name/locale, article fields, dual preview, image validator, saved profiles
Found a bug or something not working right? Let us know and we'll fix it, every report helps make this tool better.
Report an Issue

Open Graph & Twitter Card Generator: Build Social Preview Tags, Free, Right in Your Browser

Quick answer: Fill in your title, description, image URL, page URL, and page type, and this tool generates the og: meta tags that control how your link looks when shared on Facebook, LinkedIn, Slack, and most other platforms. Switch to Pro to add dedicated Twitter/X Card tags, see both previews side by side, and check your image against the recommended sizes. It is free, with no signup, and nothing you type is ever uploaded to a server.

When a link is shared on Facebook, LinkedIn, Slack, or X, the platform does not read your page's visible content to build the preview card. It reads a handful of hidden og: and twitter: meta tags in your page's <head>. If those tags are missing, the preview falls back to whatever the platform can scrape on its own: often the wrong image, a truncated title, or no preview at all. This tool builds the correct tags from the details you type in, and shows you a live preview of the result before you ever publish anything.

The tags this generator produces follow the Open Graph protocol and X's own Card documentation, the same specifications search engines, link unfurlers, and chat apps already read. Nothing here is guesswork: every field maps to a documented, named meta tag, and the live preview mirrors the card layout those platforms actually render.

1What Open Graph and Twitter Card Tags Actually Do

og:title, og:description, og:image, and og:url are the four tags almost every platform looks for first. og:type tells the platform what kind of content the page is: website, article, or product, which can change how some platforms format the card. Pro Mode adds two more Open Graph tags, og:site_name (the brand name shown next to the domain) and og:locale (the content's language and region), plus article:author and article:published_time when the page type is article. Twitter Card tags are a separate set X reads first, checking its own twitter:card, twitter:title, twitter:description, and twitter:image tags before falling back to the Open Graph tags above, which is why Pro Mode lets you reuse your Open Graph content for Twitter or write it separately.

2The Image Size That Actually Matters

A commonly recommended size for og:image is 1200x630 pixels, an aspect ratio of roughly 1.91:1, matching how Facebook and LinkedIn crop the image into their card. For Twitter's summary_large_image card, a commonly recommended size is 1200x675 pixels, with a documented minimum of 300x157 pixels below which X will not reliably show a large image at all. An image that is too small, too square, or served over a relative path instead of a full https:// URL is the single most common reason a link preview shows no image, a cropped image, or a broken image icon. Pro Mode's Image Dimension Validator takes the width and height you plan to use and checks both of these targets directly, so you find out before you publish instead of after sharing a broken link.

3Simple vs Pro

FeatureSimplePro
og:title, og:description, og:image, og:url, og:type✓✓
Live Facebook/LinkedIn style preview✓✓
Copy generated tags to clipboard✓✓
Twitter Card tags (twitter:card, title, description, image)—✓
Side by side Facebook and Twitter/X live preview—✓
og:site_name and og:locale—✓
article:author and article:published_time for Article pages—✓
Image Dimension Validator against OG and Twitter targets—✓
Save named tag profiles (stored in this browser only)—✓

Simple Mode covers what most single pages need: a correct, complete Open Graph tag block and a preview to confirm it looks right. Pro Mode, currently free to use, is built for anyone managing tags across many pages or platforms at once: it adds the Twitter specific tags X checks before anything else, the fields larger sites and publications use, and a way to save a reusable profile instead of retyping the same site name and locale every time.

4Common Reasons People Use a Social Meta Tag Generator

📝
Bloggers Adding Tags to a New Post
🛍️
Store Owners Tagging Product Pages
🧑‍💻
Developers Fixing a Broken Link Preview
📣
Marketers Preparing a Campaign Landing Page
🧩
No Code Site Builders Needing Raw Meta Tags
📰
Publications Tagging Articles for Social Sharing

None of these need a developer tool, a browser extension, or a paid SEO platform subscription: a title, a description, an image URL, and a couple of minutes are enough to get a correct, complete tag block.

5Why Link Previews Break, and How This Tool Prevents It

A broken link preview is almost always one of three problems: a tag that is missing entirely, an og:image URL that is relative instead of absolute (platforms will not resolve a path like /images/cover.jpg on their own), or an image whose dimensions fall outside what the platform expects. Because this tool renders a live preview from the exact tags it is about to generate, you see the same title, description, and image crop a platform would show, before you publish, rather than discovering the problem after sharing a link and waiting for a cached preview to clear.

Privacy Note

Your title, description, image URL, page URL, and every other field you type are processed entirely by JavaScript running in your own browser. Nothing is uploaded, stored, or transmitted to a server at any point, in Simple Mode or Pro Mode, and saved profiles live only in this browser's local storage.

6Frequently Asked Questions

Is this Open Graph and Twitter Card generator really free, with no signup?
Yes. Fill in your title, description, image URL, and page URL and the tool builds a ready to paste meta tag block, free, with no account and no email address required. Everything runs inside your browser tab using JavaScript, so there is nothing to install and no usage limit.
What is the difference between Open Graph tags and Twitter Card tags?
Open Graph tags (the og: prefix) are a shared standard that Facebook, LinkedIn, Slack, WhatsApp, Discord, and most other platforms read to build a link preview. Twitter Card tags (the twitter: prefix) are X's own separate tag set; X reads twitter: tags first and only falls back to your og: tags if a twitter: tag is missing. Using both covers the widest range of platforms.
What image size should I use for og:image and twitter:image?
The commonly recommended size for og:image is 1200x630 pixels, an aspect ratio of about 1.91:1, which is what Facebook and LinkedIn crop to. For Twitter's summary_large_image card, 1200x675 is the commonly recommended size, with a documented minimum of 300x157 pixels. Pro Mode's Image Dimension Validator checks a width and height you enter against both.
Why is my link preview not showing an image on Facebook or LinkedIn?
The most common causes are a missing or relative og:image URL (it must be a full address starting with https://), an image file a crawler cannot reach, or a cached preview from before the tags existed. Checking your generated tags against the live preview in this tool, then re-sharing the link, resolves most cases.
What is the difference between Simple and Pro?
Simple Mode covers the core Open Graph tags: og:title, og:description, og:image, og:url, and og:type, plus a live Facebook style preview. Pro Mode, currently free to use, adds full Twitter Card tags with a second live X preview, og:site_name and og:locale, article:author and article:published_time for article pages, an image dimension validator, and the ability to save named tag profiles in your browser.

Grounded in the documented Open Graph and Twitter Card specifications. The tags, attributes, and recommended image dimensions this tool uses follow the Open Graph protocol and X's Cards documentation, rather than an arbitrary or estimated set of fields.

More SEO & GEO Tools

Every other tool in the SEO & GEO Tools category

Meta Tag Generator Generates title, description & keyword meta tags, ready to paste
SERP Snippet Preview Shows exactly how your page will look in Google search results
Keyword Density Checker Scans your content and reports keyword frequency & prominence
XML Sitemap Generator Turns a list of URLs into a valid sitemap.xml file
Robots.txt Generator Builds a correct robots.txt with simple allow/disallow rules
Schema / JSON-LD Markup Generator Builds FAQ, Article, HowTo, Product & Breadcrumb structured data
Meta Title & Description Length Checker Checks character & pixel-width so Google won't truncate it
Canonical Tag Generator Generates the correct <link rel="canonical"> tag for a URL
UTM Campaign URL Builder Builds trackable campaign links with source/medium/campaign params
.htaccess Redirect Generator Generates 301/302 redirect rules for Apache or Nginx
Hreflang Tag Generator Builds hreflang tags for multi-language & multi-region pages
URL Slug Generator Turns any title into a clean, SEO-friendly URL slug
llms.txt Generator Builds an llms.txt file so AI models understand & prioritize your site
AI Crawler Access Generator Allow or block GPTBot, ClaudeBot, PerplexityBot & Google-Extended by name
FAQ / Q&A Schema Generator The same Schema/JSON-LD tool, FAQ markup is what AI engines quote most
AI Answer & Citation-Readiness Checker Scores your content on what AI engines look for when picking what to cite
Direct-Answer Box Formatter Reshapes a paragraph into the concise answer block AI engines tend to lift
Question-Heading Rewriter Turns keyword-style headings into natural questions people actually ask
Lilly
Here to help you find a tool
Search tools Search blogs
Try me to find a tool! 👋