Crop PDF — Free Online
Crop PDF pages in your browser. Drag a crop area, use margin or paper presets, and apply it to all or selected pages — content stays vector-sharp.
Private by design — files stay in your browser
Add a PDF file to get started.
Drag & drop a PDF here
one file at a time — it never leaves your browser
How it works
Crop PDF sets each selected page's /CropBox — the rectangle viewers display — to the area you choose. Nothing is re-rendered: content streams, images, vector graphics, and annotations are left untouched, so text stays selectable and quality is unchanged. The crop rectangle is stored in top-left display fractions and resolved per page in display space, honoring each page's rotation, so the preview matches the file. Fractions apply proportionally to every target page, while margin and paper presets are resolved against each page's own size. The file never leaves your browser.
How to use it
- Under 'Drag & drop a PDF here', click 'Choose a PDF' (or drag the file in). One PDF at a time; extra files are ignored with a warning.
- The file card shows the size, page count, and active page dimensions in points. The 'Crop preview' renders that page with the kept area highlighted, the rest dimmed, and a rule-of-thirds grid.
- Choose a 'Crop mode': 'Custom' (drag the rectangle and its eight handles), 'Margins' (set 'Margin' in points on each side), 'A4', or 'Letter'. The live 'Crop size' readout shows the resulting width × height in points; 'Reset crop' restores the full page.
- Drag the rectangle to move it, or drag a corner or edge handle to resize it — dragging switches to 'Custom' automatically. Use zoom controls and 'Prev'/'Next' to check other pages. Under 'Pages', pick 'All (N)', 'Current (n)', or 'Custom' with a range like 1-3,5.
- Click 'Crop PDF', read the summary ('N pages cropped · size · content preserved, not rasterized'), then click 'Download cropped PDF' to save <name>-cropped.pdf, or 'Start over' to adjust the crop.
Crop modes
Custom
Drag the box over the preview to choose an exact rectangle. Eight handles (corners and edges) resize it; the smallest draggable edge is 2% of the page.
Margins
Trim the same number of points from every side with the slider (0–144 pt, step 4). Each page is trimmed by the same margin in its own display dimensions.
A4 / Letter
Center a paper-sized crop: A4 is 595 × 842 pt and Letter is 612 × 792 pt. Presets are clamped to the page, so they never expand it.
What cropping changes — and what it doesn't
Cropping writes a page boundary; it does not cut pixels. Viewers show only the new rectangle, but the underlying content is still in the file — content outside the box is hidden, not deleted or redacted. Do not use cropping to remove sensitive information before sharing a document; use a proper redaction tool for that. Because nothing is rasterized, original text remains selectable, images and vector artwork keep their quality, and the page count does not change.
Preview and coordinates
The crop box is stored in top-left-origin display fractions, the same units the writer consumes, so zoom level never affects accuracy. The preview dims everything outside the kept area and shows a rule-of-thirds grid inside it. Placement accounts for a page's /Rotate value, so the visible crop is what gets written. Margin and paper preset modes are resolved per page using the preview's own geometry function, keeping the on-screen result and the output identical.
Output and download
A finished run reports 'PDF cropped' with the number of pages, resulting size, and a reminder that content was preserved, not rasterized. 'Download cropped PDF' saves <name>-cropped.pdf from an in-memory blob; its temporary URL is released when you start over or leave the page. 'Start over' keeps the PDF and settings so you can try a different crop. Everything happens locally — no uploads, no servers.
Formats & limitations
- PDF input only, accepted by application/pdf MIME type or a .pdf filename; one file at a time, and a PDF with no pages is rejected.
- Four crop modes: a custom rectangle, a uniform margin from 0 to 144 pt per side (step 4), an A4 preset (595 × 842 pt), and a Letter preset (612 × 792 pt). Presets are clamped to the page and never enlarge it.
- The crop must sit inside the page with a positive size. The writer requires at least 0.5% of a page per edge and a remaining box of at least 0.5 pt; dragging enforces a 2% minimum edge.
- A margin must be non-negative and smaller than half the shorter page dimension, otherwise nothing would remain.
- One spec applies to every selected page: fractions transfer directly, while margins and presets resolve against each page's own display size. A page's /Rotate value is honored.
- Cropping hides content with a CropBox; it does not delete or redact it. Original text, images, vectors, and annotations are preserved without rasterization, and the page count is unchanged.
- Password-protected PDFs cannot be opened here; unlock them first with Unlock PDF. No coded file-size or page-count limit was found.
How results are validated
- The source is strictly parsed with pdf-lib, and a PDF with no pages is rejected before cropping.
- Custom rectangles must be finite, positive-sized, and inside the page; margins must be finite, non-negative, and leave a page remainder; presets must be recognized.
- Selected page indices are deduplicated and bounds-checked, and at least one page must be chosen.
- The final box is defensively clamped into the page's MediaBox; if less than 0.5 pt remains on an edge, cropping fails instead of writing an invalid box. The live preview uses the same geometry function, so errors appear before you run.
Troubleshooting
'“name” is not a PDF file.', 'This PDF has no pages.', or a warning that other files were ignored.
Add one non-empty PDF per run. Other file types are rejected, blank documents cannot be cropped, and extra files are ignored with the kept file named in the message.
'Crop area must sit inside the page with a positive size.' or 'Crop area falls outside the page.'
Keep the rectangle fully inside the page and drag a handle to enlarge it. A minimum edge is enforced in the preview; 'Reset crop' returns to the full page.
'Margin is larger than the page — nothing would remain.'
Lower the margin so it is less than half of the page's shorter side. The margin is applied equally to all four edges.
A red page-range message, or no pages reported as 'will be cropped'.
Use 1-based page numbers and ascending ranges within the document, for example 1-3,5. Also check 'Pages' — 'Current' crops only the page in the preview.
Content I cropped away still appears when I edit the PDF elsewhere.
Expected behavior: cropping sets a CropBox that hides the area; it does not delete content. Do not rely on it for redaction — remove sensitive content with a dedicated redaction tool first.
'This file is not a valid PDF.' or 'Could not render this page.'
Encrypted and unreadable PDFs cannot be opened — unlock them with Unlock PDF first. A page that only fails to render is still included in the output; only its preview is affected.
Real-world examples
- Remove wide blank margins from a scanned chapter by setting a 36 pt margin on every page.
- Center an A4-sized crop on a larger page using the A4 preset, then download <name>-cropped.pdf.
- Drag a custom rectangle around a single form field region on page one with the 'Current' page scope.
- Crop pages 2–4 of a report with a custom range, leaving the cover and appendix untouched.
- Use 'Reset crop' to return to the full page, then try the Letter preset on a US-letter document.
Frequently asked questions
Does cropping delete the content outside the box?
No. It sets a page CropBox so viewers show only the chosen rectangle. The underlying content stays in the file — it is hidden, not deleted or redacted. Do not use cropping to remove sensitive information before sharing a document.
Does cropping shrink the file size?
Not necessarily. Cropping sets the visible CropBox; content outside stays in the file, hidden rather than deleted, so quality and page count are unchanged. It is not compression or redaction — use Compress PDF if you need a smaller file.
Which crop modes are available?
A custom draggable rectangle with eight resize handles; a uniform margin from 0 to 144 pt per side; and centered A4 (595 × 842 pt) or Letter (612 × 792 pt) presets. Presets are clamped to the page, so they never enlarge it.
Can I crop only some pages?
Yes. Choose 'All', 'Current', or a 1-based 'Custom' range such as 1-3,5. The same crop is applied proportionally to each page, with page rotation taken into account.
Does cropping change the page count?
No. <name>-cropped.pdf keeps every page and its dimensions; only the visible CropBox changes, so content outside the box is hidden rather than deleted.