What cropping a PDF means
To crop a PDF is to shrink the visible area of its pages by moving the page edges inward - removing white margins, trimming away scanner borders, or cutting a page down to the part that matters. Unlike cropping a photograph, cropping a PDF page does not redraw or re-render anything. A PDF page is displayed through a set of boundary boxes defined in the PDF specification, and the outermost visible boundary is the CropBox. When you crop PDF pages with this tool, it writes a new, smaller CropBox - and a matching MediaBox so every reader agrees on the result - for each page you select. Everything inside the new edges displays and prints exactly as before. Everything outside them is hidden from view.
People search for a pdf cropper for a handful of recurring jobs. A scanned book arrives with wide white borders that make the text tiny on a phone. A slide deck exported to PDF carries a thick frame of empty space. Printer marks, registration targets or a scanner lid edge sit outside the real content. A form was designed on a larger sheet than it will be printed on. In every case the fix has the same shape: keep the content, move the edges, and end with a page whose visible area matches what the reader actually needs. That is the whole job this page does, and the guide below explains the units, the numbers and the one honest warning that matters - cropping hides, it does not delete.
How to crop a PDF, step by step
The workflow has four steps, and the page is laid out so you can check everything before anything is built. Step one: add your PDF with the file picker or by dragging it onto the page. The tool opens it locally, counts the pages, reads the page size, and draws the first page with pdf.js, the same rendering library family your browser uses to display PDFs. Step two: set your crop. Choose a unit - points, millimetres or inches - and type how much to remove from the top, bottom, left and right edges. The four values are independent, so uneven margins are fine. Step three: check the live preview. A rectangle drawn over the first page shows exactly the area that will remain, and the summary panel states the original page size, the cropped page size and the percentage of area removed. Choose whether the crop applies to all pages or only to a page range. Step four: click Crop PDF, wait a moment while the new boxes are written in your tab, and save the download.
Two habits make the job foolproof. First, crop a copy mentality: your original file is never modified, so an over-generous margin costs nothing but another run with smaller numbers. Second, open the downloaded result and glance at a middle page as well as the first before you send it anywhere. Documents whose pages are not all identical - a landscape appendix inside a portrait report, for instance - deserve that ten-second check, and the page range option exists precisely for files like that.
Points, millimetres and inches: the units explained
The point is the native unit of the PDF page. When the specification describes a page box, its coordinates are points measured from the bottom-left corner of the page. That is why this tool always reports the final page size in points, even when you type your margins in millimetres or inches: points are what is actually written into the file, and reporting them keeps the summary honest. The conversions are exact and simple. To turn inches into points, multiply by 72 - so a half-inch margin is 36 points, and a quarter inch is 18 points. To turn millimetres into points, multiply by 72 and divide by 25.4 - so 10 mm is about 28.3 points and 25 mm is about 70.9 points.
Which unit should you work in? If your document came from a print workflow, inches or millimetres will match how the margins were specified on paper. If you are fine-tuning on screen, points give you single-unit precision without decimals. The preview rectangle does not care which unit you picked - it always shows the same remaining area - so choose the unit that matches the numbers you already have, rather than converting by hand and rounding twice.
| Measurement | In points | Typical use |
|---|---|---|
| 1 inch | 72 pt | Standard document margin |
| 0.5 inch | 36 pt | Narrow document margin |
| 0.25 inch | 18 pt | Light trim |
| 25 mm | 70.9 pt | Standard metric margin |
| 10 mm | 28.3 pt | Narrow metric margin |
| 5 mm | 14.2 pt | Scanner border removal |
| 1 mm | 2.835 pt | Fine adjustment |
Removing white margins and trimming pages
Remove white margins PDF searches and trim PDF searches are usually the same job as crop PDF margins: the page is fine, but too much of it is empty border. Wide margins waste screen space. On an A4 page read on a phone, a 25 mm white frame on every side can shrink the text area to barely half the page width, which is why scanned books and journal articles are so tiring to read on small screens. Cropping the white away does not enlarge the text itself - the glyphs stay the same size in points - but readers fit the page to the screen by its visible box, so a cropped page displays noticeably larger. E-readers benefit the same way, which is why margin cropping is a standard preparation step before sending PDFs to a Kindle or a tablet.
Estimating the margins to remove is easier than it sounds. Open the preview, look at where the content starts on the first page, and remember that the white border on a typical scan is roughly even. Start conservatively - remove about two thirds of what you think the border is - check the rectangle, then increase. Because the original is never touched and there is no limit on attempts, iterating costs seconds. One caution: leave a small safety margin rather than cropping flush to the text. A few points of breathing room protects descenders, page numbers printed near the edge, and the slight page-to-page drift that scanners introduce, where one page sits a few points left of the next.
Cropping all pages or a page range
The default scope is all pages, and for most documents that is correct: a scan, an export or a handout normally has the same margins throughout, so one set of numbers fits the whole file. The page range option exists for the exceptions. A report whose first page is a cover with a full-bleed design should not be cropped with the body pages. An appendix in landscape orientation needs different left and right values from the portrait chapters. A single mis-scanned page may need a heavier trim than its neighbours.
Ranges are typed the way people naturally write them: single pages and spans separated by commas, such as 2-5, or 1, 3, 7-9. Pages outside the range are copied through with their boxes completely untouched - not rewritten, not normalised, untouched - which the verification example in the testing notes for this page confirms by reading the boxes back out of the output file. If your document needs two different crops, run it twice: crop the first range, download, then crop the second range in the result. Each run is quick, and chaining two honest passes beats guessing at a compromise set of margins that fits neither section.
Common page sizes in points
Because the CropBox is written in points, it helps to know the standard page sizes in the same unit. The table below lists the sizes you will meet most often, in portrait orientation, with the cropped result of a uniform 36 point - half inch - trim for comparison. If the file info panel on this page reports one of these sizes, your document is a standard sheet; an unusual size usually means a custom export, a slide format, or a page that was already cropped once.
| Page size | Width (pt) | Height (pt) | Width x Height (mm) | After 36 pt trim on all sides |
|---|---|---|---|---|
| A4 | 595 | 842 | 210 x 297 | 523 x 770 pt |
| A5 | 420 | 595 | 148 x 210 | 348 x 523 pt |
| A3 | 842 | 1191 | 297 x 420 | 770 x 1119 pt |
| US Letter | 612 | 792 | 216 x 279 | 540 x 720 pt |
| US Legal | 612 | 1008 | 216 x 356 | 540 x 936 pt |
| US Executive | 522 | 756 | 184 x 267 | 450 x 684 pt |
| B5 (JIS) | 516 | 729 | 182 x 257 | 444 x 657 pt |
| 16:9 slide | 960 | 540 | 339 x 191 | 888 x 468 pt |
Notice the Letter row: cropping 72 points from every side of a Letter page - the exact case this tool was verified against - leaves a visible area of 468 by 648 points, with the CropBox reading [72, 72, 540, 720] in the file. Numbers like these are worth checking after a crop whenever the output will be printed or imposed, because a page that is a few points off a standard size can trigger scaling surprises at the printer.
Worked examples: an A4 scan and a Letter handout
Example one - the A4 scan. A scanned textbook chapter arrives as A4, 595 by 842 points, with white borders of roughly 55 points on the left and right and 60 points at the top and bottom, including the scanner shadow at the gutter. The goal is comfortable phone reading, not print fidelity. Enter 48 points left and right and 54 points top and bottom - deliberately a little less than the full border, leaving a safety margin. The cropped page is 595 minus 96, which is 499 points wide, and 842 minus 108, which is 734 points tall. About 27 percent of the page area was white border, and on a phone the text now displays roughly a fifth wider than before. If page 7 turns out to sit a few points higher in the scan, the range option lets you re-run just that page with a larger top value.
Example two - the Letter handout. A US Letter handout, 612 by 792 points, was exported from slides with a 72 point empty frame at the top carrying only a logo strip the class does not need. Cropping 72 points from the top alone - bottom, left and right at zero - produces a page 612 by 720 points whose CropBox reads [0, 0, 612, 720]. The page count stays the same, the file size barely moves, and the handout now prints without the wasted band. The same arithmetic in inches is even simpler: the frame was exactly one inch, and one inch is exactly 72 points.
Example three - the verification case. During this page testing, a two-page test document was built with 612 by 792 point pages. Page 1 alone was cropped by 72 points on every side through the range option. Reading the output back confirmed page 1 CropBox is exactly [72, 72, 540, 720] - a visible area of 468 by 648 points - while page 2 boxes remained exactly as created. A deliberately impossible request, margins of 400 points left and 400 points right on a 612 point wide page, was refused with a clean error and no file was produced. That is the behaviour you should expect from your own files: valid crops written exactly, untouched pages preserved exactly, invalid crops refused plainly.
CropBox and MediaBox: what actually changes
A PDF page can carry several boundary boxes, and two of them decide what you see. The MediaBox defines the full physical page - the sheet, in effect. The CropBox defines the visible region within it, and it is the box readers and printers honour when displaying or outputting the page. The PDF specification - ISO 32000, hosted by Adobe at the reference listed below - defines both, along with the BleedBox, TrimBox and ArtBox used in print production. Everyday cropping tools, this one included, work with the CropBox because visibility is the job.
This tool sets the MediaBox to match the new CropBox on every page it crops. That choice is deliberate. Some older or stricter readers take the MediaBox as the page size for printing and scaling even when a CropBox is present, so writing both boxes consistently guarantees the cropped size is the size every reader reports. Pages outside your chosen range keep both of their original boxes. Nothing else about the page dictionary is rewritten: the content stream, the fonts and the images it references are the same objects before and after. Understanding this is also the key to the warning in the next section - if only the boxes changed, then whatever the content stream holds is still in the file.
Cropping is not redaction: the honest warning
This is the most important paragraph in the guide, and it follows the honesty standard this site applies to every PDF tool. Cropping hides; it does not delete. When you crop PDF pages here, the words, numbers and images outside the new edges usually remain inside the file, invisible in normal readers but recoverable by anyone who resets the CropBox or inspects the content stream. There have been real-world embarrassments - legal filings and reports whose supposedly hidden passages were revealed exactly this way - and they all trace back to someone treating a visibility change as a removal.
So: crop freely for layout, margins, readability and print preparation. Never crop to conceal a name, an address, a salary figure, a patient detail or anything else that must actually be gone. That job is redaction, which removes the underlying content and rewrites the file, and it belongs to a dedicated redaction workflow - the same distinction this site states plainly on its PDF Editor page. If you are unsure whether your need is layout or concealment, ask what would happen if the hidden part reappeared. If the answer is harm, you need redaction, not a crop.
What is preserved: quality, page count and file size
Three truthful statements cover what a crop does and does not change. Quality: fully preserved. Text remains text, selectable and searchable; vector art remains vector; images keep their original resolution, because cropping writes box values and never re-renders content. The preview on this page is a picture drawn for your convenience - it is never written into your file. Page count: unchanged, always. Cropping cannot add, remove, reorder or rotate pages; if you need those jobs, the Organize PDF and Delete PDF Pages tools linked below do them. The output has the same pages in the same order, with smaller visible areas where you asked for them.
File size: almost unchanged, and anyone who promises otherwise is guessing. The output is saved by pdf-lib from your original document with new box values, so its size is normally within a few percent of the original - sometimes a little smaller because of how the library rewrites the file structure, sometimes a little larger, never dramatically either way. The hidden content staying in the file is precisely why the size does not drop: nothing was removed. If a smaller file is the real goal, crop first for layout, then run the result through our PDF Compressor, which works on the content itself. The summary panel on this page reports the true input and output sizes for every run, so you never have to take this paragraph on trust.
| Property | After cropping |
|---|---|
| Visible page area | Smaller, exactly by your margins |
| Text, fonts and layout inside the crop | Preserved exactly |
| Images inside the crop | Preserved at original resolution |
| Content outside the crop | Hidden, but usually still in the file |
| Page count and order | Unchanged |
| File size | About the same as the original |
| Bookmarks, links and form fields | Preserved - the document is edited in place, not rebuilt page by page |
| Encryption and passwords | Encrypted files cannot be opened - unlock first |
Privacy: your file never leaves your device
Most online PDF tools ask you to upload your document to their server, process it there, and offer it back for download - which means a copy of your statement, contract or ID document sits on a machine you know nothing about, for a retention period you cannot verify. This page works the other way. Two libraries are loaded with the page and run as ordinary JavaScript inside your browser tab: pdf.js draws the preview, and pdf-lib writes the new boxes. Your file is read from your device with the browser File API, held in memory, edited in memory, and handed back as a download generated locally from a Blob. No upload takes place at any step - the privacy is not a policy promise, it is the architecture of the page. You can confirm it yourself: load the page, switch your device to flight mode, and the tool still works end to end.
The consequences are practical, not just principled. There is no account holding a history of your documents and no server copy to be breached or quietly kept. Closing the tab clears everything, because the file existed only in that tab memory. The flip side is equally plain: because nothing is stored, the page cannot recover a result for you after you close it - save the download before you close the tab. For sensitive documents, this trade is the right one, and it is the same design every PDF tool on this site follows.
Crop, organize or compress: choosing the right tool
Several of this site PDF tools change pages, and they are deliberately kept separate so each does one job predictably. Crop PDF (this page) changes the visible area of pages: margins in, boxes rewritten, content untouched. Organize PDF reorders, rotates and removes whole pages inside one file. Delete PDF Pages removes marked pages by checklist or range and returns the rest in their original order. Add Page Numbers to PDF and Add Watermark to PDF stamp content onto pages - finishing touches that belong on the final file, after cropping, never before, because a rebuild or a crop can move the area they were placed against. The PDF Compressor shrinks file size by working on the content itself, which cropping pointedly does not do.
A sensible pipeline chains in this order: unlock if needed, organize the pages, crop the margins, add numbers or a watermark if the document needs them, then compress last if size matters. Each step takes the previous step output as its input, and because every tool here runs locally and leaves its input file untouched on your device, a mistake at any step costs one re-run, never the document.
Common mistakes and how to avoid them
Cropping flush to the text. It looks clean in the preview and then clips a descender, a footnote or a page number in the real file, because pages drift slightly against each other. Leave at least 6 to 10 points of safety beyond the content. Assuming every page matches page 1. The preview shows the first page; covers, landscape inserts and mis-scanned pages can differ. Glance at the summary sizes, use the range option for odd pages, and check a middle page in the result. Confusing points with millimetres. Entering 25 meaning millimetres while the unit is set to points removes barely a third of what you intended - the unit selector sits directly above the margin fields for exactly this reason.
Using crop as redaction. Covered above because it is the mistake with real consequences: hidden is not removed. Cropping before finishing touches. Page numbers added before a crop can end up outside the visible area; crop first, stamp after. Closing the tab before saving. Nothing is stored anywhere, by design - the save click is the final step of the job, not an optional extra. And the simplest check of all: after downloading, confirm the page size your reader reports matches the cropped size in the summary panel. If it does, every reader will show the same page you saw in the preview.
What this tool cannot do
Plainly stated: this tool sets new CropBox and MediaBox values on pages of one PDF at a time, and that is all it does. It cannot delete content permanently - cropping is not redaction, as the warning above states. It cannot resize or scale page content to a different paper size, only reveal less of the existing page. It cannot add margins or white space - the boxes can only move inward from the original page edges. It cannot reorder, rotate, merge or split pages, edit text or images inside a page, unlock a PDF whose password you do not know, repair a corrupt file, or run OCR on scans.
Two limits come from the design itself. Very large files are bounded by your device memory, because the file, its preview and the output copy share one browser tab - there is no server to offload to, by choice. And a crop must leave something behind: margins that meet or exceed the page width or height are refused with a clear error rather than producing an invalid zero-area page. Within those honest bounds the tool is complete: any combination of four margins, in three units, on all pages or a chosen range, at full quality, with your original untouched and your document never uploaded.
Sources & References
- pdf-lib - the open-source library this page uses to load your PDF, set the CropBox and MediaBox on each cropped page, and save the result, entirely inside this page.
- pdf-lib on GitHub - the library source and documentation, including PDFDocument.load, page getMediaBox, setCropBox, setMediaBox and save. This page loads the maintained @cantoo/pdf-lib 2.11.1 build of the same library.
- pdf.js - Mozilla open-source PDF viewer library, which draws the first-page preview you check the crop rectangle against on this page.
- pdf.js on GitHub - the viewer library source and documentation, including getDocument, getPage and the canvas rendering this page uses for the preview.
- MDN - File API: the File interface, how the browser represents a file you pick on your device.
- MDN - Blob: how the cropped PDF is packaged in the browser so it can be downloaded.
- Adobe - PDF 32000 (ISO 32000-1:2008) specification text: the reference that defines the MediaBox and CropBox page boxes this tool writes. Hosted by Adobe; used in place of the ISO catalogue page, which blocks automated checks.
All seven source links above returned HTTP 200 when checked with curl during the building of this page. The ISO catalogue page for ISO 32000 returned 403 to automated checks, so the specification is cited from the complete Adobe-hosted PDF 32000 text instead - that substitution is disclosed here rather than hidden. Every figure in this guide was checked against the method described on this page, so you can reproduce each one exactly with the tool above.