Key Facts
- Category
- Documents & PDF
- Input Types
- file, textarea, select, text, checkbox
- Output Type
- file
- Sample Coverage
- 4
- API Ready
- Yes
Overview
The PDF Form Fill Batch tool allows you to fill a single PDF form template with multiple records from a JSON array in a single operation. It generates either a ZIP archive containing individual filled PDFs or a single merged PDF document, with options to flatten the forms to prevent further editing.
When to Use
- •When you need to generate personalized documents like certificates, invoices, or contracts for a list of recipients using a single PDF template.
- •When you want to automate the mail-merge process for PDF forms without writing custom scripts or using server-side processing.
- •When you need to lock form fields by flattening the output PDFs to ensure the filled data cannot be altered.
How It Works
- •Upload your PDF form template containing fillable AcroForm fields.
- •Input a JSON array of objects where each object represents a record with keys matching the PDF form field names.
- •Configure output settings, such as choosing between a ZIP archive of individual files or a single merged PDF, and deciding whether to flatten the forms.
- •Click generate to process the records locally in your browser and download the resulting file.
Use Cases
Examples
1. Batch Certificate Generation
Training Coordinator- Background
- A training coordinator needs to issue completion certificates to a batch of students who completed a course.
- Problem
- Manually typing names and dates into a PDF certificate template for dozens of students is slow and error-prone.
- How to Use
- Upload the certificate PDF template, paste the student records as a JSON array, set the output mode to ZIP, and specify 'name' as the naming field.
- Example Config
-
{ "templatePdf": "certificate-template.pdf", "recordsJson": "[{\"name\":\"Alice Zhang\",\"course\":\"Advanced TypeScript\",\"date\":\"2026-06-16\"},{\"name\":\"Bob Chen\",\"course\":\"Go Fundamentals\",\"date\":\"2026-06-16\"}]", "outputMode": "zip", "nameField": "name", "flattenEach": true } - Outcome
- A ZIP file containing individual, flattened PDF certificates named after each student.
2. Merged Invoice Generation
Billing Administrator- Background
- An administrator needs to generate monthly invoices for multiple clients and print them all at once.
- Problem
- Generating separate files requires opening and printing each one individually, which is inefficient.
- How to Use
- Upload the invoice PDF template, paste the client billing records in JSON format, set the output mode to Merged, and enable form flattening.
- Example Config
-
{ "templatePdf": "invoice-template.pdf", "recordsJson": "[{\"invoice_no\":\"INV-001\",\"client\":\"Acme\",\"total\":1500},{\"invoice_no\":\"INV-002\",\"client\":\"Globex\",\"total\":2300}]", "outputMode": "merge", "nameField": "invoice_no", "flattenEach": true } - Outcome
- A single, multi-page PDF document containing all filled invoices ready for printing or archiving.
Try with Samples
json, pdf, fileRelated Hubs
FAQ
How does the tool match JSON data to the PDF form fields?
The tool matches the keys in your JSON objects directly to the internal field names (AcroForm fields) defined in your PDF template.
What is the difference between ZIP and Merged output modes?
ZIP mode generates a separate PDF file for each JSON record and packages them into a ZIP archive, while Merged mode combines all filled PDFs into a single document.
What does the 'Flatten Each' option do?
Flattening locks the form fields, converting the interactive form inputs into static text so they cannot be edited by the recipient.
Is my data uploaded to a server?
No, all processing is performed locally in your browser using JavaScript, ensuring your template and data remain private.
How are the individual files named in the ZIP output?
You can specify a field from your JSON records (using the Name Field option) to dynamically name each generated PDF file.