sturdybits

Guides / Split by Name

How to split a PDF of payslips into one file per employee

30 November 2026

To split a PDF of payslips into one file per employee, you need to cut it wherever the employee changes and save each part under that person's name. For a few people, take out each person's pages by hand with Acrobat, Preview on a Mac or your browser's Save as PDF. For a whole payroll, first check whether your payroll software can send payslips one at a time. If it can't, splitting by page count only works when every payslip is the same length, and naming the files from the page takes a script or a dedicated tool.

The same goes for invoices, statements and mail-merged letters: any PDF where each person's pages come one after another.

Why it's fiddly

Most ways of splitting a PDF cut it by page number. That works if every payslip is one page, but one person with a second page puts every file after them out by one. And split files come out numbered, not named, so someone still has to open each one and rename it. Before you start, scroll through and note whether any payslips run to two pages.

1. Check what your payroll software can do

Good for: payslips, if your software can send or save them one at a time.

Some payroll software can email each employee their own payslip, so there's nothing to split. BrightPay, for example, can send a separate payslip to each employee, and Sage Payroll can email payslips individually or in bulk. Check your software's payslip and email settings, including whether it can save one PDF per person.

If all you can get is one big PDF, use one of the methods below.

2. Take out each person's pages by hand

Good for: a handful of people.

All three are slow, and it's easy to give someone the wrong pages, so check each file before it goes anywhere.

3. Split by page count with Acrobat

Good for: payslips that are all the same length, if you already pay for Acrobat.

  1. Open the PDF and choose All tools > Organize pages.
  2. In the left pane, choose Split.
  3. In Split by, choose Number of pages and enter how many pages each payslip has. If the PDF has a bookmark for each person, choose Top level bookmarks instead.
  4. Choose Output options to pick the folder and how the new files are named, then choose Split.

Adobe's instructions cover the details. The catch is naming: the new files are named after the original file with a label added, or after the bookmarks. Acrobat can't take a name from the text on the page, so without bookmarks you still open and rename every file.

Splitting needs paid Acrobat, not the free Reader. Adobe's free online splitter uploads the file, asks you to sign in and makes up to 20 files.

4. Use a free desktop app

Good for: splitting every page, or every few pages, without paying.

PDFsam Basic is free, open source and runs on Windows, Mac and Linux. It splits a PDF into single pages, after page numbers you list, every so many pages or at bookmarks, and names the files with a number or the bookmark's name. Like Acrobat, it splits by page, not by person. Its paid sibling, PDFsam Visual, can split where the text in a chosen area of the page changes.

5. Write a script

Good for: people who write code, with a payslip layout that doesn't change.

In Python, the free pypdf library can read each page's text and write pages to new files, so a script can find the name on each page, start a new file when it changes and save each one under that name. Here's a short example of the renaming part.

It works, but the details take time. The text often comes out in a different order from the page, a second page may or may not repeat the name, and some names hold characters Windows doesn't allow in file names. Scanned pages have no text to read, as pypdf's documentation explains. And someone has to fix the script when the payslip layout changes.

Think twice before uploading payroll

Many websites and HR services that split payslips work by uploading the PDF to their servers. A payroll PDF holds every employee's name, pay and deductions. Before uploading one, check who runs the service, where it keeps files and for how long, and whether your staff would expect their pay details to go there.

When a tool is quicker

Taking out pages by hand gets slow past a few people, and splitting by page count can't cope with two-page payslips or name the files.

That's why we made Split by Name. It reads the text on every page of your PDF. Text that changes from page to page, such as a name or employee number, is highlighted. Click it, and a new file starts wherever it changes. A page without it, or one that repeats it, such as a second page, stays with the file before. You build the file names from one or more values on the page, such as "Asha Patel - November 2026.pdf", and get one PDF per person in a .zip file, with an index of which pages went where. Each file holds its pages exactly as they were, and your original isn't changed. It needs text it can read: scanned pages can't be split by name, though it can still split them every page or every few pages.

It runs in your browser, and the PDF never leaves your computer. The free version makes up to 10 files at a time; Pro is £29 once and makes any number. You can try it with sample payslips first. If the payslips are going out by email, here's how to password-protect each one.

Quick answers

How do I split a PDF into separate files by employee name? By hand for a few people. For more, you need a script or a tool that reads the name on each page, as Acrobat and free splitters cut by page number.

Can Acrobat name split files after each employee? Only if the PDF has a bookmark for each person. Otherwise the files are named after the original with a label added.

Why are my split payslips out of step? Splitting every page or every few pages assumes every payslip is the same length. One two-page payslip shifts every file after it.