Utilities
Merge PDF files in filename order with PDFtk
pdftk-merge is a PDF concatenation node powered by PDFtk Java that follows filename order.
overview
What pdftk-merge does
Supply 2 to 10 top-level PDF files. Native PDFtk Java concatenates them in case-sensitive filename order and returns merged.pdf, dump-data.txt, text.txt and summary.json with input order, page counts and output hash. Source files remain unchanged.
Inputs are limited to 16 MiB per file, 32 MiB total and 100 merged pages. Nested files, symbolic links and password inputs are unsupported. Each native step has a 120-second timeout and Java heap is 256 MiB. Concatenation can change PDF signatures and interactive forms.
Input or native processing failures fail the operation. The operation keeps the supplied source unchanged.
This operation uses 3.3.2. Upstream license: GPL-2.0-or-later. The source link identifies the program used by this node.
use cases
Where pdftk-merge fits
Combine ordered PDF documents
Use filenames to control the order of complete input PDFs.
Check merged page counts
Review native page metadata alongside the merged PDF.
Retain text and order evidence
Keep summary.json and extracted text to check the concatenation order.
reference
pdftk-merge inputs and flags
| Name | Type | Flag | Description |
|---|---|---|---|
| source | FOLDER | --source | Folder of 2-10 top-level regular .pdf files, sorted by case-sensitive filename. Up to 16 MiB/file, 32 MiB total and 100 merged pages. No passwords, symlinks or nested files; 120 seconds per native step, 256 MiB Java heap. Input unchanged. |
Showing key inputs. pdftk-merge exposes 1 inputs in total.
example
Run pdftk-merge
python3 /app/run.py --source ./source ./output{
"input_order": [
"01-first.pdf",
"02-second.pdf"
],
"input_pages": [
2,
1
],
"output_pages": 3
}guidance
Choosing pdftk-merge
Use this node to concatenate complete PDF files in explicit filename order. qpdf offers broader structural PDF operations. This operation checks page/text results, not signature or interactive-form fidelity.
qpdf
Offers other structural PDF operations; this node concatenates whole files in filename order.
faq
pdftk-merge questions
related
More Utilities tools
browser-fetch
Headless Chromium render: requested URL, final URL, status, and title next to the page.
cewl
Spider a URL and return a wordlist for password crackers.
csvkit
SQL on one CSV. The table name is the file stem.
dnsgen
Wordlist and mined-word subdomain permutation.
duckdb
In-process SQL on CSV, JSON, and Parquet. No server.
edge-tts
Microsoft Edge neural speech from text or a script file. No API key.
Run pdftk-merge yourself
The synthetic run checks merged pdf and evidence. The excerpt shows selected native fields asserted by saved passing platform verifier; reconstructed excerpt, not full raw artifact. The command shown is the container entrypoint with example paths, not a host-installed CLI command.
Facts on this page come from the live Trickest tool library.