How to Crop PDF Margins on Every Page
Enter separate numeric adjustments for the left, right, top, and bottom margins, then submit a decodable PDF string. When processing succeeds, those adjustments are applied to every page.
What PDF Crop does
Use PDF Crop when the page boundaries contain extra outer space and you want to trim the margins across a document. The tool works with a PDF input and provides separate numeric adjustments for the left, right, top, and bottom sides. Each adjustment starts at zero, so you can change only the sides that need cropping.
Cropping changes the boundaries of the PDF pages rather than editing the text or images inside them. When processing succeeds, the selected adjustment for each side is applied to every page in the input PDF. This makes the tool suitable for a document that needs the same margin treatment throughout, but it is not a page-by-page layout editor.
How to crop PDF margins
-
Prepare the PDF you want to crop. Provide it as a base64-encoded PDF string. The tool decodes the string and then attempts to read it as a PDF.
-
Enter the numeric adjustment for the left margin. Leave it at zero if that side does not need a change.
-
Enter the numeric adjustment for the right, top, and bottom margins in the same way. The controls are separate, so you can use different values for different sides. The reviewed behavior does not define measurement units, permitted ranges, or minimum and maximum values, so use values that match the tool's available controls and your document workflow.
-
Submit the PDF and the four adjustments for processing. If the PDF can be decoded, read, processed page by page, and written successfully, the corresponding adjustments are applied to every page.
-
Check the processed PDF before using it elsewhere. Confirm that the page boundaries now exclude the intended outer space and that content near the edges remains positioned as expected.
How to read the result
A successful operation means the PDF passed decoding, reading, page processing, and output writing, with the chosen side adjustments applied to every page. It does not mean that the document was cropped differently on individual pages, because the reviewed behavior applies the corresponding adjustments across the input PDF's pages.
If the result is not produced, treat that as a failed operation rather than as a partially completed PDF. Check that the input is a nonempty PDF represented by a decodable string, then review the margin values and try again. An empty file input causes failure, and failures can also occur while decoding, reading, processing pages, or writing the output.
Because the reviewed behavior does not specify units or accepted ranges for the numeric controls, judge the result by opening the processed document and checking its page boundaries. For documents with varied page layouts, inspect every page type that matters before distribution.
Worked example
A user has a multipage PDF with unwanted space along the left edge and wants the same left-margin crop on every page.
Provide a nonempty base64-encoded PDF string, enter a numeric adjustment for the left side while leaving the other three sides at zero, and submit it for processing.
A processed PDF operation succeeds, with the chosen left, right, top, and bottom boundary adjustments applied to every page.
Limitations
- The reviewed behavior applies corresponding adjustments to every page and does not specify page-specific controls, measurement units, or permitted numeric ranges.
Common errors
- An empty file or a string that does not decode into a readable PDF causes the operation to fail. Provide a nonempty, decodable PDF string before submitting it.
FAQ
Can I crop different PDF margins by different amounts?
Yes. The tool supports separate numeric adjustments for the left, right, top, and bottom margins, and each adjustment defaults to zero.
Can I crop only one page of a PDF?
The reviewed behavior applies each corresponding adjustment to every page when processing succeeds. It does not describe separate settings for individual pages.
Why did PDF margin cropping fail?
A failure can occur if the file input is empty or if PDF decoding, reading, page processing, or output writing raises an exception. Check the input and try again with a decodable PDF string.