Frequently Asked Questions
What is the OG Preview Tool?
The OG Preview Tool is a free online tool that helps you preview how your Open Graph (OG) tags will appear on major social platforms before publishing. You can edit title, description, and image in real time while viewing share card previews across Facebook, Twitter/X, LinkedIn, Slack, WeChat, Pinterest, Discord, and Google SERP — 8 platforms total — and generate ready-to-use meta tag code with one click.
What are Open Graph tags?
Open Graph (OG) is a metadata protocol introduced by Facebook in 2010. By adding <meta property="og:*"> tags in your page's <head>, you can control the title, description, and preview image shown when your page is shared on social platforms. Virtually all major social platforms and messaging apps support the OG protocol.
Is my data safe?
Absolutely. This tool is purely frontend — all processing happens in your browser:
- Text you enter is never sent to any server
- Uploaded images stay in your browser (using blob URLs)
- No registration or login required
- No cookie tracking
Why is the recommended image size 1200×630?
1200×630 pixels (1.91:1 aspect ratio) offers the best cross-platform compatibility:
- Facebook: Recommends 1200×630 (1.91:1)
- LinkedIn: Recommends 1200×627 (≈1.91:1)
- Twitter/X: Recommends 1200×600 (2:1), but 1200×630 works well
- WhatsApp: Recommends 1200×630
Using this size provides good display across most platforms with a single image. When images are too small (e.g., under 200×200), Facebook may fall back to text-only display.
What are the character limits for title and description?
This tool uses the following reference limits:
- Title: 60 characters
- Description: 160 characters
These numbers come from platform best practices:
| Platform | Recommended Title | Recommended Description |
|---|
| Facebook | ≤ 60 chars | ≤ 65 chars (1 line only) |
| Twitter/X | ≤ 70 chars | ≤ 130 chars |
| LinkedIn | ≤ 70 chars | Not displayed |
| Google SERP | ≤ 60 chars | ≤ 160 chars |
The red warning appears when limits are exceeded, but it doesn't mean you must shorten — it's just an awareness indicator.
Why does WeChat only show a small image?
This is WeChat's design decision. When sharing links in WeChat, OG images are cropped to a small square thumbnail (approximately 48×48 or 60×60 pixels) displayed to the right of the title. This means:
- Small text in images is barely visible
- Image impact is far less than on Facebook or Twitter
- Title copy matters much more in WeChat
If WeChat is your primary sharing channel, focus on optimizing og:title rather than the image.
What's the difference between Twitter Cards and OG tags?
Twitter Cards are Twitter/X's own metadata standard using the twitter: prefix. The relationship is a fallback mechanism:
- If both
twitter:title and og:title are set, Twitter uses twitter:title
- If only
og:title is set, Twitter uses it automatically
- If neither is set, Twitter uses the
<title> tag
Best practice is to set both (this tool's code generation includes both by default) to ensure optimal display everywhere.
What are the twitter:card types?
twitter:card has four types:
| Type | Effect |
|---|
summary | Small square image + title + description |
summary_large_image | Large banner image + title + description (recommended) |
app | App download card |
player | Video/audio player embed |
This tool defaults to summary_large_image because it provides the largest image display area and best visual impact.
Why isn't the platform showing my updated OG tags?
Social platforms cache previously crawled OG data. After modifying OG tags, you need to manually clear the cache:
- Facebook: Use Sharing Debugger, enter URL, click "Scrape Again"
- Twitter: Use Card Validator
- LinkedIn: Use Post Inspector
- Slack: Resend the link in chat — Slack auto-refreshes
- Discord: Delete the message and resend the link
This tool provides quick links to these debug tools below the code output area.
Do OG tags affect SEO?
OG tags don't directly affect search engine rankings. But they help SEO indirectly:
- Higher social CTR: Good OG tags make links more attractive on social platforms
- More backlink opportunities: More shares → more potential backlinks
- Title candidate: Google may use
og:title as a search result title source
- Brand searches: More social exposure → more branded search queries
How do I set OG tags in an SPA (Single Page Application)?
Social platform crawlers typically don't execute JavaScript, so OG tags generated via client-side rendering won't be crawled. Solutions:
- SSR (Server-Side Rendering): Use Next.js, Nuxt.js, etc. to output OG tags server-side
- SSG (Static Site Generation): Generate static HTML with OG tags at build time
- Prerendering services: Use Prerender.io or similar to serve pre-rendered pages to crawlers
How can I check my website's existing OG tags?
Several methods:
- View source: Right-click → View Page Source → search for
og:
- Browser extensions: Install an OG tag checker extension (e.g., Open Graph Preview)
- curl command:
curl -s https://example.com | grep "og:"
- Platform debug tools: Use Facebook Debugger to see all crawled OG data
Does this tool support fetching existing OG tags from a URL?
Not currently. This is a deliberate design decision — to protect your privacy, this tool never sends requests to any server. All operations run in your browser, and you manually input content for preview and debugging.
To check live page OG tags, use the platform debug tool links provided below the code area.
Why might the preview differ from actual sharing?
This tool simulates previews based on each platform's published design specs, but minor differences from actual shares may occur because:
- Platforms may update their UI at any time
- Different devices/screen sizes display differently
- Platforms may post-process titles/descriptions (truncation, line wrapping)
- Actual image crop positions may vary by algorithm
Use this tool as a quick preview and debugging starting point, and verify with official platform debug tools for the final result.
Can one image work across all platforms?
Mostly yes. A 1200×630 pixel image works well on most platforms. But if you care about a specific platform:
- Pinterest: 2:3 portrait images (1000×1500) perform better
- Twitter/X: 2:1 (1200×600) is the ideal ratio
- WeChat: Since it only shows a small square thumbnail, image details matter less
If resources allow, you can serve different image sizes based on crawler User-Agent on the server side, but this requires additional technical implementation.