Fill one PDF form hundreds of times

A form and a spreadsheet in; a document per row out.

Drop the PDF form, then the CSVor click to choose — up to 4 GB on Premium
  • Premium: needs an account
  • Files deleted within one hour
  • Encrypted in transit
  • No watermarks
  • Run by ClaRock, Inc.

Mail merge takes a PDF form and a CSV file and fills the form once for every row. The heading of each CSV column is matched to the form field with the same name, and every row comes back as a separate, finished PDF inside one ZIP file. It is meant for certificates, letters, invoices and permission slips that share a layout. This tool needs Premium.

How to use it

  1. Build a PDF form whose fields have clear names, and a CSV whose first row uses those same names as column headings.
  2. Drop the PDF form first, then the CSV, and check that the form is at the top of the list.
  3. Optionally type a Filename pattern, and untick Flatten the filled fields so they can no longer be edited to leave the fields live.
  4. Click Run the merge.
  5. Download the ZIP and open a few of the PDFs before you send them.

How columns are matched to fields

A column fills a field when its heading is exactly the name of that field. Spaces around the heading are ignored, but capital letters matter: a column called name does not fill a field called Name. Columns with no matching field are skipped, and fields with no column keep whatever the blank form had in them.

If not one heading matches a field, nothing is produced. The message lists your first few headings next to the first few field names, so you can see the mismatch. To find the names in a form, open it in Fill PDF form, which shows each field under its stored name.

  • Text fields take the cell as it is.
  • Checkboxes are ticked when the cell says true, yes, 1 or x, in any capitalisation, and cleared when it says false, no or 0, or is empty. Any other word is refused.
  • Dropdowns, lists and radio buttons need a cell that is one of the options the form defines.
  • Signature fields and buttons cannot be filled, so leave those cells empty.

What the CSV has to look like

The file must be comma-separated text with a heading row and at least one row of data, up to 500 rows per run. Values that contain a comma or a line break are fine as long as they are in double quotes, which is how spreadsheet programs save them. Blank rows are ignored.

A file separated by semicolons, which some regional settings produce, is read as a single column and will match nothing. An Excel workbook is not accepted either; save it as CSV or convert it with Excel to CSV.

One bad value stops the whole run. If a dropdown is given something that is not among its options, you get the row number, the value, the field name and the options that field accepts, and no ZIP. Fix the cell and run it again.

How the output files are named

Without a pattern, each PDF is named after the value in the first column that matched a field. With a pattern, you write the name yourself and put a column heading in curly braces wherever its value should appear; the example in the Filename pattern box shows the form.

A heading that is misspelled or empty for a row is left in the name as you typed it, so the mistake is visible. Two rows that would get the same name have the row number added to the second. A slash in a name creates a folder inside the ZIP.

The merged PDFs are flattened unless you untick that option: the values are fixed on the page and the recipient cannot edit them. Values can be in any script, including Arabic, Cyrillic, Chinese, Japanese and Korean; save the CSV as UTF-8 so they arrive intact.

Questions

Why does it say none of the CSV columns match a field in the form?

No column heading is identical to a field name. Compare the two lists in the message: differences in capital letters or wording count, and a semicolon-separated file shows up as one long heading.

Can I use an Excel file instead of a CSV?

Not directly. Save the sheet as CSV from your spreadsheet program, or run it through Excel to CSV, then drop that file after the form.

Can I merge into a Word letter or a PDF without form fields?

No. The template has to be a PDF with fillable fields, and a PDF without any is refused. This tool fills existing fields and cannot create them, so add them in a PDF form editor first.

How many documents can one merge produce?

Up to 500, one per data row. For a longer list, split the CSV into several files and run each with the same form.

Can I get one combined PDF instead of a ZIP of separate files?

The merge always returns separate PDFs in a ZIP. To print them as one document, unpack the ZIP and join the files with Merge PDF.

What happens to the CSV and the merged documents?

The form, the CSV and the ZIP of merged PDFs are deleted automatically within one hour. The merge runs on servers that have no access to the internet.