How Crop PDF pages works
Crop PDF pages lets you drag a visible rectangle over any page and adjust what gets displayed, trimming excessive white space, cutting off scanner borders, or standardising margins across a document. The operation runs entirely in your browser using pdf-lib, and the PDF file stays on your computer throughout. Nothing is transmitted to a server at any point.
Cropping a PDF adjusts the CropBox value stored inside each page descriptor. The content outside the crop rectangle is not erased from the file; it is simply excluded from the visible area. This means a PDF viewer that ignores the CropBox may still display the hidden content. If your goal is to permanently eliminate content rather than hide it, a different approach is needed. For most use cases, such as removing blank scanner borders or trimming a document to a consistent margin, CropBox adjustment is exactly the right tool.