How to Mail Merge Existing PDF Files on a Mac
Question details
The user wants to generate mail-merged documents from an existing PDF template designed in InDesign on a Mac.

- Product
- Adobe InDesign / Adobe Acrobat
- Device & OS
- macOS
- Scenario
- Batch generating customized documents from an existing PDF template and a data source.
- Observed behavior
- The user is looking for an efficient, Mac-compatible plug-in or workflow to automate the mail merge process without manual, labor-intensive tasks.
Ensure you have access to the original Adobe InDesign source file if possible, as merging data before exporting to PDF is much easier than trying to inject data into a flattened PDF document.
Perform the Mail Merge Directly in Adobe InDesign
The most seamless way to merge data into a PDF template designed in InDesign is to perform the Data Merge within InDesign before exporting.
Launch Adobe InDesign on your Mac and open the original source document that was used to design the PDF.
Navigate to the top menu bar and click on Window, then select Utilities, and click on Data Merge.
Click the panel menu icon in the upper-right corner of the Data Merge panel and choose Select Data Source. Locate your prepared CSV or TXT file and click Open.
Drag and drop the data fields from the Data Merge panel directly into the corresponding text frames in your document layout.
Click the Create Merged Document button at the bottom of the Data Merge panel. Review your settings in the dialog box, then click OK to generate the new document with all records.
Go to File > Export, choose Adobe PDF (Print) as the format, and save the newly merged document as a single PDF or multiple PDFs.

Use a Third-Party Adobe Acrobat Mail Merge Script
If you only have the PDF and not the InDesign source file, you can use specialized Acrobat scripts or plug-ins available for macOS to merge data directly into PDF form fields.
Use WPS Office for Easy Mail Merge to PDF
If working with Adobe InDesign or Acrobat scripts feels too complex, you can easily perform mail merges using WPS Writer and export the results directly to PDF. WPS Office provides a user-friendly, Mac-compatible interface for handling documents and data.
- 1. Open WPS Writer: Launch WPS Office on your Mac, open WPS Writer, and create or open your document template.
- 2. Start Mail Merge: Go to the References tab on the top ribbon and click on the Mail Merge button to activate the merge tools.
- 3. Import data source: Click Open Data Source and select the spreadsheet (.xlsx or .csv) containing your mailing list or data records.
- 4. Insert merge fields: Place your cursor in the document where data should appear, click Insert Merge Field, and select the corresponding column headers.
- 5. Merge and export to PDF: Click Merge to New Document to generate the populated pages, then go to Menu > Export to PDF to save the final output as a PDF file.

Frequently Asked Questions
Can I mail merge directly into a PDF without Adobe InDesign or Acrobat?
Standard PDF readers do not support direct mail merge. You typically need specialized PDF software with form-field scripting capabilities. Alternatively, you can use a word processor like WPS Writer or Microsoft Word to perform the merge first and then export the finalized document as a PDF.
How do I split a mail-merged PDF into individual files on a Mac?
If your software generated a single large PDF, you can open it in Mac's built-in Preview app, open the sidebar, and drag thumbnails to the desktop to extract pages. For larger batches, use a PDF editor's 'Split Document' feature to automatically separate the file by page count.
Why aren't my CSV data fields showing up in InDesign Data Merge?
Ensure your CSV file is saved with comma separation and uses standard UTF-8 encoding. InDesign may fail to read the file if there are special characters in the headers, or if the file was accidentally saved in a proprietary Excel format (.xlsx) instead of plain CSV or TXT.




