Crop PDF margins — no upload

Trim white margins or scanner edges from PDF pages by millimetres, uniformly or page by page, in this tab.

Runs locally · No upload · No account · Files never leave this device

Drop one PDF here or click to choose

Stays on this device · pdf-lib in this tab

Use all for a uniform crop, or ranges to crop pages differently (apply several times).

    Privacy: your PDF is read only in this tab’s memory. Nothing is uploaded to our servers. Soft limit: ~25 MiB per file. Verify in DevTools on the trust page.

    How to crop a PDF

    1. Drop one PDF into the box above.
    2. Keep Pages to crop as all for a uniform crop, or type pages such as 1, 3-4.
    3. Enter how many millimetres to trim from the top, right, bottom, and left, then press Apply crop.
    4. For different margins on different pages, change the pages and values and apply again. Crops add up.
    5. Press Save cropped PDF and open yourfile-cropped.pdf to check the result.

    How cropping works here

    Every PDF page has a CropBox: the rectangle a viewer shows. This tool shrinks that rectangle with pdf-lib by your margins (1 mm ≈ 2.83 pt). If you tick Also set MediaBox, the page size itself is set to the same rectangle, which some print workflows prefer. All of it runs in this tab — no upload (see the trust check).

    Honest limits — read before sharing

    Related tools: rotate PDF, remove PDF pages, split PDF, and merge PDF.

    FAQ

    Does cropping a PDF delete the hidden content?

    No. Only the visible CropBox changes. The trimmed area is still in the file and can be recovered, so cropping is not a way to remove private information.

    Can I crop only some pages?

    Yes. Type the pages, set margins, and apply. Repeat with other pages and values before saving.

    What unit are the margins in?

    Millimetres. The tool converts them to PDF points (72 per inch) and trims that much from each side of the current crop box.

    Is the PDF uploaded to crop it?

    No. pdf-lib changes the page boxes in this tab’s memory and the download is created locally.

    What does Also set MediaBox do?

    It sets the page size to the cropped rectangle as well as the visible area. The hidden content is still in the file either way.

    Will cropping make my PDF smaller?

    No. Nothing is removed, so the file size stays about the same.