# How I extract only the pages I need from a PDF

A beginner-friendly guide to selecting PDF pages, using page ranges, checking the result, and avoiding accidental document leaks.

- Date: 2026-09-27
- URL: https://ilham.dev/posts/how-to-extract-only-the-pages-you-need-from-a-pdf/
- Markdown: https://ilham.dev/posts/how-to-extract-only-the-pages-you-need-from-a-pdf/index.md
- Tags: pdf, privacy, documents, tools
- Reading time: 2 min


Sometimes I do not need to send a whole PDF. I only need a few pages. Sending the
entire document can be messy, too large, or even risky if other pages contain private
information.

The [PDF Page Extractor](/tools/pdf-page-extractor/) creates a new PDF containing
only the pages I choose.

## Step 1: open the original and check page numbers

Before extracting, open the PDF in a normal viewer and note the pages you need.

Example:

```text
Need pages: 1, 4, 5, 6
```

Be careful: PDF viewers usually count pages starting at 1. That is what most humans
expect too.

## Step 2: write the range clearly

A page selection can be simple:

```text
1
```

or a range:

```text
4-6
```

or a combination:

```text
1,4-6
```

Plain meaning:

> Keep page 1, then pages 4 through 6.

## Step 3: choose the PDF in the extractor

Open [PDF Page Extractor](/tools/pdf-page-extractor/) and choose the original PDF.

Then enter the page selection. The tool builds a new PDF from those pages.

## Step 4: download with a clear name

Use a filename that says what the file contains:

```text
contract-pages-1-and-4-6.pdf
```

This is better than:

```text
extract.pdf
```

Clear filenames reduce mistakes when attaching files to email or uploading them to a
portal.

## Step 5: open the extracted PDF

Always open the new file before sending it.

Check:

- the first page is correct;
- the last page is correct;
- no unwanted pages are included;
- page order is correct;
- the document still opens properly.

This matters most when the original PDF contains private pages.

## Step 6: think about privacy

Page extraction removes pages from the new PDF, but you should still inspect the
remaining pages.

Check for:

- names;
- addresses;
- account numbers;
- signatures;
- QR codes;
- hidden metadata if relevant.

If the content itself is sensitive, extracting pages is only one part of the cleanup.

## My PDF extraction checklist

Before sharing an extracted PDF, I check:

1. Did I identify the correct page numbers?
2. Did I enter the range correctly?
3. Did I download the new PDF?
4. Did I open the new PDF?
5. Are unwanted pages removed?
6. Is the filename clear?
7. Is the remaining content safe to share?

The rule is simple: extract first, verify second, share last.
