Crop PDF page margins
Trim excess whitespace around PDF pages by updating MediaBox and CropBox coordinates in millimeters, points, or inches locally without rasterizing text.
Processing runs inside your browser without accounts or server uploads. Modular TypeScript domain logic tested locally.
Report a problem with this toolVector CropBox trimming
Preserves text selectability: Adjusts each page bounding box via pdf-lib so vector fonts, lines, and hyperlinks remain crisp.
Safe floor: Clamps trimming to keep at least 36 pt (0.5 in) of visible page dimension.
Frequently asked questions
- Does cropping shrink the physical page size?
- Yes. Both CropBox and MediaBox update so PDF viewers and printers reflect the trimmed page dimensions.
Related tools
Browse all toolsPDF tools
Organize, delete & reorder PDF
Reorder pages, remove unwanted pages, duplicate sections, and insert blank A4 or Letter pages locally.
PDF tools
Rotate PDF pages
Rotate all or specific PDF pages by 90°, 180°, or 270° cleanly without altering document vectors.
PDF tools
Compress PDF
Reduce PDF file sizes locally using lossless structure compaction or configurable JPEG page rasterization.