How to Export Acrobat Form Data as UTF-8 CSV
Question details
The user needs to export PDF form data to a CSV file explicitly encoded in UTF-8 to preserve special characters.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- Exporting or merging multiple PDF form data files into a spreadsheet where the forms contain special symbols like the degree character.
- Observed behavior
- Special characters are replaced with the replacement character because Acrobat's standard data export does not encode the resulting CSV as true UTF-8.
Gather all the PDF forms you need to extract data from into a single folder, and verify that your PDF editor supports running custom scripts if you plan to automate the encoding process.
Use Custom JavaScript for UTF-8 CSV Export
Bypass Acrobat's standard export feature by utilizing a custom script to explicitly encode the extracted form data as UTF-8.
Acrobat's built-in 'Merge Data Files into a Spreadsheet' tool often defaults to the system's standard encoding rather than true UTF-8. This leads to character corruption for special symbols.
By running a custom JavaScript, you can define the exact character encoding parameters, including a Byte Order Mark (BOM) if your spreadsheet software requires it to recognize the file properly.
Open Adobe Acrobat Pro, navigate to the 'Tools' tab, and select 'Action Wizard'.
Click 'New Action', choose the folder containing your PDF forms as the files to be processed, and add the 'Execute JavaScript' tool from the 'More Tools' panel.
Uncheck 'Prompt user' and click 'Specify Settings' to enter a custom JavaScript that compiles the form fields and exports using a UTF-8 stream.
Save the action with a recognizable name, then click on it in the Action List to run it across your selected folder and generate the UTF-8 CSV.
Convert Exported CSV to UTF-8 via Text Editor
Export the data using the standard method, then manually change the file encoding using a text editor before opening it in a spreadsheet app.
Extract PDF Data Accurately with WPS Office
Avoid complex scripting and manual encoding fixes. WPS Office features powerful built-in PDF to Excel conversion tools that intelligently preserve special characters, form data, and complex formatting for a hassle-free extraction process.
- 1. Open the PDF File: Launch WPS Office and open your PDF form or document.
- 2. Select PDF to Excel: Navigate to the 'Tools' tab on the top ribbon and click on the 'PDF to Excel' conversion feature.
- 3. Convert the Document: Choose your desired output directory, select your conversion preferences, and click 'Convert'.
- 4. Save as CSV: Open the converted file directly in WPS Spreadsheet, review your data, and easily 'Save As' a CSV with UTF-8 encoding.

Frequently Asked Questions
Why do special characters turn into question marks in my exported CSV?
This happens because the software exporting the CSV defaults to a standard system encoding (like ANSI or ASCII) rather than UTF-8. UTF-8 supports a much wider range of special symbols, so unsupported characters get replaced with question marks or replacement symbols.
Can I fix the CSV character issue directly in Microsoft Excel?
Yes, but not by double-clicking the file. You must open Excel first, navigate to the 'Data' tab, select 'From Text/CSV', and manually choose '65001: Unicode (UTF-8)' from the File Origin dropdown menu during the import process.
Do I need programming skills to export a UTF-8 CSV from Acrobat?
To automate the process and bypass Acrobat's default export behavior, some JavaScript knowledge is necessary. However, you can easily use the manual workaround of exporting normally and converting the file encoding in a standard text editor like Notepad.




