PDF Editing Issues

How to Import Multiple TXT Rows into a PDF Form

Ayan MasoodAyan Masood Nov 5, 2026 870 views

Question details

The user wants to import over 100 rows of data from a TXT file into matching PDF form fields to automatically generate multiple populated PDF forms.

How to Import Multiple TXT Rows into a PDF Form
Product
Adobe Acrobat
Device & OS
not provided
Scenario
Batch filling PDF forms with multiple records from a text data file.
Observed behavior
The standard form-data import feature in Acrobat displays the data but only fills the first row, failing to automatically create a separate completed form for every row.
Before you start

Ensure your TXT file is properly formatted with header columns that exactly match the field names in your target PDF form or document template.

Solution 1Recommended

Use Microsoft Word PDFMaker for Mail Merge

The most reliable method to batch-fill forms is to use the mail merge feature in Microsoft Word combined with the Acrobat PDFMaker plug-in.

Acrobat's standard form-data import is designed for single-form filling. To generate multiple PDFs automatically, you need a mail merge operation.

By recreating your form in Word and linking your data source, you can use the PDFMaker add-in to export each merged record as an individual PDF.

1
Prepare your data

Convert or save your TXT file as a structured format like CSV or an Excel spreadsheet for easier handling.

2
Start Mail Merge in Word

Open a Word document formatted like your form, go to the 'Mailings' tab, click 'Select Recipients', and choose 'Use an Existing List' to load your data file.

3
Insert merge fields

Place your cursor in the document where the data should go and click 'Insert Merge Field' to map your column headers to the document.

4
Merge to Adobe PDF

Navigate to the 'Acrobat' tab in Word and click 'Merge to Adobe PDF'. Follow the prompts to automatically generate individual PDF files for each row of data.

Use Microsoft Word PDFMaker for Mail Merge

Batch Generate PDFs with WPS Office Mail Merge

WPS Office provides a powerful, built-in Mail Merge feature in WPS Writer. You can easily connect your TXT or CSV data file and export multiple individualized PDF documents in just a few clicks, bypassing the need for complex Acrobat scripts.

  1. 1. Open WPS Writer: Launch WPS Writer and open the document template you wish to use as your form.
  2. 2. Import your data: Navigate to the 'References' or 'Mailings' tab, click 'Open Data Source', and select your TXT, CSV, or Spreadsheet file.
  3. 3. Insert merge fields: Click 'Insert Merge Field' to place the corresponding data placeholders into your document template.
  4. 4. Export to PDF: Click the 'Merge to Different New Document' or 'Export to PDF' option within the mail merge ribbon to automatically generate individual PDF files for every row of your data.
Native Mail Merge to PDF support without requiring extra pluginsSeamless compatibility with Microsoft Office formats (DOCX, XLSX, CSV)Free and lightweight alternative to heavy, expensive PDF editorsIntuitive user interface for quick document generation
microsoft office alternative - wps office

Frequently Asked Questions

Why does Acrobat only import the first row of my TXT file?

Acrobat's native 'Import Data' feature is designed to populate a single form at a time. It does not possess a built-in loop mechanism to read multiple rows and automatically create separate completed documents for each one.

Can I use a CSV or Excel file instead of a TXT file for importing data?

Yes. In fact, converting your TXT file to a CSV or Excel spreadsheet is highly recommended. These formats provide better structure and compatibility with standard mail merge tools found in word processors.

Is there a free way to mail merge data into multiple PDF files?

Yes, you can use free office suites like WPS Office to run a standard document mail merge. Once the data fields are merged into the document template, you can use the built-in export features to save the merged results directly as individual PDF files.