Last Updated: 25 Jun, 2025

PDFs are a great way to share documents while keeping formatting intact, but sometimes you only need the form data inside a PDF — not the entire file. That’s where FDF comes in. FDF, or Forms Data Format, is a file format developed by Adobe for handling just the form data (like names, emails, checkbox states) from a PDF.
So, if you’ve been asking yourself “How do I convert a PDF to FDF?”, you’re in the right place! Let’s break it down.
What is FDF, and Why Would You Use It?
Before jumping into conversion, let’s clarify what FDF actually is.
- FDF (Forms Data Format) files are lightweight files that contain just the data and instructions to fill a PDF form.
- Think of it as a form’s content without the form’s design.
- It’s commonly used to extract, modify, or send form data without needing the full PDF.
How to Convert a PDF to FDF
There are several methods you can use, depending on the tools available to you.
1. Using Adobe Acrobat Pro
This is the most straightforward method if you have access to Adobe Acrobat Pro.
Steps:
- Open your PDF form in Adobe Acrobat Pro.
- Go to File > Export Data or Tools > Prepare Form.
- Choose “Export Data” and select “FDF” as the file format.
- Save the
.fdf
file wherever you like.
Note: This only works if your PDF is a fillable form.
2. Using Free Online Tools
If you don’t have Acrobat Pro, some online tools let you extract form data:
- Search for “PDF to FDF online converter”.
- Upload your PDF form.
- Download the resulting
.fdf
file.
Caution: Always be careful with sensitive documents when using online tools.
3. Using PDF SDKs or Programming Libraries
If you’re a developer or working with automation, you can use libraries like:
- Export Data to FDF from a PDF File
- Import Data from FDF into a PDF File
- iText (Java/.NET)
- PDFBox (Java)
- PDFLib
- Adobe’s FDF Toolkit
These allow you to write scripts that open PDF files, extract form fields, and export them to FDF.
Here’s a basic example in Java using iText:
PdfReader reader = new PdfReader("form.pdf");
FileOutputStream out = new FileOutputStream("data.fdf");
FdfWriter writer = new FdfWriter();
writer.setField("name", "John Doe");
writer.writeTo(out);
reader.close();
out.close();
What’s Inside an FDF File?
An FDF file is a text-based format — you can even open it in Notepad. It typically looks like this:
%FDF-1.2
1 0 obj
<<
/FDF
<<
/Fields [
<< /T (name) /V (John Doe) >>
<< /T (email) /V (john.doe@example.com) >>
]
>>
>>
endobj
trailer
<< /Root 1 0 R >>
%%EOF
This structure maps directly to the form fields in your original PDF.
Can You Convert Back from FDF to PDF?
Yes! You can import FDF data back into a PDF form, either:
- Using Adobe Acrobat: Go to Prepare Form > More > Import Data.
- Programmatically via libraries.
- Or using command-line tools like pdftk:
pdftk form.pdf fill_form data.fdf output filled_form.pdf
Final Thoughts
Converting a PDF to FDF can be incredibly helpful if you want to:
- Store form data separately.
- Pre-fill forms dynamically.
- Send just the data over the web (smaller file size).
Extracting FDF from a PDF, either manually through Adobe Acrobat or via code, is a practical technique for handling interactive forms.
FAQ
Q: Can I extract FDF from a scanned PDF?
A: No, FDF requires fillable forms. A scanned PDF is just an image and doesn’t contain form data.
Q: Is FDF the same as XFDF?
A: Not exactly. XFDF is the XML version of FDF. It’s more modern and web-friendly.