# Split PDF

URL: https://hifreetools.com/pdf/split-pdf

> Open a PDF, type the pages you want (like 1-3, 5, 8-10), and download a new PDF containing just those pages. Everything runs in your browser, so your file is never uploaded.

## Quick answer

To split a PDF, open it here and enter the pages to keep — single pages like 5, ranges like 1-3, or a mix like 1-3, 5, 8-10. The tool copies exactly those pages, in the order you list them, into a new PDF you download. It runs entirely in your browser using pdf-lib, so the file is never uploaded, and there is no watermark or sign-up.

## Formula

- Page selection: kept = ordered, de-duplicated pages from your list, each within 1…N

Your PDF is read locally and its page count is shown. You type a page selection such as "1-3, 5, 8-10"; the tool parses it into a list of 1-based page numbers, checks each is within range, and drops duplicates while keeping your order. When you extract, it creates a new PDF and copies just those pages (converting your 1-based numbers to pdf-lib's 0-based indices) into it, then offers the result as a download. Pages keep their original size and content; only which pages are included, and their order, follow your input. Nothing is uploaded.

## Examples

- Extract a range of pages: A 20-page PDF, pages: 5-8 → A new 4-page PDF (pages 5, 6, 7, 8)
- Pick scattered pages: A 12-page PDF, pages: 1, 3, 12 → A new 3-page PDF (pages 1, 3, then 12)
- Reorder while extracting: A 10-page PDF, pages: 3, 1, 2 → A new 3-page PDF in the order 3, 1, 2

## FAQ

**Are my files uploaded anywhere?**
No. The split runs entirely in your browser using the pdf-lib library. Your PDF is read from your device, the selected pages are copied locally, and the new file is downloaded directly — nothing is sent to a server.

**What page formats can I type?**
Single pages (5), ranges (1-3), or any combination separated by commas or spaces (1-3, 5, 8-10). A reversed range like 5-3 is read as 3-5, and duplicates are ignored.

**Will the extracted pages keep their quality?**
Yes. Pages are copied unchanged, so text stays selectable and images keep their original resolution. Only the selection and order change.

**Can I get one file per page?**
This tool outputs a single PDF of the pages you choose. To save an individual page, enter just that one page number (for example, 7) and extract.

**Why won't my PDF open?**
It may be password-protected/encrypted or corrupted. Unlock or repair it elsewhere first, then load it again.

**Is there a watermark?**
No. The output is a clean PDF with no watermark and no added pages.


## Sources

- [pdf-lib — create and modify PDFs in JavaScript](https://pdf-lib.js.org/)
- [PDF Association — ISO 32000 (PDF standard)](https://pdfa.org/resource/iso-32000-pdf/)

Runs in the browser; nothing is uploaded. Cite as: HIFreeTools, "Split PDF", https://hifreetools.com/pdf/split-pdf
