Trim the margins off a PDF
Scanned pages, slides saved as PDF and documents with wide borders often waste paper and look small on a phone. Open the PDF, see the page with a dark shade over the part that will be cut, and set how much to trim from the top, right, bottom and left. Or press Find white margins and fibub looks at the page picture and works out where the content starts and stops.
Cropping changes only the page size entries in the file, so text stays text and stays searchable. If you want a black-and-white copy to save ink, tick Make it black and white. That draws each page as a picture, so the text can no longer be selected, and the page says so before you download. Everything happens in your browser and nothing is uploaded. Afterwards you can reorder pages with organise PDF or shrink the file with file compressor.
How to use it
- Choose a PDF.
- Pick Every page (the same margins on all pages) or Each page on its own, and mm or inches.
- Type margins, or press Find white margins. Use Keep a border of so the content is not touching the edge.
- Move between pages with Previous and Next to check them.
- Press Download cropped PDF.
What each option does
- Every page: one set of margins for all pages. Automatic detection takes the smallest blank edge found on any page, so nothing is cut off.
- Each page on its own: separate margins per page, and detection works on the page you are viewing.
- Keep a border: leaves a small gap around the content when finding margins.
- Also shrink the page size: sets the MediaBox as well as the CropBox. Some printers and viewers ignore the CropBox; this makes them show the crop too.
- Black and white: makes a grayscale copy for printing, with text turned into pictures.
Worked example
A page is 600 by 800 points (8.33 by 11.11 inches). Cut 1 inch (72 points) from the top and 0.5 inch (36 points) from the left. The new page is 564 by 728 points, which is 7.83 by 10.11 inches, and the visible box starts 36 points in from the left.
FAQs
Does cropping delete what is in the margins? No. It hides it. The content is still in the file, so do not use crop to hide private information. Use redaction for that.
Why does my viewer still show the full page? Some viewers ignore the CropBox. Keep “Also shrink the page size” ticked.
Will the black-and-white copy be bigger? It can be, because every page becomes a picture at 150 dots per inch. Use file compressor afterwards if needed.
Can it crop a password-protected PDF? Not until the password is removed.
Where the numbers come from
- Crop sets the page's CropBox and MediaBox, the page-size entries defined in the PDF specification (ISO 32000), with pdf-lib (MIT). Page pictures use pdf.js (Apache 2.0). Grayscale uses the standard Rec. 601 weights (0.299 red, 0.587 green, 0.114 blue). All of it runs in your browser.
Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.
Read more on the Blog
Last updated 2026-12-05.