Menu
Advertisement

Split PDF Files Online

Cut a PDF into smaller files by page range, by single page, or every N pages. Nothing is uploaded.

By Nethanel Bar, Co-founder & CEO

Last updated

Advertisement

Ready to actually learn to code?

Coddy teaches you by writing real code in your browser - interactive lessons, instant feedback, and AI help when you get stuck.

What is a PDF splitter?

A PDF splitter cuts one PDF into several smaller ones. Use it to send only chapter 2 of a long document, to separate a scanned stack into single pages, or to break a big file into parts that fit an email.

There are three ways to split. "Page ranges" takes something like 1-3, 5, 8-10 and makes one file for each range. "Every page" makes one file per page. "Every N pages" cuts the file into equal parts, for example 10 pages each. Thumbnails of the pages show which output file each page goes to with a numbered badge, and pages you left out are dimmed.

Your PDF never leaves your device, because the splitting runs in your browser. There is no sign-up and no watermark. One result downloads as a PDF, several as a ZIP, and each file is named after its pages. If the PDF needs a password to open, the tool asks for it.

What you'll learn while splitting PDFs

  • A range like 8-10 is a slice with a start and an end. Programmers use the same idea for slicing lists, with one catch: people count pages from 1, many languages count from 0.
  • Open-ended ranges are a useful shorthand. Here "8-" means page 8 to the end and "-3" means the start up to page 3.
  • Splitting every N pages is integer division in action: a 25-page file in groups of 10 gives files of 10, 10 and 5 pages.
  • Splitting is a short loop in a library like PyMuPDF or pypdf. The Python example below shows how to do the same cut in code.

How to split a PDF

  1. Open your PDF

    Drop the file on the page or click "Choose a PDF file". If it needs a password, type it when asked.

  2. Choose how to split

    Pick "Page ranges", "Every page" or "Every N pages". For ranges, type them separated by commas, like 1-3, 5, 8-10. For N pages, set how many pages go in each file.

  3. Check the thumbnails

    Each page shows a numbered badge for the file it goes to. Dimmed pages are not in any file. If the ranges have a mistake, the tool says what to fix.

  4. Split and download

    Click "Split PDF". One result downloads as a PDF, several as a ZIP of PDFs.

Split settings quick reference

What each way of splitting does with a 12-page file.

SettingWhat you typeResult
Page ranges1-3, 5, 8-103 files: pages 1 to 3, page 5, pages 8 to 10
Page ranges8-1 file: page 8 to the last page
Page ranges-31 file: first page to page 3
Page ranges71 file with only page 7
Every pageNothing to type12 files, one per page
Every N pages53 files: 5, 5 and 2 pages
Every N pages62 files of 6 pages each
Pages left out of a rangeNot listedDimmed, and not in any file

Splitting examples

Send one chapter

Page ranges

14-27

A 90-page report becomes a single 14-page file that you can send without the rest.

Cut a scan into single pages

Mode

Every page

Each page becomes its own PDF and the files arrive in one ZIP, named after their pages.

Keep the front, drop the middle

Page ranges

1-2, 9-

Two files: pages 1 and 2, and page 9 to the end. The pages in between are dimmed and left out.

Do the same in Python

split.py
from pypdf import PdfReader, PdfWriter
reader = PdfReader("report.pdf")writer = PdfWriter()for number in range(13, 27):  # pages 14 to 27, counting from 0    writer.add_page(reader.pages[number])
writer.write("chapter-2.pdf")writer.close()

pypdf counts pages from 0, so page 14 is index 13. The end of range() is not included, so range(13, 27) covers pages 14 to 27.

Common mistakes

  • Writing a range backwards. 5-3 is not accepted: write ranges from low to high, like 3-5.
  • Using a page number past the end. If the file has 12 pages, a range up to 15 gives an error that tells you where the file ends.
  • Expecting one file from 1-3, 5. Each range becomes its own file, so that gives two files: pages 1 to 3, and page 5.
  • Splitting a very large file on a phone. The browser may run out of memory above a few hundred MB. A computer handles big files better.
  • Forgetting that the original is not changed. Splitting makes new files and leaves your PDF as it was.

Split PDF FAQ

Is it free to split a PDF here?

Yes. There is no sign-up, no watermark and no limit on how often you use it.

Is my PDF uploaded anywhere?

No. The split runs in your browser and the file stays on your device.

How do I split a PDF into single pages?

Choose "Every page". You get one PDF per page, delivered as a ZIP.

How do I split a PDF by page range?

Choose "Page ranges" and type ranges such as 1-3, 5, 8-10. Each range becomes its own file.

What do 8- and -3 mean?

8- means page 8 to the end of the file. -3 means from the first page to page 3.

Can I split a password-protected PDF?

Yes. If a PDF needs a password to open, the tool asks for it. The new files are saved without a password.

How are the split files named?

Each file is named after the original and the pages it holds. Several files come in one ZIP named after the original with "-split" added.

Can I cut a PDF into equal parts?

Yes. Choose "Every N pages" and set the number of pages per file. The last file holds whatever is left.

Can I split a PDF with Python?

Yes. With pypdf you can read a file, copy the pages you want into a PdfWriter and save it, as in the example above.

Other developer tools

Coddy programming languages illustration

Learn to code with Coddy

Get started