How to autofill a PDF form from Excel
You have the data in Excel and a PDF form that needs it, maybe once, maybe for hundreds of people. Copying cell by cell is slow and error-prone. PDF Prefill puts each Excel row into the PDF's fields for you, without macros, add-ins or Adobe Acrobat Pro.
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 file
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.Keep one record per row: a person, a vendor, a property. Values are used as Excel shows them, so a ZIP code like 02134 keeps its leading zero and a date keeps its format.
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.
Set up the spreadsheet so matching is automatic
Columns match fields when their names are close. The quickest way to get perfect names: upload the PDF first, then choose Download a CSV with one column per field. Open it in Excel, fill in a row per PDF, save, and upload it. Every column maps back to its own field.
If you already have a spreadsheet, you don't need to rename anything. Matching uses the field's visible label as well
as its internal name, which on many forms is something like f1_01; anything it misses you pick from a list once.
What to put in each kind of field
| Field type | What to put in the cell |
|---|---|
| Text | Any text. Line breaks are kept in multi-line fields. A value longer than the field allows is cut, and you are told which row and field. |
| Checkbox | yes/no, y/n, true/false, x, 1/0, on/off, checked |
| Radio buttons, dropdown | The text of the choice, in any upper or lower case. Dropdowns that allow typing take any text. |
| List box | One or more choices, separated by ; |
| Signature | Left empty for signing later. |
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
Do I need Adobe Acrobat Pro to fill a PDF from Excel?
No. PDF Prefill fills the form's own fields in your browser. The filled PDFs open in any PDF reader, including Adobe Reader, Preview on Mac and web browsers.
Does it work with .xls and Google Sheets?
Yes for .xls, .xlsx, .xlsm and .ods. For Google Sheets, use File › Download › Microsoft Excel or CSV, then upload that file.
How many rows can I fill at once?
Hundreds at a time work well. Everything happens in your browser, so the practical limit depends on your computer's memory and the size of the PDF.
Can I fill only some of the fields?
Yes. Set any field to Leave blank and it stays as the PDF has it, so the recipient can fill it in.