How to Crop Margins and Clutter in PDF
In short: Cropping edits the visibility frame rather than deleting content: text beyond the boundary stays in the file and comes out by copying. The margins are the same for every page, 18 points per side by default, and on rotated sheets they are remapped to the edges as you see them.
Cluster
how-to guide
Step-by-step instructions for getting a PDF task from input to a reliable result.
Primary tool
Crop PDF online
Open the tool from this article and complete the operation in the current locale.
Open toolTable of contents
- Cropping hides, it does not delete
- The margins apply to the whole document
- Units, and one strictness
- How to crop the margins
- How much to take off, by document type
- Negative and oversized margins
- Rotated pages are handled by their visible edges
- What happens to the weight and the content
- When cropping is not the answer
Cropping margins in a PDF: what it does and what it does not
A scan with a black rim along the edge, a book photographed in spreads, a document with four-centimetre margins that has to fit a phone screen. The task is the same in every case: take the surplus off the edges. The tool handles it, but not by the method most people assume.
Cropping hides, it does not delete
Inside a PDF a page carries two rectangles. The first describes the physical size of the sheet, the second the part of it that should be displayed. Cropping edits the second and leaves the first alone.
The content beyond the visible area goes nowhere. It stays in the file in full: text comes out by copying, images come out by any program, and a proper editor brings it all back to the screen by resetting the crop.
That is not an oversight but documented behaviour: the tool explicitly marks the result as a document in which the content outside the crop was retained.
There is one important practical conclusion. If something has to be removed from a document because the recipient must not see it, cropping is categorically the wrong tool. That job belongs to redact-pdf, where the black and white styles genuinely cut the content out of the page.
The margins apply to the whole document
The second thing to know before you start: there is no page selection here. The margins you set apply to every page of the document.
For a uniform scan that is convenient: the black rim from a scanner is identical on every sheet, and one operation fixes the whole file.
For a document with mixed layout it is a constraint. A title page with wide margins, a landscape table and ordinary pages all need different crops and all get the same one.
The way around it is splitting: extract the uniform part into its own file, crop it with its own values, and assemble the document again. Slower, but predictable.
Units, and one strictness
Margins are set in points, millimetres or inches. The unit is chosen from its own list, and values are converted into the PDF's internal units automatically.
The defaults are 18 points per side, roughly 6.3 millimetres. The value was picked as "a little, but visible": it takes off the typical scanner rim and does not touch text on a normally laid out page.
There is one strictness here, and it is useful. Naming a unit that is not on the list, centimetres for instance, stops the job with a message listing the allowed options. Points are not silently substituted for centimetres, and rightly so: the difference between them is twenty-eight-fold, and such a substitution would turn a tidy crop into cutting half the page away.
How to crop the margins
1. Open crop-pdf and upload the document. 2. Set the area on the preview itself: the tool shows the page and lets you drag the frame's edges. 3. Page through the preview and make sure the frame does not touch content on the other pages. 4. Check the units if you are typing values by hand. 5. Run the job and open the result.
Point three matters more than the rest. The frame is set on one page and applied to all of them, and the typical mistake looks like this: everything is fine on page one, and on page fifteen the page number got cropped off.
How much to take off, by document type
Values are easier taken from the task than from the head. Below are figures to start from and then refine against the preview.
| What you are cropping | Where to start | What to watch |
|---|---|---|
| A rim from a flatbed scanner | 10 to 20 points on every side | Not clipping the page number at the bottom |
| Office document margins, for a screen | 40 to 60 points left and right | Headers, footers and marginal notes |
| A book spread shot whole | Different values left and right | The gutter shadow in the middle is not removable by cropping |
| A photo of a document with the desk in frame | By preview, not by numbers | Skew: cropping does not straighten |
The last two rows mark the boundary of what cropping can do. It takes a rectangular frame off the edges and nothing else. A shadow from a book's spine runs down the middle of the spread and no crop will remove it. A skewed photograph will not be straightened by cropping: the edges come off and the text stays tilted.
Negative and oversized margins
Two cases in which the tool does not pretend everything is fine.
A negative margin value does not extend the page beyond the sheet. It is replaced with zero, and a warning listing exactly which margins were zeroed is attached to the result. So trying to "add margins" with a minus sign will not work, and will not quietly damage the document either.
Oversized margins, where nothing would be left of the page, are handled page by page. Pages where the frame fell outside the sheet are left uncropped, and the warning lists their numbers. If that turned out to be every page in the document, the job stops with a direct message saying the margins have to come down.
The second case happens more often than you would expect on documents with mixed formats: a value that suits A4 eats an A5 page whole.
Rotated pages are handled by their visible edges
A subtlety that is easy to miss and worth knowing.
You set the margins as you see the page on screen: left, right, top, bottom. On a rotated page the visible edges do not match the physical ones: turn a page ninety degrees and its physical left edge becomes the visible top.
The tool accounts for that and remaps the margins to the page's actual rotation. A value of "top 20" takes twenty points off the side you see as the top, whether the page is rotated or not.
Hence a practical recommendation: rotate first, crop second. Crop first and then rotate with rotate-pdf and the margins end up on sides other than the ones you intended.
What happens to the weight and the content
The file's weight barely changes after cropping, and now the reason is clear: the content stayed put, only the visibility frame moved.
That regularly surprises people who crop a document in order to shrink it. Shrinking belongs to compress-pdf, and it works on images rather than on margins.
Document properties and bookmarks survive a crop. The page count does not change.
The text layer survives in full as well, including the text beyond the frame. Searching the document still finds words that are no longer visible on screen, which is one more reminder that cropping is not a way of hiding anything.
When cropping is not the answer
Two tasks often phrased as cropping and solved otherwise.
Removing margins so the document takes less room on a phone screen. Cropping works here, but the result depends on the reader: some programs ignore the visible area and show the whole sheet.
Getting a picture of the page without margins. The right route then is pdf-to-jpg followed by cropping the image: there the boundary really is cut away, because an image has no notion of a hidden area.
FAQ
More from this cluster
how-to guide
How to convert PDF to editable Word
The file opened in Word but the cursor will not go into the text? Why the default gives you a picture, how flowing mode differs from exact, and where the running headers went.
how-to guide
How to Extract Tables From PDF to Excel
PDF into Excel: which sheets end up in the downloaded workbook, how the three detection modes differ in practice, and why loose mode finds more tables but breaks words apart.
how-to guide
How to Extract PDF Pages to a New File
Pulling the sheets you need out of a PDF as a separate file: how the two output modes differ, why the files in the archive keep the original page numbers, and what turning off size preservation does.
Related tools
Crop PDF online
Crop the visible area of PDF pages to remove wide margins, dark scan edges or extra space.
Redact PDF online
Cover personal details and confidential content in a PDF, apply the redaction, and inspect the downloaded copy before sharing it. A practical use case is to prepare an ID scan, statement, or contract without exposing unnecessary personal data.
Rotate PDF online
Fix PDF page orientation when a scan or selected pages are sideways or upside down.
Compress PDF online
Reduce the size of a PDF so it is easier to email, upload or store. Especially useful for scans and documents with images.
What to do next
All tools
PDF tools catalog: merge, compress, split, convert, rotate, protect and unlock PDF files online, all directly in your browser.
FAQ
Answers to common questions about iHatePDF: whether registration is required, how files are processed, where to check limits, and whether it's safe to upload documents.
Contact
Contact iHatePDF about processing errors, choosing a tool, security, business inquiries, and suggestions for new features.