LinkedIn

LinkedIn sizes, specs, and posting limits

LinkedIn accepts up to 20 photos or GIFs, or one MP4 video. An image must contain fewer than 36,152,320 pixels. PublishQ automatically resizes very high-resolution images to fit.

Updated July 2026

Recommended sizes

Good defaults for LinkedIn

Use these sizes when you need a sensible default. The tables below cover the limits enforced by the API.

Square image

1200×1200 (1:1)

A good size for profile and company-page image posts.

Official pixel ceiling

<36,152,320 pixels

Width multiplied by height must stay below this value.

Large images

Any resolution

PublishQ reduces larger static images before publishing.

API limits

LinkedIn API specifications

Check these values in your upload validator or before an agent submits a post.

Photo and GIF limits

LinkedIn image requirements for profiles and company pages.

Formats
JPEG, PNG, GIF
Maximum file size
20 MB each
Maximum per post
20 images or GIFs
Maximum pixel count
36,152,319 pixels

Video and text limits

Constraints for LinkedIn video and copy.

Video format
MP4
Video file size
75 KB–5 GB
Video duration
3 seconds–30 minutes
Post text
3,000 characters

Common publishing errors

LinkedIn publishing errors

Find the returned code or the closest matching failure below, then fix the cause before retrying the post.

400 Bad Request

LinkedIn could not parse or validate the request URL or body.

Fix: Check the JSON, URNs, required fields, and the current Posts API examples.

401 Unauthorized

The OAuth token is missing, invalid, expired, or revoked.

Fix: Refresh or reconnect the LinkedIn account and send the token as a Bearer credential.

403 Access Denied

The token lacks a required scope or the member cannot administer the target page.

Fix: Request the publishing scope and verify access to the person or organization URN.

429 Rate Limit

LinkedIn’s resource-level throttle limit has been reached.

Fix: Reduce duplicate calls and retry after the rate window resets.

422 Duplicate Content

LinkedIn found the same or very similar content in an earlier post from this account.

Fix: Rewrite the post rather than making a small wording change. LinkedIn can reject lightly rephrased duplicates too.

Cannot mix media types (400)

The post combines images and video in a media arrangement LinkedIn does not accept.

Fix: Choose one media mode supported by PublishQ: an image set or one video.

PROCESSING_FAILED

LinkedIn accepted the video upload but could not finish processing it.

Fix: Re-encode the video as H.264 MP4 and check its duration, frame rate, and aspect ratio before uploading again.

Why LinkedIn uploads fail

  • An image upload reports success, but an extreme pixel count prevents the post from appearing.
  • A post mixes images with video instead of using one supported media mode.
  • A video is not MP4 or falls outside the 75 KB, 3-second, or 30-minute bounds.

What PublishQ handles

  • Prepares each image into the best version LinkedIn accepts, converting the format, resizing high-resolution photos that exceed LinkedIn’s limits, and compressing oversized images, so you never have to edit a photo first.
  • Validates image/video exclusivity and LinkedIn file constraints.
  • Supports both personal profiles and administered company pages through one posting API.
For developers and agents

Publish to LinkedIn through one API

Send PublishQ the post. We check it, prepare the media, and deliver it to LinkedIn. You can work in the dashboard or connect through the API, CLI, or MCP server.

Frequently asked questions

Common questions about LinkedIn media sizes and API publishing limits.

What is LinkedIn’s maximum image resolution?

LinkedIn requires fewer than 36,152,320 total pixels. PublishQ automatically resizes very high-resolution images to fit.

How many images can a LinkedIn post contain?

A LinkedIn post can contain up to 20 JPEG, PNG, or GIF images, each up to 20 MB. Images cannot be mixed with video.

Can an AI agent publish LinkedIn posts with PublishQ?

Agents and scripts can send posts to profiles and company pages through the PublishQ API or MCP server. PublishQ prepares the media before delivery.

You would also like

Docs

Linkedin API

API reference for Linkedin API.

Read more
Agents

Post to LinkedIn with the PublishQ MCP server

One publishq_create_post call reaches a LinkedIn profile or a company Page, with visibility set to PUBLIC or CONNECTIONS on the account entry.

Read more
Agents

Post to LinkedIn from OpenClaw

Let OpenClaw draft and schedule LinkedIn posts to your profile or a company Page, and use its cron to publish while you are doing something else.

Read more
Free Tool

Post Previewer

See exactly how your posts will look on Twitter, Instagram, LinkedIn, TikTok, and more before you publish. No signup required.

Read more
Free Tool

LinkedIn carousel generator

Create a LinkedIn carousel without InDesign or a PDF workflow. Write the slides, export them at 1080x1350, and post them as a multi image update.

Read more
Feature

Write Once, Post Everywhere

Preview how your post looks on each platform, customize the text per account if needed, then publish or schedule to all of them at once.

Read more
Feature

Platform-Specific Content

Write different text for each platform in a single post. Shorten for Twitter, go long on LinkedIn, add hashtags for Instagram — without creating separate posts.

Read more
Feature

Your Team, Your Workspaces

Organize social accounts by project, brand, or client. Keep everything separated and structured — each workspace has its own accounts, posts, and analytics.

Read more
Platform

LinkedIn

Schedule posts to your LinkedIn profile or company page. Set visibility to public or connections-only. Text, images, and video — queued and published on time.

Read more