How to Split Mail Merge Records into Individually Named PDFs
Question details
The user wants to separate a single mail merge output document into multiple individual PDF files and name each one based on a specific merge field value.

- Product
- Word Processor / PDF Editor
- Device & OS
- not provided
- Scenario
- Generating individual personalized documents, such as invoices or letters, from a mail merge operation and saving them as distinct PDF files with specific names.
- Observed behavior
- Standard mail merge typically outputs a single large document, requiring a workaround to split and auto-name the individual records as PDFs.
Before splitting your mail merge output, ensure that the merge field you intend to use for naming contains unique values and does not include any characters prohibited in filenames (such as /, \, :, *, ?, ", <, >, |).
Use Dedicated Mail Merge to PDF Tools
Third-party add-ins or utilities can directly merge data from a spreadsheet into individual PDF files with custom names.
Standard word processors usually combine all merged records into a single document. To separate them and dynamically name them based on your data, using a specialized mail merge utility is the most efficient method.
Download and install a dedicated mail merge utility, such as MergeGuru, PDFMailMerger, or another suitable add-in for your word processor.
Open your main document template and link it to your data source spreadsheet containing the merge fields.
In the utility's settings panel, select the option to generate individual PDF files instead of a single consolidated document.
Choose the specific merge field (e.g., 'CustomerName' or 'InvoiceID') that the utility will use to name each generated PDF.
Run the merge process to output the individually named PDF files into your designated destination folder.

Split a Merged Document Using PDF Software
If you have already generated a single large PDF containing all mail merge records, you can split it, though automatic naming requires manual work or scripting.
Handle Documents and PDFs Seamlessly with WPS Office
WPS Office offers a robust, free alternative to Microsoft Office, featuring a comprehensive Writer with built-in mail merge capabilities and native PDF conversion tools. Enjoy full compatibility with your existing Word documents and Excel data sources without expensive subscription fees.
- 1. Download WPS Office: Visit the official WPS Office website and click the free download button for your operating system.
- 2. Install the Software: Run the downloaded installer file and follow the quick on-screen instructions to set up WPS Office on your computer.
- 3. Open Your Documents: Launch WPS Writer or Spreadsheet and instantly open your existing Microsoft Office files without losing any formatting.

Frequently Asked Questions
Can I use Adobe Acrobat's Split command to auto-name files using merge fields?
No, Adobe Acrobat's native Split Document command does not automatically read mail merge fields to use as filenames. You will need to either rename the split files manually or utilize a custom JavaScript within Acrobat to extract page text for the filename.
What characters should I avoid in my merge fields if I plan to use them as filenames?
You must avoid special characters that are prohibited in Windows or macOS file systems. Ensure your merge field data does not contain slashes (/ or \), colons (:), asterisks (*), question marks (?), quotation marks ("), or angle brackets (< or >).
Why did my mail merge only generate one large document instead of separate files?
By default, standard word processors merge all records into a single continuous document to make printing easier. To generate individual files for each record, you must either use specialized mail merge add-ins or split the resulting master PDF after generation.




