How to Crop PDF Pages: Remove Margins and Unwanted Borders
Learn how to crop PDF pages to remove white margins, unwanted borders, or excess white space using free and paid tools.
Why Crop PDF Pages?
PDF cropping removes unwanted white space, scanner borders, headers, footers, or margins from PDF pages. Common use cases include:
- Scanned documents that have dark borders from the scanner lid
- Academic papers with large margins that waste screen space on e-readers
- Presentations exported to PDF where slide thumbnails have thick white borders
- Books scanned with binding gutter margins you want to trim
- Removing headers/footers (page numbers, running titles) before repurposing content
Understanding how PDF cropping works is important because it affects different things depending on the method used.
Important: Visual Crop vs. True Crop
PDF has a concept of multiple "boxes" that define different regions of the page:
- MediaBox: The full physical page size
- CropBox: The region displayed/printed by default
- TrimBox: The intended final trimmed size
- BleedBox: Includes bleed area for print
- ArtBox: The meaningful content area
When most tools "crop" a PDF, they change the CropBox — hiding the outer areas from view but NOT deleting the underlying data. The hidden content is still in the file.
Implications:
- File size may not decrease significantly
- The "hidden" content can be revealed by changing the CropBox back
- This is fine for display and print purposes but not for removing sensitive content
For true irreversible removal of content (e.g., removing confidential headers), you need to flatten/rasterize the page or use proper redaction tools.
Method 1: Adobe Acrobat Pro (Most Control)
Crop a single page:
- Tools → Edit PDF → Crop Pages
- Draw a crop box on the page by clicking and dragging
- Double-click the crop box to set precise measurements
- Click OK to apply
Crop all pages uniformly:
- Tools → Edit PDF → Crop Pages
- Draw a crop box
- Double-click → in the dialog, click "Apply to All Pages"
Set precise margins: In the Crop Pages dialog, you can enter exact measurements for top, bottom, left, right margins to remove. This is useful when you know you need to trim exactly 15mm from each side.
Crop page to content: Acrobat Pro can auto-detect content and crop to fit:
- In the Crop Pages dialog, check "Remove White Margins" to automatically trim whitespace
Method 2: Online PDF Crop Tools
Several online tools offer PDF page cropping without software installation.
Sejda PDF (sejda.com/crop-pdf)
Upload your PDF, define the crop area visually by dragging handles, and download the cropped version. Generous free tier (3 tasks/hour, up to 200 pages).
PDF2Go
Offers crop functionality as part of its editing suite. Upload, crop interactively, download.
ilovepdf.com
Also supports cropping via their Edit PDF tool.
Limitation: Online tools change the CropBox (visual crop) rather than permanently removing content. For most use cases, this is fine.
Method 3: Briss (Free Desktop, Specialised for Cropping)
Briss is a free, open-source desktop tool specifically designed for cropping PDF pages, especially useful for scanned books with dual-page spreads.
Download: briss.sourceforge.net or from GitHub
Features:
- Auto-detects content boundaries and suggests crop areas
- Can split dual-page spreads (two book pages per scan) into individual pages
- Handles PDFs where odd and even pages have different margins
- Batch processes the entire document
Steps:
- Open a PDF in Briss
- Briss overlays all pages to show where content appears
- Draw crop boxes (different boxes for odd/even pages if needed)
- Action → Crop PDF → save
Excellent for: Scanned books, academic papers with large margins, two-up scanned pages.
Method 4: PDF Scissors / PDF Cropper (Free)
PDF Scissors is another free desktop tool focused on cropping:
- Visual preview with drag handles
- Applies to all pages or specific page ranges
- Free download for Windows and Mac
Method 5: Ghostscript (Command Line)
Ghostscript can set precise CropBox values from the command line — useful for scripting or batch processing.
Crop all pages to specific coordinates:
gs -sDEVICE=pdfwrite -dBATCH -dNOPAUSE \
-c "[/CropBox [50 50 550 800] /PAGES pdfmark" \
-f input.pdf \
-sOutputFile=output.pdf
The CropBox values are [left bottom right top] in PDF user units (1 unit = 1/72 inch). For an A4 page (595 × 842 units), cropping 50 units from each side would be [50 50 545 792].
Calculate crop coordinates:
- Page width (A4) = 595 units → 595 - (left trim + right trim)
- Page height (A4) = 842 units → 842 - (bottom trim + top trim)
Method 6: Python with PyPDF2 or PyMuPDF
For programmatic cropping (e.g., trimming all pages in a batch of PDFs):
Using PyPDF2:
from PyPDF2 import PdfReader, PdfWriter
reader = PdfReader("input.pdf")
writer = PdfWriter()
for page in reader.pages:
# Crop 50 units from each side
page.mediabox.lower_left = (50, 50)
page.mediabox.upper_right = (
page.mediabox.upper_right[0] - 50,
page.mediabox.upper_right[1] - 50
)
writer.add_page(page)
with open("cropped.pdf", "wb") as f:
writer.write(f)
Using PyMuPDF (fitz):
import fitz
doc = fitz.open("input.pdf")
for page in doc:
rect = page.rect
# Trim 30 points from each side
crop_rect = fitz.Rect(30, 30, rect.width - 30, rect.height - 30)
page.set_cropbox(crop_rect)
doc.save("cropped.pdf")
Handling Mixed Page Sizes
Many PDFs have mixed page orientations or sizes (portrait and landscape, different content areas for odd and even pages).
Strategies:
- Crop odd and even pages separately with different crop boxes
- In Briss: draw separate crop regions for odd and even pages
- In Acrobat: Apply crop settings to a specific page range, then repeat for others
- In Python: check
page.rectdimensions and apply different crop logic for landscape vs portrait pages
Reducing File Size After Cropping
Cropping (CropBox change) does NOT reduce file size — the full page data is still there. To actually reduce the size after cropping:
- In Acrobat Pro: Print to PDF (using the PDF printer) — this re-renders the visible area only, effectively removing cropped content and reducing file size
- In Ghostscript: re-process through Ghostscript after cropping — it renders the visible CropBox area
- Flatten with any PDF printer driver that re-renders
Summary
PDF cropping removes unwanted margins and whitespace to make documents more readable — especially on e-readers and small screens. Adobe Acrobat Pro offers the most control for precise cropping; Briss excels for scanned books with dual-page spreads; online tools like Sejda handle casual cropping without software. Remember that standard CropBox cropping hides content without deleting it — for true content removal, re-render through a PDF printer or use proper redaction.