Merge PDFs
pdf_mergeMerge multiple PDFs into one file in a specified order, optionally extracting selected pages from each source before combining.
Instructions
Combine several PDFs into one, in the order given. Each entry can be a file (path or base64) or {file, pages} to take only some pages ("1-3, 5, 8-"; "3-1" keeps reverse order; a page can repeat). Password-protected PDFs must be unlocked first. Web version: https://s3eidat.github.io/pdf-merge/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | PDFs to merge, in order: a path/base64 string, or {file, pages}. | |
| output | No | Where to write the result: a file path, or a folder ending in "/". Default: the server output folder (a temp folder unless --out-dir is set). | |
| returnBase64 | No | Also return the output as base64 in the result (only for small files). Default false. |