Crop & Resize PDF - Trim Margins, Set A4 or Letter Size Free
Trim scanner borders or scale pages to standard paper sizes in your browser. No upload, no account - 50 MB max.
Upload PDF
Loading PDF tools...
Crop & Resize Settings
Trims each edge inward by the amount shown. Adjusts MediaBox and CropBox - content outside the new box is clipped.
Result
No processed PDF yet
Upload a PDF, configure crop or resize settings, then click Apply
What Is a PDF Crop & Resize Tool?
A PDF crop and resize tool adjusts how each page is framed inside the document without re-scanning paper or re-exporting from Word. Cropping trims excess margin space - the wide white borders phone cameras and flatbed scanners often leave around receipts, contracts, and textbook pages. Resizing scales an entire page (and its embedded content) to a standard paper dimension such as A4, US Letter, or US Legal so mixed-size archives print consistently. This page uses pdf-lib loaded on demand in your browser. Crop mode rewrites the page MediaBox and CropBox coordinates; resize mode calls setSize to scale content into the target frame. Neither path rasterizes text the way a screenshot workflow would, so selectable text and vector lines stay intact where the source PDF already had them.
Cropping is not the same as compressing, rotating, or deleting pages. Compression re-encodes images to shrink bytes; rotation changes viewing angle; deletion removes entire pages from the file sequence. Crop only clips the visible frame inward. If your problem is sideways scans, use the PDF rotate tool. If page order is wrong, use PDF sort. Many real workflows combine crop first (remove borders), then rotate (fix orientation), then compress (fit email limits).
PDF page boxes are defined in the ISO 32000 specification. The MediaBox is the physical page boundary; the CropBox is what viewers clip to by default. Professional prepress workflows also reference BleedBox and TrimBox for commercial printing. This browser tool adjusts MediaBox and CropBox together so everyday viewers - Adobe Acrobat, Chrome, Preview, mobile readers - clip consistently. It does not attempt print-shop bleed management; if your job requires precise trim and bleed for a commercial printer, validate output in their preflight software. Page count validation uses PDF.js; box math and scaling use pdf-lib loaded on demand - the same stack as other DevOkk PDF tools.
How to Crop or Resize PDF Pages - Step by Step
Most documents take under two minutes from upload to download. Nothing leaves your browser.
- Upload your PDF - Drag and drop a PDF or click Choose PDF File.
validatePdfUploadchecks the MIME type and the 50 MB limit before pdf-lib loads. - Choose crop or resize - Crop trims margins in millimeters or points on each side. Resize scales selected pages to A4, US Letter, or US Legal.
- Set values and page scope - Enter top, right, bottom, left margins, or pick a target paper size. Select all pages or a range like
1, 3-5. - Apply and download - Click Apply Crop or Apply Resize, then Download Processed PDF. Your original file on disk stays unchanged.
PDF Crop Worked Example - Before and After
Imagine an expense report scanned on an office flatbed: eight portrait pages, each with roughly 12 mm of white border on every edge because the paper was smaller than the glass. Printing as-is wastes toner; emailing looks unprofessional. Crop fixes the frame without touching the scan quality inside the content area.
Before
8-page scan batch: every page has ~12 mm white border from the flatbed scanner.
After
All pages cropped 12 mm on each side; content fills the frame. File size unchanged because no re-encoding occurred.
Steps on this page: upload the batch, confirm eight pages in the info panel, leave Operation on Crop margins, set unit to mm, enter 12 on all four sides, choose All pages, click Apply Crop, then Download. File size stays nearly identical because pdf-lib only changed box numbers - no JPEG pass occurred. If only the cover sheet had extra border, switch Pages to process to Page range and enter 1 instead.
When You Need PDF Crop or Resize - Real-World Use Cases
1. Trimming flatbed scanner borders
Office scanners capture the full glass area, leaving gray or white strips around letter-size paper. Uniform 10–15 mm crop on all sides removes the frame while keeping signatures and tables intact. Because pdf-lib only adjusts box coordinates, the scan quality inside the content area is unchanged - no JPEG recompression pass like a compressor would apply. Batch the entire eight-page expense report on All pages in one click.
2. Normalizing mixed exports to A4
European teams often need every attachment on A4 before archival. Resize mode scales US Letter exports from American vendors into A4 dimensions so duplex printing aligns in binders. pdf-lib setSize proportionally scales content - landscape pages automatically use swapped width and height so wide scans map to landscape A4 rather than being squashed into portrait. Run resize on All pages before merging regional chapters on PDF merge.
3. Preparing phone photos of whiteboards
Camera PDFs include desk edges and thumbs in the margin. Crop 20–30 mm from each side after rotating on PDF rotate so slides fill the screen in meeting recordings. Use millimeter units when you measure margins against a physical ruler - points work too but mm matches how most teams discuss scan cleanup. Browser-only pdf-lib processing keeps whiteboard photos on the device during crop - nothing uploads to a cloud trim service.
4. Fitting legacy Legal scans to Letter folders
Old filing cabinets use Letter dividers while the source PDF is Legal height. Resize selected pages to Letter before merging on PDF merge so printouts match folder tabs. pdf-lib setSize scales content proportionally - wide tables may shrink. If text becomes too small, re-export from the source app at Letter instead of scaling a Legal scan down.
5. Removing fax header/footer bands
Fax-to-PDF services stamp date lines at the top. Crop 25 mm from the top on affected pages only via page range - faster than re-faxing. Headers on pages 2–4 may differ from page 1 - navigate with PDF.js thumbnails if your upload includes a preview panel. Crop adjusts MediaBox coordinates; it does not erase pixels from the stream, but viewers clip content outside the new box.
6. Standardizing slide handouts
Professors export one slide per page with huge side margins. Crop symmetrically so projected PDFs in classroom PCs look balanced without opening PowerPoint. Equal left and right margins keep slide content centered when the projector letterboxes the page. Pair with PDF page numbers if weekly handouts need consistent folios after margins are trimmed.
7. Cleaning insurance claim photos
Field adjusters photograph damage reports with carpet visible around the paper. Crop keeps PHI local - browser-only processing means photos never upload to a server. Trim borders before merging claim photos with adjuster notes on PDF merge so reviewers see tight pages instead of desk clutter. Compress afterward if raster-heavy scans exceed email limits.
8. Preparing print-ready packets for home printers
Resize to A4 or Letter so browser print dialogs default to "Actual size" without unexpected scaling warnings when page dimensions mismatch regional defaults. European recipients often expect A4; US home printers default to Letter. Normalizing page size before headers and footers stamping avoids margin text overlapping body content on mismatched boxes.
9. Isolating a form field area on one page
Crop a single signature page tighter before sending to e-sign platforms that render thumbnails - smaller crop boxes produce cleaner preview tiles. Use Page range so only the signature sheet changes while the rest of the contract keeps original dimensions. This is box cropping, not interactive rectangle selection - set margin values numerically for repeatable results across a batch of similar scans.
10. Teaching PDF box concepts in workshops
Trainers crop a sample page, reopen it in a desktop inspector, and compare MediaBox numbers before and after - a concrete way to explain PDF structure without command-line tools.
PDF Crop vs Resize vs Compress
Pick the operation that matches the problem. These tools complement each other.
| Task | Crop (this page) | Resize (this page) | PDF Compressor |
|---|---|---|---|
| Remove white scan borders | ✓ margin trim | No - changes scale | No |
| Fit page to A4 / Letter | No | ✓ setSize | No |
| Shrink file bytes for email | Rarely | Sometimes | ✓ re-encode |
| Selective page subset | ✓ page range | ✓ page range | ✓ page range |
| Browser-only, no upload | ✓ pdf-lib | ✓ pdf-lib | ✓ PDF.js |
Crop when margins are the problem; resize when page dimensions must match A4 or Letter; compress when file bytes must shrink for email. Many scan workflows run crop → rotate on PDF rotate → compress on PDF compressor in that order. Resize before merge when combining US and EU exports so every chapter prints on the same paper size.
Common Errors and Honest Limits
These are the failures the UI surfaces on purpose, plus jobs this page will not pretend to do.
- Invalid upload. Non-PDF files and files over 50 MB are rejected before processing starts.
- Margins too large. If top + bottom (or left + right) exceed the page dimensions, pdf-lib cannot create a valid box and the tool reports the error.
- Encrypted PDFs. Password-locked files must be decrypted locally first.
- Box-only crop. Crop adjusts MediaBox and CropBox coordinates. Content drawn outside those boxes may still exist in the file stream but will not display in most viewers. This is not the same as visually selecting a rectangle in Acrobat Pro.
- No bleed/trim prepress. Commercial print shops use BleedBox and TrimBox for cutting guides. This tool does not set those boxes - validate with your printer before paying for a press run.
- Resize scales content. setSize proportionally scales page contents. Extremely wide tables may become small text - re-export from the source app when layout reflow is needed instead of scaling.
- Per-page mixed sizes preserved on unselected pages. Page range only affects listed indexes; others keep original boxes.
- Memory on huge files. Files near 50 MB may spike RAM during save. Close other tabs if the browser warns about memory.
- No undo stack. Keep the original file or re-upload if settings were wrong.
Privacy & Security - 100% Browser-Side Processing
PDF crop and resize on this page runs entirely in your browser. pdf-lib and PDF.js load from the same origin; your document bytes are never POSTed to an API, never written to server logs, and never indexed. That makes the tool suitable for contracts, medical records, and financial statements - subject to your own device security policies.
We do not persist uploads in localStorage. Closing the tab discards in-memory state except any file you explicitly downloaded. No account means no cross-device history.
Frequently Asked Questions
What does cropping a PDF do?
Cropping a PDF trims invisible margin space by shrinking the page MediaBox and CropBox inward. Content outside the new box is clipped in standard viewers. This tool subtracts your top, right, bottom, and left margin values from each selected page. It does not rasterize or recompress - pdf-lib rewrites box coordinates in the PDF structure, so text and vectors stay sharp.
Does this PDF crop tool upload my file to a server?
No. Cropping and resizing run entirely in your browser with pdf-lib and PDF.js loaded on demand. Your PDF bytes never leave your device. There is no account, no cloud queue, and no retention period because nothing is stored remotely.
Can I resize PDF pages to A4 or US Letter?
Yes. Choose Resize to standard size and pick A4, US Letter, or US Legal. pdf-lib setSize scales page content to fit the target dimensions. Landscape pages automatically use the swapped width and height so a wide scan maps to landscape A4 rather than being squashed into portrait.
Can I crop or resize only specific pages?
Yes. Choose Page range and enter numbers like 1, 3-5, or 2, 4, 7. parsePageRange validates each index against the document page count. Pages you omit keep their original boxes and dimensions.
What units can I use for crop margins?
Margins accept points (pt) or millimeters (mm). One point equals 1/72 inch; one millimeter equals about 2.835 points. Switch the unit selector before entering values. Zero on all sides means no crop is applied in crop mode.
What is the maximum PDF file size?
Uploads are capped at 50 MB (MAX_PDF_BYTES). That limit keeps pdf-lib save operations responsive in typical desktop browsers. Split oversized archives on the PDF split tool first, crop or resize each chunk, then merge again if needed.
Will cropping or resizing reduce PDF quality?
Crop mode only changes box coordinates - it does not re-encode images. Resize mode uses pdf-lib setSize, which scales vector and text content proportionally. Embedded photos may appear slightly softer when scaled down, but there is no deliberate JPEG recompression step like a compressor tool would apply.
Can I crop password-protected PDFs?
Password-protected PDFs must be unlocked before pdf-lib can load them. This page does not include a password prompt. Remove protection locally in a desktop reader, or export an unencrypted copy, then upload it here.
How is cropping different from compressing a PDF?
Cropping removes margin area by adjusting page boxes. Compressing re-encodes images and strips metadata to shrink file bytes. Use crop when scans have wide white borders; use the PDF compressor when email attachment size is the problem.
Is this PDF crop and resize tool free?
Yes. There is no registration, watermark, or daily quota. Process as many PDFs as you need as long as each file is under 50 MB and your browser can hold it in memory.
Related PDF Tools
Crop and resize are often one step in a longer PDF workflow. These sibling tools stay on the same origin:
- PDF rotate - fix sideways scans after cropping borders.
- PDF compressor - shrink file size after layout is correct.
- PDF merge - combine normalized chapters into one deliverable.
- PDF split - divide oversized files before crop near the 50 MB cap.
- PDF page numbers - stamp folios once page size is uniform.
- PDF organize - reorder, delete, and rotate pages after margins are trimmed.
- PDF extract text - pull plain text from cropped digital PDFs (scanned pages need OCR first).
- PDF delete pages - remove blank scans after trimming.
Related Tools
Discover more free developer tools that might interest you.
PDF Compressor
Compress PDF files to reduce size
Use ToolPDF Split
Split PDF documents into multiple files
Use ToolPDF Merge
Merge multiple PDF files into one document
Use ToolPDF Delete Pages
Delete specific pages from PDF documents
Use ToolPDF Page Numbers
Add page numbers to PDF documents
Use ToolPDF Sort
Sort and rearrange pages in PDF documents
Use Tool