LinkedIn Meta Tags: OG Setup & Post Inspector Guide
LinkedIn uses Open Graph meta tags to render link previews in the feed, messages, and articles. Getting your LinkedIn preview right matters — especially for B2B content. This guide covers the required tags, image specifications, the Post Inspector tool, and common issues.
How LinkedIn Uses Meta Tags
When you share a URL on LinkedIn, their crawler fetches the page and reads Open Graph meta tags to generate a link preview.
LinkedIn’s crawler uses the user agent LinkedInBot. It reads standard OG tags and does not use Twitter Card tags as fallback — LinkedIn relies exclusively on OG tags and standard HTML meta tags.
The link preview card shows: an image (from og:image), a title (from og:title, fallback to <title>), a domain label, and the author name if available.
Required and Recommended Tags
Required: og:title (the headline of your post), og:image (the preview image — without it, LinkedIn shows a generic placeholder).
Recommended: og:description (2–3 sentence summary, truncated at ~300 characters), og:url (canonical URL of the page), og:type (use article for blog posts and pages).
Article-specific tags: For blog posts and articles, add article:published_time, article:modified_time, and article:author. LinkedIn uses these to display publication metadata.
<!-- LinkedIn-optimized meta tags -->
<meta property="og:title" content="Your Article Title" />
<meta property="og:description" content="A concise summary of the article content." />
<meta property="og:image" content="https://example.com/og-image.jpg" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="627" />
<meta property="og:url" content="https://example.com/article/" />
<meta property="og:type" content="article" />
<meta property="og:site_name" content="Example" />
<!-- Article-specific -->
<meta property="article:published_time" content="2026-03-06T08:00:00Z" />
<meta property="article:author" content="Jane Doe" />Image Requirements
LinkedIn has specific image requirements for link previews:
Recommended size: 1200 x 627 pixels (1.91:1 ratio). This produces the large preview card in the LinkedIn feed.
Minimum size: 200 x 200 pixels. Images below this threshold may not be displayed.
Maximum file size: 5 MB. Larger images may time out during fetching.
Formats: JPEG, PNG, GIF (static), WebP.
HTTPS required: LinkedIn only fetches images over HTTPS. HTTP image URLs are ignored.
Note on aspect ratio: LinkedIn crops images to 1.91:1 in the feed. If your image is square (1:1), the top and bottom will be cropped. Always center important content in the middle of the image.
LinkedIn Post Inspector
LinkedIn provides the Post Inspector tool at linkedin.com/post-inspector/ (requires LinkedIn login).
What it does: Enter a URL and the Post Inspector fetches the page, reads your OG tags, and shows exactly how the link preview will appear on LinkedIn. It also shows any warnings or errors.
Cache clearing: The Post Inspector also forces a re-scrape of the page. After updating your OG tags, paste the URL into the Post Inspector and click Inspect. This clears LinkedIn’s cache for that URL.
Limitations: The Post Inspector requires a LinkedIn account. It only works for publicly accessible URLs — pages behind authentication cannot be inspected.
LinkedIn-Specific Behaviors
No Twitter Card fallback: Unlike Facebook and Discord, LinkedIn does not read twitter:title, twitter:description, or twitter:image. You must use OG tags.
Caching duration: LinkedIn caches link previews for approximately 7 days. Use the Post Inspector to force a refresh.
Description not always shown: In mobile feeds and certain placements, LinkedIn may hide the og:description and show only the title and image. Keep your title informative enough to stand on its own.
Company page shares: When sharing from a LinkedIn Company Page, the same OG tags apply. The company name appears as the author of the post, not from any meta tag.
Multiple images: LinkedIn only reads the first og:image tag. Multiple images are not supported in link previews.
Troubleshooting LinkedIn Previews
For detailed troubleshooting steps, see Fix LinkedIn Link Preview Not Working.
Preview shows wrong image: Use the Post Inspector to force a re-scrape. Check that og:image uses an absolute HTTPS URL with the correct dimensions.
No preview at all: Verify that LinkedInBot is not blocked by robots.txt or server-side rules. Test: curl -A LinkedInBot https://yoursite.com/page/.
Old preview persists: LinkedIn caches aggressively (up to 7 days). The Post Inspector is the only way to force a cache refresh.
Image cropped incorrectly: Use 1200 x 627 pixels (1.91:1 ratio). Center important content. Avoid text near the edges of the image.
FAQ
No. LinkedIn reads only Open Graph tags and standard HTML meta tags. It does not use twitter:card, twitter:title, or any other Twitter-specific tags.
1200 x 627 pixels (1.91:1 aspect ratio) for the large preview card. This is slightly different from Facebook's recommended 1200 x 630 pixels, but both work on either platform.
Use the LinkedIn Post Inspector. Enter your URL and click Inspect. This forces LinkedIn to re-fetch your page and update the cached preview.
There are no LinkedIn-specific meta tags (unlike Facebook's fb:app_id). The standard OG tags control the LinkedIn preview. If you need a different image or title for LinkedIn vs. Facebook, you would need server-side user-agent detection, which is not recommended.
LinkedIn's mobile app may crop images differently and sometimes hides the description text. Always use the recommended 1200 x 627 image size and keep important content centered to ensure it looks good on both desktop and mobile.