Log in
Sign up with Google

Social preview bot · LinkedIn

LinkedInBot is LinkedIn’s social preview bot

LinkedInBot is LinkedIn's link-preview fetcher. It loads shared URLs to build preview cards in posts and messages.

Our take

Allow

Blocking it breaks link previews on LinkedIn and reduces clicks from shared posts.

robots.txt token

User-agent: LinkedInBot

Activity

How LinkedInBot crawls

Requests per site per dayLAST 28 DAYS
Sep 10Sep 19Sep 28Oct 7
What it crawls30 DAYS
  • Content pages 56%
  • Home page 35%
  • Not found (404) 9.2%

01 · Operator

Who operates LinkedInBot

Company
LinkedIn

02 · Behavior

What LinkedInBot does

When a user shares a link on LinkedIn, the bot fetches the page. It reads the title, description and image to build the preview card.

03 · Impact

Why LinkedInBot matters for your site

If you allow it

  • Shared links show proper previews on LinkedIn
  • Supports visibility and clicks from LinkedIn

If you block it

  • Little value if you never want pages shared on LinkedIn

04 · Allow

How to allow LinkedInBot

robots.txt

User-agent: LinkedInBot
Allow: /

Cloudflare

# Security › WAF › Custom rules › Create rule
Expression: (http.user_agent contains "LinkedInBot")
Action:     Skip › All Super Bot Fight Mode rules

# Also check Security › Bots: "Block AI bots" can block it regardless of robots.txt.

WordPress

# WordPress serves a virtual robots.txt. Edit it with your SEO plugin:
# Yoast: SEO › Tools › File editor · Rank Math: General Settings › Edit robots.txt
User-agent: LinkedInBot
Allow: /

nginx

# nginx serves every user agent by default.
# Make sure no rule like this blocks it:
# if ($http_user_agent ~* "LinkedInBot") { return 403; }

Apache

# Apache serves every user agent by default.
# Make sure .htaccess has no rule like this:
# RewriteCond %{HTTP_USER_AGENT} LinkedInBot [NC]
# RewriteRule .* - [F,L]

05 · Block

How to block LinkedInBot

Start with robots.txt. If LinkedInBot keeps showing up in your logs, block it at your CDN or web server.

robots.txt

User-agent: LinkedInBot
Disallow: /

Cloudflare

# Security › WAF › Custom rules › Create rule
Expression: (http.user_agent contains "LinkedInBot")
Action:     Block

WordPress

# WordPress serves a virtual robots.txt. Edit it with your SEO plugin:
# Yoast: SEO › Tools › File editor · Rank Math: General Settings › Edit robots.txt
User-agent: LinkedInBot
Disallow: /

nginx

# In your server { } block:
if ($http_user_agent ~* "LinkedInBot") {
    return 403;
}

Apache

# .htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} LinkedInBot [NC]
RewriteRule .* - [F,L]
</IfModule>

06 · User agents

User agents we see for LinkedInBot

User agentShareLast seenStatus
LinkedInBot/1.0 (compatible; Mozilla/5.0; Apache-HttpClient +http://www.linkedin.com) 64% Unverified
LinkedInBot/1.0 (compatible; Mozilla/5.0; Apache-HttpClient +http://www.linkedin.com) 36% Verified

07 · Verification

Is it really LinkedInBot?

LinkedInBot’s operator publishes no IP ranges or hostnames, so requests cannot be verified. Treat the user agent as a claim, and watch your logs for unusual request rates.

IP addresses we saw from verified LinkedInBot requests

IP rangeShareLast seen
108.174.8.25 59%
108.174.8.21 41%

Always check against the operator’s current list; ranges change.

FAQ

Questions about LinkedInBot

What is LinkedInBot?

It is the agent LinkedIn uses to fetch shared links. It builds the preview card shown in posts and messages.

Should I block LinkedInBot?

Usually not. Blocking it can stop your links from showing a preview on LinkedIn.

Last reviewed Oct 8, 2026

Your site

See which pages LinkedInBot crawls on your website

Log Hero reads your server logs and shows every AI bot, every page, every day.

Sign up with Google

Free during early access