Open Graph for LinkedIn
How to optimize Open Graph meta tags for LinkedIn posts, image dimensions (1200x627), cache invalidation using Post Inspector, and formatting tips.
LinkedIn is the world’s largest professional network, making link preview optimization critical for business content, blog posts, and marketing campaigns. A well-formatted LinkedIn link preview can increase post engagement and Click-Through Rate (CTR) by over 200%.
This guide covers everything you need to know about setting up and troubleshooting Open Graph meta tags for LinkedIn.
Required Open Graph Tags for LinkedIn
LinkedIn’s crawler (LinkedInBot) relies strictly on standard Open Graph protocol properties. To generate a rich preview card, your page must include:
<meta property="og:title" content="Your Professional Article Headline" />
<meta property="og:type" content="article" />
<meta property="og:image" content="https://example.com/images/linkedin-banner.png" />
<meta property="og:url" content="https://example.com/blog/article-slug" />
<meta property="og:description" content="A concise, professional summary of your article content." />
LinkedIn Image Specifications
| Specification | Recommended Value |
|---|---|
| Recommended Dimensions | 1200 × 627 pixels |
| Minimum Dimensions | 200 × 200 pixels |
| Aspect Ratio | 1.91:1 |
| Max File Size | 5 MB |
| Supported Formats | PNG, JPEG, GIF |
Small vs. Large Preview Cards on LinkedIn
- If your
og:imageis at least 1200 × 627 pixels, LinkedIn displays a prominent large banner card. - If your image is smaller than 200 × 200 pixels, LinkedIn displays a small square thumbnail next to text or skips the image entirely.
Clearing LinkedIn Cache (Post Inspector)
LinkedIn caches URL preview data for 7 days. If you update your page’s title, description, or image, LinkedIn will continue displaying the old version to users.
To force LinkedIn to clear its cache and fetch fresh tags immediately:
- Open the official LinkedIn Post Inspector.
- Enter your page URL and click Inspect.
- LinkedIn will immediately re-crawl your page and show the updated preview card.
- Future shares on LinkedIn will now use the refreshed data.
For a detailed guide on multi-platform caching fixes, see How to Fix Missing Link Previews on LinkedIn & WhatsApp.
LinkedIn Best Practices
- Title Length: Keep
og:titleunder 60 characters to avoid truncation on mobile feeds. - Description Length: Keep
og:descriptionunder 150 characters. LinkedIn truncates longer descriptions with an ellipsis (...). - High Contrast Graphics: Dark background images with high-contrast text render best in LinkedIn’s feed (which supports both Light and Dark mode).
Related Resources
- How to Fix Missing Link Previews on LinkedIn & WhatsApp
- Open Graph Image Size Guide
- How to Test Open Graph Tags
- Inspect your LinkedIn tags with our Open Graph Inspector