How to autofill a PDF form on a Mac
Preview fills PDF forms one field at a time, and its AutoFill suggests your own contact details, not rows of data. To fill forms from a spreadsheet on a Mac or MacBook, without Acrobat Pro or Windows macros, use PDF Prefill in Safari, Chrome or Firefox.
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 spreadsheet
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.From Numbers, choose File › Export To › Excel or CSV first, then upload that file.
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.The ZIP lands in Downloads; double-click it in Finder to get the PDFs.
Open the results in Preview
The filled PDFs open in Preview like any other. If you left the values editable, you can still change a field in Preview before sending. Flattened PDFs show the values as part of the page.
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.
Questions
Do I need to install anything?
No. It runs in Safari, Chrome, Firefox or Edge on macOS.
Does it work with Apple Numbers files?
Export from Numbers to Excel (.xlsx) or CSV first; .numbers files can't be read directly.