Split a PDF Into Parts of a Set Size
Split by Page Count cuts a PDF into pieces and returns them in a ZIP: parts of at most a size you set in megabytes, parts of N pages, or N documents of about equal length. Cuts always fall between pages.
Drag and drop files here, or click to choose
Accepts PDF · up to 500.0 MB per file · up to 20 files at once
You can also paste a file with Ctrl/Cmd+V, or from the clipboard menu.
Split by Page Count cuts a PDF into pieces and gives you all of them in one ZIP file. It divides by the largest size a piece may have in megabytes, by pages per piece, or by the number of files you want.
Choose By file size to set the largest size a piece may reach in MB, By page count to set how many pages each piece has, or By document count to say how many files you want; with the last two the pages are divided as evenly as possible.
Password-protected files are unlocked for you on this page once you enter the password; API callers run Unlock first.
To cut at specific pages, use Split. To cut along bookmarks, use Split by Chapters.
How the arithmetic works: with By page count the tool takes `splitValue` pages for the first file, the next `splitValue` for the second, and so on; the last file simply holds whatever is left, so it can be shorter. With By document count the page total is divided by the number of files you asked for, and the remainder is handed out one page at a time to the first files, so earlier files can be one page longer than later ones. A 10-page PDF split into 3 documents gives 4, 3 and 3 pages.
Edge cases follow the same rules. A page count larger than the document yields a single file holding every page. A document count larger than the page total is capped at the page total, so a 7-page PDF split into 10 documents gives seven one-page files. Values below 1 are rejected.
Each piece is a subset of the original pages, named `your-file_split_1.pdf`, `your-file_split_2.pdf` and so on, inside `your-file_split.zip`. Pages are not resized or re-rendered, so a piece is roughly proportional to the share of pages it holds, but pages with large images weigh far more than pages of text. That is why page count and document count cannot promise a size per piece; use By file size when the size is what matters.
How By file size works: the tool builds each piece from real pages and measures the resulting file, keeping the largest run of pages that stays at or under your limit, so every piece is as large as the limit allows and cuts always fall between pages. 1 MB counts as 1,048,576 bytes. A single page whose own file is larger than the limit becomes a piece by itself, larger than the limit, because a page is never cut; compress the original first if that matters. Fonts and images that several pages share are stored again in every piece that uses them, so the pieces together weigh more than the original. In one test, a 60-page PDF of about 63 MB (images of about 1 MiB per page) split at 10 MB gave six pieces of 9 pages and one of 6, the largest 9.4 MB.
When this is the right tool: you want uniform chunks, for example 25 pages per file for review batches, or exactly 4 parts for 4 reviewers. When it is not: if the parts must start at specific pages such as chapter openings, use Split; if you want to follow bookmarks, use Split by Chapters; if the real goal is one smaller file, use Compress PDF; if several files must each fit an email or upload limit, use By file size.
Features
- Pieces of at most a size in MB, cut between pages
- Equal pieces by pages per file or number of files
- All pieces delivered in one ZIP
- No account or sign-in required
- Remainder pages go to the earliest files when splitting by document count
- Numbered file names inside the ZIP keep the order
When to use this tool
- Cut a 100-page PDF into 10-page pieces
- Divide a long scan into 4 equal parts
- Prepare chunks for a system that limits page count
- Give each of 5 reviewers an equal share of a 150-page report by choosing By document count 5
- Break a scanned book into 50-page uploads for a portal that rejects long files
- Split a 60 MB scan into parts that each fit a 10 MB upload limit
How do I split a PDF into parts under a size limit?
- Upload the PDF and note its page count in your viewer, because the arithmetic below depends on it.
- Choose By file size if every piece must stay under a limit, By page count if you know how long each piece should be, or By document count if you know how many pieces you need.
- Enter the value: the largest size in MB (0.05 to 1024) for By file size, or a whole number of 1 or more for the other two. For a 30-page PDF, 10 with By page count and 3 with By document count give the same three pieces.
- Click Process and download `your-file_split.zip`, then unzip it.
- Open the first and last piece and check them against your plan; with By document count remember the first files may carry one extra page, and with By file size check that each file is at or under your limit.
Limits and edge cases
- File size is measured on each PDF piece, not on the ZIP, and a single page can exceed the limit
- Page count and document count must be whole numbers of 1 or more; the size limit is 0.05 to 1024 MB
- Password-protected files need the password; API callers run Unlock first
- Page count and document count cut at fixed intervals, so pieces can break in the middle of a section
- Output is always a ZIP, even when the result is a single file
- Upload limit on this website: 500 MB per file, sent in chunks above about 95 MB. A single direct API request body is capped at 100 MB.
Examples
- 20 pages by page count 5 gives four 5-page PDFs
- 20 pages by document count 4 also gives four 5-page PDFs
- 10 pages by document count 3 gives 4, 3 and 3 pages in `_split_1`, `_split_2` and `_split_3`
- 7 pages by page count 10 gives one file with all 7 pages in the ZIP
- A 42-page contract named `lease.pdf` at 15 pages per file returns `lease_split.zip` with 15, 15 and 12 pages
- A 60-page, 63 MB test PDF split at 10 MB returned pieces of 9, 9, 9, 9, 9, 9 and 6 pages, the largest 9.4 MB
Privacy for this tool
Files are uploaded over HTTPS, processed in memory or a short-lived temporary directory on our servers, and deleted when your result is ready. We do not keep copies for later browsing, training, or advertising profiles. See the Privacy Policy for retention details and AdSense cookie disclosures.
Frequently asked questions
- Can I split into files of 5 MB each?
- Yes. Choose By file size and enter 5. Each piece gets as many pages as fit under 5 MB (1 MB is 1,048,576 bytes), and cuts fall between pages.
- What if one page is bigger than the limit?
- That page becomes a piece by itself and is larger than the limit, because splitting never cuts inside a page. Compress the original first to shrink it.
- Why do the pieces add up to more than the original?
- Fonts and images that several pages share are stored again in each piece that uses them.
- What does By document count do?
- You say how many files you want; each gets about the same number of pages (20 pages into 4 documents gives 5 pages each).
- Is this the same as Split?
- No. Split cuts after the page numbers you list. This tool cuts at a fixed interval.
- What happens to the leftover pages when the count does not divide evenly?
- By page count, the last file is shorter: 22 pages at 10 per file gives 10, 10 and 2. By document count, the earliest files get one extra page: 22 pages into 4 documents gives 6, 6, 5 and 5.
- What if I ask for more documents than the PDF has pages?
- The count is capped at the number of pages, so each page becomes its own file.
- How do I get pieces under an email size limit?
- Choose By file size and enter the limit, leaving some room, for example 9 for a 10 MB limit. If a piece is still too large it is a single page; compress the original first.
- Why is one piece much bigger than the others?
- Pieces hold the same pages as the original, so a piece with photographic or scanned pages is heavier than one with only text, even when page counts match.
- What do I see if the value is 0 or blank?
- The request is rejected. Page count and document count must be whole numbers of 1 or more, and the size limit must be between 0.05 and 1024 MB. Enter a valid number and run it again.
Last updated:
Call this from code
Every tool on this site is a plain REST endpoint - no account or API key needed for anonymous use. Built for AI agents and developers as much as for browsers.
curl -X POST "https://pdf123.xyz/api/v1/general/split-by-size-or-count" \
-F "[email protected]" \
-F "splitType=1" \
-F "splitValue=1" \
-F "maxSizeMb=10" \
-o output.pdfAlso available as an MCP tool for agent clients that speak Model Context Protocol (JSON-RPC 2.0 over POST /mcp). Full API reference
Use it from an AI agent
SkillClaude Code, Codex, Cursor and other AI agents can run Split PDF by Page Count for you with this skill: /skills/pdf123-split-by-size.md
Files are used only for this processing job and deleted automatically afterward.