Free plan
Bulk fill forms
Fill one PDF form many times from a spreadsheet
About this tool
This tool fills the same fillable PDF form once for every row of a spreadsheet. The first row of the sheet holds the column names, which are matched to the form fields by name or by a mapping you write. You get a ZIP with one PDF per row, or one merged PDF. The filled fields can be locked so they cannot be edited.
For example, you make 100 certificates, each with a different name from your list.
How to use it
- Choose this tool.
- Add your fillable PDF form.
- Add your spreadsheet (CSV, Excel or similar) with one row per form.
- Choose a ZIP or one merged PDF, and which column names the files.
- Press Generate, then download the result.
What you get back
You get a ZIP with one filled PDF for every row, or one merged PDF. A note lists any columns that matched no field.
GOOD TO KNOW
Only AcroForm fields can be filled (XFA forms cannot); only Latin-1 text can be written into fields. Counts as one PDF operation.
TEST IT LIVE
Try Bulk fill forms in the Studio
One click opens the Studio with this tool already selected. Add your file and see the result in seconds.
Family
PDFs
Plan
Free
Method
POST
Endpoint
/v1/pdfs/forms-bulk
Tool ID
pdfs.forms-bulk
Authentication
API key
Accepts
PDF
Background jobs
Yes
Usage group
Pdf
For developers
Use it from your code
cURL
curl -X POST "https://app.h2i.davixlabs.io/v1/pdfs/forms-bulk" \
-H "X-Api-Key: $DAVIX_H2I_API_KEY" \
-F 'file=@document.pdf' \
-F 'data_file=@document.pdf' \
-F 'mapping={"Full name":"applicant_name"}' \
-F 'output=zip' \
-F 'name_column=id'Node.js
const { DavixH2I } = require('@davixlabs/h2i-sdk');
const h2i = new DavixH2I({ apiKey: process.env.DAVIX_H2I_API_KEY, baseUrl: process.env.DAVIX_H2I_URL });
const result = await h2i.pdfs.formsBulk({
"file": 'document.pdf',
"data_file": 'document.pdf',
"mapping": "{\"Full name\":\"applicant_name\"}",
"output": "zip",
"name_column": "id"
});
console.log(result.data, result.requestId);PHP
<?php
require 'vendor/autoload.php';
$h2i = new \Davix\H2I\Client(['apiKey' => getenv('DAVIX_H2I_API_KEY'), 'baseUrl' => getenv('DAVIX_H2I_URL')]);
$result = $h2i->pdfs()->formsBulk([
'file' => 'document.pdf',
'data_file' => 'document.pdf',
'mapping' => '{"Full name":"applicant_name"}',
'output' => 'zip',
'name_column' => 'id',
]);
echo $result->requestId;More in PDFs
