Crop PDF

Choose a PDF, drag the crop box or type the margins to trim, pick the pages, and save the cropped PDF — done on your own device.

  • Free
  • No account
  • Runs in your browser
  • Nothing uploaded
Crop PDFNothing uploaded

Runs entirely in your browser — your input is never uploaded, logged, or stored.Privacy policy

What is Crop PDF?

Crop PDF trims the margins of PDF pages: you draw or type the area to keep, and the saved file shows only that area on every page you choose. It is for cutting wide white borders off scanned pages, removing printer marks, focusing a slide or a figure for a presentation, or making a document easier to read on a phone or e-reader. The file is processed in your browser and never uploaded.

Choose a file and the first page appears with a crop box over it. Drag the box's edges or corners, drag inside it to move it, or draw a new box on the page; the four margin fields — Top, Right, Bottom and Left, in millimetres or points — update as you drag, and you can type exact values instead. Use the arrows to preview other pages. Each margin is measured from that edge of the page as you see it, and the same margins are applied to every page you choose, each from its own edges, so a document mixing A4 and Letter pages is trimmed evenly. Apply to all pages, or type a list such as 1-3, 5.

Cropping sets each page's CropBox — the rectangle PDF viewers display and print. The page's full size (its MediaBox) is left unchanged, so nothing is deleted: the content outside the box is still in the file, hidden rather than removed, and any PDF editor can reset the CropBox to bring it back. That makes cropping safe to undo, but it also means cropping is not a way to remove confidential information — anyone who receives the file can reveal what you trimmed. Text stays selectable and images are not recompressed, because the page content is not touched.

The maths handles awkward pages correctly: a page stored with a rotation (where the edge you see at the top is really the page's left edge in PDF coordinates), a page whose coordinate system does not start at zero, and a page that was already cropped, which is trimmed further from what you currently see. A crop must leave at least 10 points (about 3.5 mm) of width and height on every chosen page; if margins would leave less on any page, nothing is saved and the message names the page. One millimetre is 72 ÷ 25.4 ≈ 2.835 points.

Because the file is edited in place, bookmarks, links, form fields and metadata are kept; a digital signature stops validating, as with any edit. Password-protected and permission-locked PDFs are refused, and files up to 200 MB are accepted. Pages are previewed with pdf.js and saved with pdf-lib, both in your browser — you can check in the Network tab of your browser's developer tools that no request carries your PDF.

1. The file's first bytes are checked for the PDF signature, then pdf-lib opens it; encrypted and damaged files are refused. For each page the visible area (CropBox clipped to MediaBox, including inherited values) and the rotation are read. 2. pdf.js renders the previewed page; the crop box you drag is converted from screen pixels to points: margin = pixels × page width in points ÷ preview width in pixels. 3. Typed millimetres are converted with points = mm × 72 ÷ 25.4. 4. For each chosen page, the four displayed-edge margins are mapped to PDF coordinates according to its rotation (at 90° the displayed top is the page's left edge, the displayed right its top, and so on) and subtracted from its visible area. 5. Every page is checked first; if any would be left narrower or shorter than 10 points, nothing is changed and the page is named. 6. Each page's /CropBox is set to the new rectangle, the MediaBox is left alone, and the file is saved as <name>-cropped.pdf.

Worked examples

  • 10 mm off every side of an A4 page (595.28 × 841.89 pt) → CropBox from 28.35 to 566.93 pt across and 28.35 to 813.54 pt up; the MediaBox stays 595.28 × 841.89.
  • A 72 pt (1 inch) top margin on a Letter page stored at 90° (shown landscape) → the CropBox starts at x = 72: the edge you see at the top is the page's left edge.
  • Margins 10, 20, 30 and 40 pt (top, right, bottom, left) on a page whose MediaBox runs from (100, 50) to (700, 850) → CropBox from (140, 80) to (680, 840).
  • A 14 pt left margin on a page already cropped to 36–576 × 36–756 pt → new CropBox 50–576 × 36–756: it trims what you currently see.
  • Top and bottom margins of 400 pt each on a document containing a landscape Letter page (612 pt tall as shown) → refused: "Those margins leave almost nothing of page 2 (792 × 612 pt) …".

How to use Crop PDF

  1. Click "Choose a PDF" or drop a PDF onto the box. The first page appears with a crop box.
  2. Drag the box's edges or corners (or draw a new box), or type the Top, Right, Bottom and Left margins; switch Units between mm and points if you like.
  3. Use the arrows to check other pages, and set "Apply to" to All pages or Some pages with a list like 1-3, 5.
  4. Click "Crop PDF", then "Download" to save <name>-cropped.pdf.

Common errors

  • "Those margins leave almost nothing of page 2 (792 × 612 pt) …" — on that page the margins add up to more than its width or height minus 10 pt. Pages of different sizes share the same margins, so make them smaller or crop that page separately.
  • The "Crop PDF" button is greyed out — all margins are 0, a margin box holds something other than a number, or "Some pages" is chosen with an empty list. Drag the box or type a margin of 0 or more.
  • "Page 9 does not exist — this PDF has 6 pages." — the page list contains a number higher than the page count. Correct the list.
  • "… is encrypted (password-protected or locked against editing)" — the PDF is protected and cannot be edited here. Save an unprotected copy in a PDF reader and crop that.
  • The trimmed content reappeared in another program — the crop hides content, it does not delete it, and some editors show the full page. To remove content permanently, use a redaction tool.

FAQ

How do I crop a PDF without uploading it?

Choose the PDF on this page, drag the crop box over the area to keep and click "Crop PDF". The file is cropped in your browser and downloaded directly; it is never sent to a server.

How do I trim the white margins of a PDF?

Type the margins to remove in millimetres or points — for example 15 mm on each side — or drag the crop box's edges in to the content. The same margins are applied to every chosen page.

Does cropping a PDF delete the content outside the box?

No. Cropping sets the page's visible area (the CropBox); what lies outside is hidden, not removed, and a PDF editor can show it again. Don't rely on cropping to hide confidential information.

Can I crop only some pages of a PDF?

Yes. Set "Apply to" to Some pages and type a list such as 2, 4-6. Only those pages are cropped; the others keep their full size.

Will cropping reduce the quality of my PDF?

No. The page content is not re-rendered or recompressed — only the visible rectangle changes — so text stays selectable and images keep their resolution.

Can I crop a PDF on my phone?

Yes. The crop box works with touch: drag its corners or edges with a finger, or type the margins in the boxes below the preview. Nothing needs to be installed.

Can I undo a crop later?

Yes, because nothing is deleted. Any PDF editor that can change the crop box can reset it to the full page, and your original file is never modified by this tool.

G

Prefer AllUtil on Google

One click adds AllUtil to your Google preferences. You'll see our tools highlighted with a Preferred badge in Search and AI answers.

2× more likely to clickWorks in AI Overviews

Reviewed by unreviewed

Written by Hamza AK. We research, build and test every tool before it is published.

Editorial policy

Last updated

Rechecked against the sources on this date, not stamped.

Methodology

Exact: each chosen page's CropBox is set from margins in points (1 mm = 72 ÷ 25.4 pt), measured from the page's displayed edges and mapped through its rotation and MediaBox origin; existing crops are trimmed further. The MediaBox and all page content are unchanged — hidden content stays in the file. TrimBox, BleedBox and ArtBox are not modified. Dragging is converted from screen pixels, so it is as precise as your pointer; type values for exact margins. The file is edited in place (bookmarks, links and forms kept); digital signatures stop validating. Encrypted PDFs are refused.