How to auto-fill a PDF form from Excel without VBA
The common answer to "fill a PDF form from Excel" is a VBA macro that drives Adobe Acrobat. It needs Acrobat Pro on every machine, field names typed into code, and fixing whenever something changes. You can skip all of that.
How to do it
Upload the PDF form
Open pdfprefill.com and choose your PDF, or drop it on the page. PDF Prefill lists the form's fields with their labels, types (text, checkbox, radio button, dropdown) and pages. If the PDF has no fields to type into, it tells you so straight away.
Upload your Excel workbook
Choose your spreadsheet: Excel (
.xlsx,.xls), CSV, TSV or OpenDocument (.ods). The first row must hold the column names; every row below it becomes one filled PDF. If the workbook has several sheets, pick the one you want.Check which column fills which field
PDF Prefill matches columns to fields by their names and labels, so a column called Address lands in the field labelled Address (number, street, and apt.). For each field you can pick another column, type one value for every PDF, or leave it blank. The right-hand column shows what row 1 will put in each field.
Preview, then download
Choose Preview the first PDF to see row 1 filled in. Then choose Fill: one row gives you a PDF, several rows give you a ZIP with one PDF per row. Name the files after a column, for example
{Name} - application, or number them with{#}. Tick Lock the values to flatten the PDFs so the values can no longer be edited and print the same everywhere.
VBA macro versus PDF Prefill
| VBA + Acrobat | PDF Prefill | |
|---|---|---|
| Needs | Excel for Windows, Acrobat Pro, macro security set to allow it | A web browser |
| Field names | Typed into the code (topmostSubform[0].Page1[0].f1_01[0]) | Matched by label, picked from a list |
| New form | Edit the macro | Upload the new PDF |
| Checkboxes, dropdowns | Export values to look up | yes/no and the choice's text |
Keep your workbook as it is
There's nothing to add to the workbook: no macro, no button, no reference library. Save it as usual and
upload the .xlsx or .xlsm. Macros in it are ignored; only the cell values are read.
Your data stays on your computer
PDF Prefill reads and fills the files inside your browser. The PDF and the spreadsheet are never uploaded to a server, which matters when the rows hold names, addresses, tax numbers or dates of birth. We count page visits with Cloudflare Web Analytics, which uses no cookies and never sees your files.
What it can't do yet
- Flat PDFs, such as scans or forms with lines to write on but nothing to type into. Placing fields on those is next on our list.
- Adobe-only XFA forms (made in Adobe LiveCycle), which only Adobe Reader can open. Many government forms are "hybrid" and work fine; PDF Prefill tells you if yours is XFA-only.
- PDFs that need a password to open. PDFs that only restrict editing or printing are filled normally.
- Signing. Signature fields are left for the signer.
Questions
Will it work on a Mac where VBA can't drive Acrobat?
Yes. PDF Prefill runs in any current browser on Mac, Windows, Linux, iPad and iPhone.
Can I automate it on a schedule like a macro?
Not yet. Today it's a page you use; an API for running fills from your own scripts is planned.