# PDF Form Fill Batch

Fill one PDF form template with an array of records and output one filled PDF per record (ZIP) or a merged PDF

> Canonical page: https://elysiatools.com/en/tools/pdf-form-fill-batch

- **Category:** PDF Tools

- **Keywords:** pdf, form, batch, fill, acroform, template, mail merge, zip

## Overview

Fill ONE template PDF with MANY records in a single operation. Each record fills a fresh copy of the template; results are returned as a ZIP (one PDF per record) or a merged PDF. Companion to the single-file PDF form filler. Pure-JS via pdf-lib + JSZip.

## Inputs

- **Template PDF** (file): Upload a PDF form template
- **Records JSON** (textarea): JSON array of objects. Each object fills one copy of the template.
- **Output Mode** (select)
- **Name Field** (text): Record field used to name each output PDF in ZIP mode
- **Flatten Each** (checkbox): Flatten each filled form so it is non-editable

## 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

- Generating personalized training certificates for a class of graduates from a student list.
- Creating batch invoices or receipts for clients using transaction data.
- Preparing standardized employment contracts or NDAs for multiple new hires.

## Frequently asked questions

### 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.

## Related tools

- [2026 PDF Calendar Designer](https://elysiatools.com/en/tools/pdf-2026-calendar-designer): Design and export stylish 2026 printable PDF calendars with bimonthly, quarterly, semiannual, or annual single-page layouts
- [PDF AcroForm Filler](https://elysiatools.com/en/tools/pdf-acroform-filler): Fill standard PDF forms programmatically (text, checkbox, radio, dropdown/list) using JSON data injection
- [PDF Form Data Export](https://elysiatools.com/en/tools/pdf-form-data-export): Read AcroForm field names, types and current values from a PDF and export them to JSON
- [Encrypted PDF Converter](https://elysiatools.com/en/tools/encrypted-pdf-converter): Open password-protected PDFs with OpenDataLoader and export them as Markdown, JSON, or text once the correct password is provided
- [Fitness Workout PDF Generator](https://elysiatools.com/en/tools/fitness-workout-pdf-generator): Generate a printable workout-plan PDF from JSON or CSV data with exercise tables, progress boxes, and optional QR video links
- [LibreOffice Template Fill Merge](https://elysiatools.com/en/tools/libreoffice-template-fill-merge): Replace placeholders in DOCX template and render merged records to PDF using LibreOffice
- [PDF Comment Markup](https://elysiatools.com/en/tools/pdf-comment-markup): Draw review-style side comments, arrows, and highlight regions on PDF pages
- [PDF Page Range Extractor](https://elysiatools.com/en/tools/pdf-page-range-extractor): Extract only selected PDF pages with OpenDataLoader and export the subset as Markdown, JSON, or text

## Samples

- [PDF Samples](https://elysiatools.com/en/samples/pdf-samples): Generated PDF samples from tools dated 2026-02-01 to 2026-02-10
- [Markdown Slide Deck Samples](https://elysiatools.com/en/samples/md-slide-deck-to-pdf): Remark/Marp style Markdown slide decks for testing PDF export layouts
- [Distributed Tracing Samples](https://elysiatools.com/en/samples/distributed-tracing-samples): Comprehensive distributed tracing examples using Jaeger, OpenTelemetry, and other modern observability tools for microservices architecture
- [AWS EventBridge Samples](https://elysiatools.com/en/samples/eventbridge-samples): AWS EventBridge examples including event buses, rules, targets, schema registry, custom events, and cross-account event routing for serverless event-driven architecture
