← All tools
PDF ToolBuilt into the unified PDF editor

Crop a PDF

Crop PDF pages by defining a crop box or uniform margins. Directly in DocuNest's unified PDF editor (Pages menu).

Crop a PDF in DocuNest: 100% local processing on Windows, macOS, and Linux. Automatable via the docunest CLI.

Crop a PDF
Preview of Crop a PDF in DocuNest, offline PDF app

Built into the unified PDF editor. This tool is used directly within the DocuNest editor: open your PDF, apply the action, undo with Ctrl+Z if needed, then move on to any other tool — without ever reloading your file.

Discover the PDF editor →

Features

Custom rectangle cropping (x, y, width, height)
Uniform margin cropping in millimeters
Apply to all pages in the document
Cropping from the editor (Pages menu), without leaving your document
Unlimited undo (Ctrl+Z) and revert to the original document

Use cases

1

Remove margins

Remove excessive margins from a document for optimal on-screen viewing.

2

Crop a scan

Eliminate black borders from a scanned document.

3

Adapt to format

Adjust the visible area of a PDF to fit it into a presentation.

Command line

Same result as the interface, in one command. Nothing leaves your machine.

docunest — zsh

local
# Crop by rectangle
❯ docunest pdf crop -i document.pdf --rect "50,50,400,600" -o result.pdf
✓ Done — file written locally, no network upload

Complete CLI documentation →

Frequently asked questions

Is the cropped content deleted?
The crop box redefines the visible area. Content outside this area is no longer displayed.
Can I crop a single page?
Cropping applies to all pages. To crop a single page, extract it first.

Stop sending your PDFs to the cloud.

Download DocuNest: the complete editor, 7-day trial, no credit card, no files leaving your machine.

Download for free

Download DocuNest

No account required, no data collected.

Linux

Install a system package, or use the AppImage if you prefer a portable version.

Windows 10+, macOS 12+ (Apple Silicon), Linux (deb / rpm / AppImage)