← Back to Blog

How to Crop a PDF to Remove Borders, Margins, and Scanner Edges

Scanned documents frequently arrive with more than you want: the scanner bed edge visible around the paper, wide blank margins from an oversized scanner glass, or shadow bands along one side. Even PDFs created digitally can have margins that are too wide for a particular use. Cropping removes those unwanted edges from every page.

This guide explains what PDF cropping does, what to get right, and common scenarios where it is useful.


What Cropping a PDF Does

Cropping a PDF changes the visible area of each page. When you set a crop, you are defining a new “view rectangle” — the portion of the original page that the cropped PDF will show. Everything outside that rectangle is trimmed.

An important technical detail: in most PDF cropping implementations, the underlying page data is not deleted — the page canvas is clipped to the new dimensions. This has two practical implications:

  1. The file size may not decrease significantly from cropping alone, because the underlying data structure is preserved
  2. The visual presentation is correct — viewers show only the cropped area

For most use cases (cleaning up scans, fixing margins before printing or sharing), this behaviour is exactly what you want.


Common Cropping Use Cases

Removing scanner border artifacts

Flatbed scanners often capture a thin black or grey border around the paper — the edge of the scan glass or the scanner lid. This border adds visual noise and makes the document look unprofessional when shared digitally or printed.

Cropping removes a consistent amount from each edge. For most scanner borders, a crop of 2-5mm from each side is sufficient.

Trimming oversized margins

Some PDF generators add wide margins to accommodate printer unprintable zones. If you are viewing the document on screen or embedding it in another document, those wide borders waste space and make the content appear smaller than it needs to be.

Standardising page sizes

If a document was assembled from pages of different sizes, cropping each to the same dimensions can produce a more consistent result. Note that this works best when the content on each page is roughly centered and the excess is in the margins.

Removing unwanted content at page edges

Sometimes a PDF contains background graphics, watermarks, or design elements that extend to the page edges — such as a decorative border — that you want to remove. Cropping can trim those edge elements, though this only works if they are entirely within the cropped-away area.

Creating a tighter document for screen viewing

Wide margins that look appropriate in print can feel unnecessarily spacious on a screen. Cropping closer to the content creates a denser, more readable document for screen use.


Using PDFolio’s Crop PDF Tool

PDFolio’s Crop PDF tool applies a consistent crop to selected pages locally in your browser:

  1. Add your PDF. Drop the file into the workspace.
  2. Review the page previews. The workspace shows thumbnails of the pages so you can see the current margins.
  3. Select the pages to crop. You can crop all pages, a specific page range, or individual pages.
  4. Set the crop area. Define how much to remove from each edge — top, bottom, left, and right. The same values are applied to all selected pages.
  5. Process. The crop runs locally.
  6. Download and verify. Open the result in your PDF viewer and confirm the crop removed what you intended without cutting into content.

Getting the Crop Values Right

Start conservatively

If you are removing scanner borders, start with a small crop value — 3-5mm or 10-15 points — and verify the result. You can always apply additional cropping to the result, but you cannot recover content that has been cropped away.

Check all pages before downloading

A crop that looks right on page 1 might cut into content on page 7 if page 7 has text or images positioned closer to the edges. Review the page thumbnails across the document, not just the first page.

Account for page-to-page variation

In a scanned document, each page may have been placed on the scanner slightly differently, so the border width varies from page to page. If the variation is significant, a crop that leaves adequate margin on one page might cut into content on another. In these cases, a conservative crop (removing less) is safer, even if it does not eliminate the border entirely on every page.


Cropping vs. Other Page Modifications

Cropping vs. resizing: Resize PDF changes the page dimensions and can add or remove margins. Use resizing when you need to change the paper size or add consistent margins. Use cropping when you want to trim specific edges.

Cropping vs. organizing: Cropping changes what is visible on a page; Organize PDF changes the page sequence. These are separate operations.

Cropping vs. deleting: Delete Pages removes entire pages. Cropping keeps all pages but trims their visual area.


What Cropping Cannot Do

  • Crop different amounts from different pages in one pass. The same crop values are applied to all selected pages. If page 3 needs a different crop than page 7, apply the crop twice: once for the first group, once for the second.
  • Remove content within the page body. Cropping only affects the edges. To remove content from the middle of a page (e.g., a watermark or a text block), use Redact PDF.
  • Undo a crop. Once you crop and download, you cannot recover the trimmed content from that file. Always keep your original.

After Cropping: Next Steps

A freshly cropped PDF is often a useful intermediate step before further processing:

  • Compress PDF: If the source was a scan, compress the cropped result to reduce file size before sharing
  • Merge PDF: Combine the cropped PDF with other documents
  • Protect PDF: Encrypt the result if it contains sensitive content

Crop your PDF pages privately →