Skip to main content

Add Margin to PDF in Make

What this module does

PDF4me — Add Margin to PDF adds white space around the edges of every page in a PDF and returns a new document with an expanded page size. Control each edge independently — left, right, top, and bottom — in millimeters. Use it to create binding space on the left, annotation room on the right, header clearance at the top, or footer clearance at the bottom. The original content is never moved or reflowed; the margin is pure additive white space added outside the existing content boundary.

Authenticating Your API Request

Every PDF4me module in Make requires a valid Connection. Create or select one that holds your PDF4me API key so the scenario can authenticate margin requests securely.

Important Facts You Should Not Miss

Margins increase the page size
Every margin you add expands the page in that direction. A 25mm left margin makes the page 25mm wider; a 15mm top margin makes it 15mm taller. If your downstream workflow has a fixed paper size expectation — a printer driver, a PDF/A validator, or a form — account for the larger dimensions before running the scenario.
Set any edge to 0 for no change
All four margin fields are required, but you can enter 0 for any edge you do not want to expand. To add only a binding margin on the left, enter 25 in Margin Left and 0 in the other three fields. The page will grow only on the left side — the other three edges remain at their original dimensions.
Content is never moved or reflowed
The existing text, images, and layout inside the original content boundary are not touched. The module adds white space outside that boundary — it does not push content inward or reformat the document. This means your tables, paragraph breaks, and image positions remain exactly where they were in the source PDF.
Make PDF4me Add Margin to PDF module showing Connection set to My PDF4me connection, File set to Map with PDF File Name and PDF File mapped from step 1, Margin Left mm set to 25, Margin Right mm set to 10, Margin Top mm set to 15, Margin Bottom mm set to 15

All four margin fields are required. Enter 0 for any edge you do not want to expand. Margins are in millimeters — 25mm left is a typical binding margin; 15mm top/bottom gives comfortable print clearance.

Parameters

Required: Connection, PDF File Name, PDF File, Margin Left, Margin Right, Margin Top, and Margin Bottom must all be provided. Enter 0 for any edge you do not want to expand. All margin values are integers in millimeters (mm).

ParameterRequiredWhat it doesExample
ConnectionYesPDF4me API connection. Click Add and paste your API key if connecting for the first time.My PDF4me connection
PDF File NameYesFilename of the source PDF including .pdf extension. Map from the prior module's file name output.report.pdf
PDF FileYesBinary content of the source PDF. Map from the prior module's data output — Dropbox, Google Drive, HTTP, or email attachment.1. Data
Margin Left (mm)YesWhite space added to the left edge in millimeters. Expands page width by this amount. Enter 0 for no left margin. Typical binding margin: 20–30mm.25
Margin Right (mm)YesWhite space added to the right edge in millimeters. Expands page width by this amount. Enter 0 for no right margin. Typical margin: 10–15mm.10
Margin Top (mm)YesWhite space added to the top edge in millimeters. Expands page height by this amount. Enter 0 for no top margin. Header clearance: 15–20mm.15
Margin Bottom (mm)YesWhite space added to the bottom edge in millimeters. Expands page height by this amount. Enter 0 for no bottom margin. Footer clearance: 15–20mm.15

Quick Setup

  1. Add PDF4meAdd Margin to PDF to your Make scenario.
  2. Select Connection (or click Add to create one with your PDF4me API key).
  3. Set File to Map and connect PDF File Name and PDF File from the prior module.
  4. Enter integer values in millimeters for Margin Left, Margin Right, Margin Top, and Margin Bottom. Enter 0 for any edge you do not want to expand.
  5. Click Save and run the scenario. The output Doc Data field contains the margin-expanded PDF — pipe it into a storage upload, email, or print module.

Workflow Examples

Workflow ExamplesCommon Make scenario patterns using Add Margin to PDF.
Binding margin for print-ready reports
  1. A scheduled trigger fires on the last day of each month.
  2. Google Drive downloads the monthly report PDF.
  3. Add Margin to PDF runs with Margin Left 25, Margin Right 10, Margin Top 15, Margin Bottom 15 — creating a left-side binding margin.
  4. The expanded PDF uploads to a "Print Ready" folder in SharePoint.
  5. An email notifies the print team that this month's report is ready to bind.
Review copy with annotation space
  1. A new file lands in a Dropbox "For Review" folder, triggering the scenario.
  2. Add Margin to PDF adds 30mm to all four edges — giving reviewers wide annotation space on every side.
  3. The expanded PDF is uploaded to a "Review Copies" folder.
  4. Gmail sends the review copy to the assigned reviewer with a deadline note.
Training workbook with note-taking margin
  1. A Google Sheets row is updated with a new training session, triggering the scenario.
  2. Google Drive downloads the training slide PDF.
  3. Add Margin to PDF adds 40mm to the right edge and 15mm to top/bottom/left — creating a wide note-taking column on the right.
  4. The workbook PDF is uploaded to the training portal and emailed to all registered participants.

Frequently Asked Questions

Does adding a margin change the PDF page size?+
Yes — this is by design. Each margin value expands the page in that direction. A 25mm left margin makes each page 25mm wider; a 15mm top margin makes each page 15mm taller. The content inside is not moved or reflowed — the new white space is added outside the existing content boundary. If your downstream system expects a fixed page size, account for the larger dimensions.
Can I add margin to only one side and leave the others unchanged?+
Yes. Enter 0 for any edge you do not want to expand. For example, to add only a left binding margin, set Margin Left to 25 and Margin Right, Margin Top, and Margin Bottom all to 0. The page will grow only on the left; the other three edges remain at their original dimensions.
What unit do the margin fields use — pixels, points, or millimeters?+
All four fields accept integer values in millimeters (mm). Common reference values: 10mm is a slim margin, 15mm is standard print clearance, 25mm is a typical left-side binding margin, 30mm gives comfortable annotation space, and 40mm creates a wide note-taking column. There is no support for other units — convert from inches or points before entering values.
Does the module process every page in the PDF?+
Yes. The same margin values are applied uniformly to every page in the document. There is no per-page or page-range selector in this module. If you need different margins on different pages — for example, a larger left margin on odd pages for double-sided binding — you would need to split the PDF by page range first, add margins separately, and then merge the results.
Is the source PDF modified?+
No. PDF4me processes a copy and returns the margin-expanded PDF in the Doc Data output. Your source file in Dropbox, Google Drive, SharePoint, or any other location is completely untouched. The output is a new document that you route to whatever module comes next in your scenario.

Get Help