PDF Api Hub icon

PDF Api Hub

HTML to PDF

Actions36

Merge / Split PDF → Merge PDF

AI-generated

Summary

Combines up to 25 PDFs from URLs or previous node output into a single document, returning a hosted link, Base64, or binary data.

Inputs

  • merge_input_type (required) — Method to provide PDFs: 'url' for publicly accessible links (Google Drive supported) or 'file' for binary files from previous nodes.
  • urls — PDF URLs to merge. Files are combined in the order listed. Google Drive share links are auto-converted. Required when 'url' is selected.
  • merge_files_binary_properties — Binary property names containing PDFs (e.g., 'data'). Files are combined in the order listed. Required when 'file' is selected.
  • output — Format of the result: 'url' (hosted link, 30-day retention), 'base64' (inline data), or 'file' (raw binary). Defaults to 'url'.
  • merge_output_filename — Filename for the merged PDF. The .pdf extension is added automatically if omitted.
  • meta_title — Title embedded in the PDF metadata (visible in viewers).
  • meta_author — Author name embedded in the PDF metadata.
  • meta_subject — Subject line embedded in the PDF metadata.
  • meta_keywords — Comma-separated keywords embedded in the PDF metadata.

Output shape

A single record containing the merged PDF in the specified format (URL, Base64 string, or binary data).

Maximum of 25 files per merge. When using URL mode, ensure links are publicly accessible.

Examples

Example 1: Merge publicly accessible PDFs and download the result

Input Type: URL; URLs: https://example.com/doc1.pdf, https://example.com/doc2.pdf; Output: File

Links

Discussion