Sub topic 1
What a LinkedIn Carousel Is and Why It Is a PDF
Prerequisites
This chapter assumes you have:
- A LinkedIn account and have created a text or image post before.
- Basic use of a PDF viewer and a slide or design tool such as PowerPoint, Google Slides, or Canva.
- Optional: basic Python. One example uses the
pypdflibrary to inspect a PDF. You can skip it and still follow the chapter.
You do not need design experience. Later chapters cover choosing a message, writing copy, and laying out slides. This chapter covers the mechanism those choices depend on.
What a carousel is
A LinkedIn carousel is a multi-page post that readers swipe through. On a phone, each swipe moves to the next page. On desktop, the reader clicks arrows or scrolls.
LinkedIn has no separate "carousel" post type that you build slide by slide inside the app. When you create a carousel, you upload a document. LinkedIn calls this a document post. The platform renders each page of the uploaded file as one slide in a viewer embedded in the feed.
This has three consequences:
- A "slide" is a page of your file. Its size, shape, and content come from the file, not from LinkedIn settings.
- You build the carousel outside LinkedIn, in any tool that can produce a PDF.
- What you upload is what readers see. LinkedIn does not fix layout problems for you.
How an upload becomes a swipeable post
The pipeline has a few steps, and mistakes at each one show up in the final post.
The source PDF, for example a report, is raw material. The file you upload is a new, separate PDF that you write and design. Keeping these two files distinct matters. The source is long and dense. The carousel is short and built for a phone screen.
Why PDF is the format
LinkedIn's document upload accepts several formats. At the time of writing these are PDF, PowerPoint (PPT, PPTX), and Word (DOC, DOCX). Check LinkedIn's current help pages for the exact list, because platform rules change. In practice, PDF is the standard choice for carousels, for these reasons:
- Fixed layout. A PDF stores where every element goes on every page. Fonts, spacing, and images look the same on every device. A PPTX or DOCX file depends on the renderer and on fonts being available, so conversion can shift text or substitute fonts.
- Fonts can be embedded. A PDF can carry its fonts inside the file. Your typography survives even if LinkedIn's servers do not have the font.
- Universal export. Nearly every design and slide tool can export to PDF. Code libraries such as
reportlabcan generate one directly. - Pages map to slides. A PDF is an ordered list of pages. That is the same structure a swipeable viewer needs.
- Predictable file size. You can compress a PDF and check its size before uploading.
Uploading the PowerPoint file directly can work, but you give up control over how it is rendered. Exporting to PDF yourself lets you open the result and check every page before anyone else sees it.
Constraints that shape your design
The upload mechanism sets limits. Treat the values below as typical, and confirm them in LinkedIn's help documentation before you publish.
| Constraint | What to know | Why it matters |
|---|---|---|
| File type | PDF is the safest choice | Fixed layout and embedded fonts |
| File size | A cap of around 100 MB has been documented | A text-and-graphics carousel is usually far smaller |
| Page count | A high cap has been documented, but short carousels are the norm | Readers stop swiping, so brevity is the practical limit |
| Page size | Every page should be the same size | Mixed sizes make the viewer resize or crop unevenly |
| Orientation | Portrait or square fits phones better than landscape | Most readers view the feed on a phone |
| Document title | You enter a title when you upload | It appears on the post, so write it deliberately |
The documented page and size caps are far larger than you will use. The real limit is reader attention, not the platform.
Page size and orientation
Your first design decision comes from this mechanism: the page size. The viewer shows each page at a width set by the feed. A landscape 16:9 slide, the default in many presentation tools, leaves the page small on a phone, with a lot of unused vertical space. Text that looks fine on a laptop becomes hard to read.
Portrait pages such as 4:5 (for example 1080 by 1350) or square pages (1080 by 1080) fill more of the phone screen. The Topic Spine's generation example uses 1080 by 1350 points. In a PDF, units are points, not pixels. The numbers only set the proportions and the relative size of text, so the pixel count at upload is not what matters. What matters is that the ratio is the same on every page and that your text size is large relative to the page width.
Inspecting a PDF before upload
You can check a PDF's page count and page sizes with a short script. This is useful both for your own export and for a source PDF you want to analyze.
from pypdf import PdfReader
reader = PdfReader("carousel.pdf")
sizes = set()
for number, page in enumerate(reader.pages, start=1):
width = round(float(page.mediabox.width))
height = round(float(page.mediabox.height))
sizes.add((width, height))
print(f"Page {number}: {width} x {height}")
print(f"Total pages: {len(reader.pages)}")
if len(sizes) == 1:
print("All pages have the same size.")
else:
print(f"Warning: {len(sizes)} different page sizes found: {sorted(sizes)}")Install the library with pip install pypdf. The script reads each page's mediabox, which is the rectangle that defines the page size in points. It collects the sizes in a set. If the set holds more than one entry, your export has mixed page sizes and you should fix it before uploading.
Page rotation is an edge case. A page can have a /Rotate entry that makes a portrait page display as landscape without changing its mediabox. If the script says the sizes are equal but the document looks uneven in a viewer, check page.rotation as well.
Common errors
These are the mistakes people make most often with the format itself, as opposed to the writing.
- Uploading the source report as the carousel. A 40-page report is not a carousel. Readers swipe through a post quickly. The report belongs behind a link, and the carousel is a short summary built from it.
- Landscape pages with small text. Slides designed for a conference screen look tiny in the feed. Design for a phone first.
- Mixed page sizes. This usually happens when you merge pages from several files, for example pasting a chart page from the source into your deck. Resize everything to one size.
- Text that is too close to the edge. The viewer may crop or add rounded corners. Keep a margin. The
reportlabexample in later chapters uses an 80-point margin on a 1080-point-wide page. - Missing fonts after export. If a font is not embedded, a viewer may substitute another one and change line breaks. Export with fonts embedded and open the PDF on a second device to confirm.
- Skipping the document title. The upload asks for a title. A file name such as
final_v3_export.pdflooks careless in the feed. - Assuming the file is private. An uploaded document is something readers can view in full. Do not include anything in the file that you would not publish.
What this means for your workflow
Because the carousel is a file you build, the work splits into stages that you control: decide the goal, analyze the source, pick one message, plan slides, write copy, design, export, and publish. The chapters that follow take these in order. This chapter's main point is that the final artifact is an ordinary PDF with equal-sized pages, and each decision from message to layout serves that artifact.
A practical habit follows from this. Open your exported PDF on your phone before you upload it. If you can read every slide at arm's length without zooming, the format is working.
Exercise
A colleague exports a 12-page carousel from PowerPoint. Pages 1 to 10 are 1080 by 1350 points. Pages 11 and 12 were pasted in from another deck and are 1920 by 1080 points. Name the problem, explain how you would detect it with code, and say what you would change.
Show answer
The problem is mixed page sizes, with a landscape page set among portrait pages. Run a script such as the one in this chapter that reads page.mediabox.width and page.mediabox.height for every page and collects them in a set. A set with two entries shows the mismatch, and the page numbers printed alongside show that pages 11 and 12 differ. Fix it by redesigning pages 11 and 12 at 1080 by 1350 points in the design tool, with text sized for a phone, and then re-export the whole deck as a single PDF.
Exercise
Give two reasons PDF is preferred over uploading a PPTX file directly, and one situation where you would still check the PDF carefully after export.
Show answer
First, a PDF has a fixed layout, so every page looks the same on every device, while a PPTX depends on the renderer. Second, a PDF can embed its fonts, so typography and line breaks are not changed by substitution. Check the PDF carefully after export when your deck uses a custom or unusual font, or when you merged pages from several files, because both can cause font substitution or mismatched page sizes.