PDF Conversion Issues

How to Send Database or XML Data to Existing PDF Forms in Acrobat

Natalie TaylorNatalie Taylor Nov 3, 2026 868 views

Question details

The user needs to populate an existing PDF form using data exported from a database or an XML file to create individual completed PDF files for each data record.

How to Send Database or XML Data to Existing PDF Forms
Product
Adobe Acrobat
Device & OS
not provided
Scenario
Batch creating individual completed PDFs from a single PDF form template and a dataset (such as an XML export from a database).
Observed behavior
Requires a method to map database/XML records to corresponding PDF form fields and automate the generation of multiple populated PDF documents.
Before you start

Ensure that your existing PDF form contains interactive text fields and that the field names exactly match the data nodes or headers in your XML file.

Solution 1Recommended

Manually Import Data (FDF, XFDF, or XML) into a PDF Form

Use Acrobat's built-in form tools to manually import a single record's XML or FDF data into your existing PDF form.

Adobe Acrobat natively supports importing data directly into form fields. This method is ideal for processing records one by one.

1
Open the form template

Launch Adobe Acrobat and open the existing PDF form that you want to populate.

2
Access the Prepare Form tool

Navigate to the 'Tools' tab and select 'Prepare Form' to activate the form editing and data management options.

3
Clear existing data

In the right-hand pane, click on 'More' (or the wrench icon) and select 'Clear Form' to ensure all fields are completely empty before importing new data.

4
Import the XML or FDF file

Click 'More' again and select 'Import Data'. Browse your computer for the supported data file (FDF, XFDF, or XML) containing the record, select it, and click 'Open' to populate the fields.

Manually Import Data (FDF, XFDF, or XML) into a PDF Form
Format Compatibility: If your database only exports to CSV or Excel, you must convert the data into an XML or XFDF format before Acrobat can import it into the form.
Free Microsoft Office alternative

Use WPS Office for Streamlined PDF and Document Management

While complex database-to-PDF batch automation typically requires enterprise scripting, WPS Office is an excellent, lightweight alternative for everyday PDF form filling, editing, and document conversion without the heavy subscription costs.

Highly compatible with Microsoft Office formats (Word, Excel, PowerPoint) and standard PDF documents.Easily open, view, and manually fill out interactive PDF forms with an intuitive interface.Seamlessly convert spreadsheets and documents to PDF format for easy sharing.Free and lightweight software that operates smoothly across Windows, Mac, Linux, and mobile devices.
QA img-9

Frequently Asked Questions

What file formats does Adobe Acrobat support for form data import?

Acrobat natively supports importing form data from FDF (Forms Data Format), XFDF (XML Forms Data Format), XML, and TXT files, provided the data structure matches the form fields.

Can I connect a live SQL database directly to a standard PDF form?

Standard PDF forms do not have built-in capabilities to maintain a live ODBC or SQL database connection. You must export the database records to an XML file first, or use a server-side enterprise tool.

Why are my imported XML fields not appearing in the PDF?

This usually occurs because the data node names in your XML file do not perfectly match the names of the interactive fields in your PDF form. Field mapping is strictly case-sensitive.

Does WPS Office support filling out interactive PDF forms?

Yes, WPS Office includes a robust built-in PDF reader and editor that allows you to click, type into, and save standard interactive PDF form fields seamlessly.