.XFDF

XFDF File

XML Forms Data Format
Ask a question
QUICK ANSWER

An XFDF file is a small XML file that holds data filled into a PDF form - it is not a PDF and shows nothing on its own. To use it, open the matching PDF form in Adobe Acrobat Reader (free), then import the XFDF via Form > Import Data. The fields fill in automatically. To get a regular PDF, flatten and save from Acrobat after importing.

Developer: Adobe Systems (now Adobe Inc.); standardized as ISO 19444-1:2019 Category: Data Files Open standard MIME: application/vnd.adobe.xfdf
OPENS ON Windows macOS Linux Web
Related: .PKPASS · .DAT · .JSON · .RIS

On this page

19k+ extensions indexed
Last reviewed Aug 11, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the XFDF file format?

An .xfdf file (XML Forms Data Format) is an XML document that stores only the field values and annotations for a PDF form - it does NOT contain the visual form layout or document pages. Think of it as a thin data layer that travels separately from the blank form: to reconstruct a filled-out document you import the .xfdf back into its matching PDF in Acrobat or a compatible viewer.

The root element is <xfdf xmlns="http://ns.adobe.com/xfdf/">, which contains a <fields> block with nested <field name="..."><value>...</value></field> entries for each form control. An optional <f href="..."/> element points to the associated PDF file. The <annots> block, when present, carries PDF annotations such as highlights, sticky notes, and stamps.

Adobe introduced the format around 2000 alongside Acrobat 5 as the XML-friendly alternative to the older binary FDF format. Unlike .fdf, XFDF integrates naturally with web servers, databases, and any XML toolchain - a server can generate or parse .xfdf with a standard XML library without needing a dedicated PDF library. XFDF 3.0 was codified as ISO 19444-1:2019, binding it to the PDF 2.0 specification.

Files are plain UTF-8 text, typically 1-50 KB, and open in any text editor. Acrobat, Foxit, and most modern PDF editors support import and export of .xfdf.

Security & safety

RISK: LOW

XFDF is plain XML with no executable code. It cannot run scripts or exploit vulnerabilities on its own. In older Acrobat versions, XSS-like XML injection via malformed XFDF was theoretical but required user import into a vulnerable Acrobat. Modern Acrobat versions sanitize input. Treat XFDF from untrusted sources with normal caution but it is not a significant threat vector.

Format details

in a nutshell
FULL NAMEXML Forms Data Formataka XFDF file, Acrobat XML form data
DEVELOPERAdobe Systems (now Adobe Inc.); standardized as ISO 19444-1:2019since 2000 (Acrobat 5 era); latest spec XFDF 3.0 - ISO 19444-1:2019, based on PDF 2.0 / ISO 32000-2
CATEGORYData Files
MIME TYPEapplication/vnd.adobe.xfdf
TYPEXML-based PDF form field data and annotation export file (NOT a viewable document)
STANDARDOpen · royalty-free
MAGIC BYTES · FILE SIGNATURE
OFFSET
0001020304
HEX
3C3F786D6C
ASCII
<?xml
XFDF is an XML file; starts with standard XML declaration '<?xml version="1.0"...?>' followed by root element <xfdf xmlns="http://ns.adobe.com/xfdf/">. BOM (EF BB BF) may precede if UTF-8 with BOM.

Programs that open XFDF files

Windows4 apps
Adobe Acrobat Reader Free In Adobe Reader open the matching PDF form, then go to Tools > Fill & Sign (or Form > Import Data) and import the XFDF. The form fields populate automatically.
Adobe Acrobat (Standard/Pro) Paid Open the target PDF, then Tools > Prepare Form > Import Data (or Forms > Import), select the XFDF.
Foxit PDF Reader Free Open the PDF form in Foxit PDF Reader, Form > Import Data, select the XFDF file.
Any text editor / XML editor Free Open XFDF directly in Notepad++ or VS Code to read the raw form data as XML - useful for developers.
macOS2 apps
Adobe Acrobat Reader Free Open the matching PDF, then import XFDF via Form > Import Data.
Preview (macOS built-in) Built-in macOS Preview does NOT natively import XFDF. Use Adobe Reader or Foxit for import.
Linux1 app
LibreOffice Open-source LibreOffice can open PDF forms and may import XFDF via Extensions; direct XFDF import support is limited - Foxit Linux or command-line pdfforms tool recommended.
Web1 app
Adobe Acrobat online Freemium Upload PDF and import XFDF data via Adobe's cloud PDF editor.

Technical details

deep spec
Root XML element`<xfdf xmlns="http://ns.adobe.com/xfdf/">` containing `<fields>` and optional `<annots>`
MIME type`application/vnd.adobe.xfdf` (primary); `application/xfdf` also accepted
File encodingUTF-8 plain text XML; UTF-8 with BOM also valid
File signature`<?xml` at byte offset 0 (standard XML declaration)
SpecificationISO 19444-1:2019 (XFDF 3.0), tied to PDF 2.0 / ISO 32000-2
Form data structure`<fields>` with nested `<field name>` / `<value>` children per form control
Annotation support`<annots>` block carries highlights, sticky notes, stamps, and ink annotations
PDF reference link`<f href="..."/>` element links the XFDF to its associated source PDF
Typical file size1 KB - 50 KB (field data only; no page content or images embedded)
CompressionNo built-in compression; can be gzip-compressed at the HTTP transport level
Security modelNo built-in encryption; security relies on the receiving PDF's own permission settings
Limitations vs FDFNo page spawning, no embedded file attachments - intentional subset of FDF functionality
XML toolchainGeneratable and parseable with any standard XML library; no PDF-specific tools required
Older alternativeFDF (`.fdf`) - broader feature set but uses non-XML binary-adjacent PDF object syntax
Released2000 (Acrobat 5 era); latest spec XFDF 3.0 - ISO 19444-1:2019, based on PDF 2.0 / ISO 32000-2
Latest versionXFDF 3.0 (ISO 19444-1:2019)
Open standardYes · royalty-free
Specificationwww.iso.org

XFDF conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with XFDF files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about XFDF files.

Frequently asked questions

How do I open an XFDF file?
An XFDF file contains PDF form data - it is not a document you view directly. Open the matching PDF form in Adobe Acrobat Reader (free), then import the XFDF: Form > Import Data. The form will fill in with the saved values.
What is the difference between XFDF and FDF?
XFDF stores PDF form data as XML; FDF uses PDF-like binary/text object syntax. Both carry form field values and annotations. XFDF is preferred for web/server integration (standard XML tools); FDF has broader feature support including page spawning.
Can I convert XFDF to PDF?
Yes - import the XFDF into its matching PDF form in Adobe Acrobat or Acrobat Reader, then save/print/flatten the result as a standard PDF.
Can I open XFDF without Adobe software?
As readable XML: yes - open in any text editor or XML viewer. To use the form data properly: Foxit PDF Reader, PDF.js, or developer tools (iText, PDFBox) also handle XFDF.
Why is my XFDF file empty or shows no content?
XFDF never contains visible content - only field values. You must open it alongside the matching PDF form. Without the form, there is nothing to display.
Is XFDF an ISO standard?
Yes - ISO 19444-1:2019 defines XFDF 3.0, aligned with PDF 2.0 (ISO 32000-2).

References

1ISO 19444-1:2019 - XML Forms Data Format Part 1www.iso.org
2Adobe - XFDF specification (archived)www.yumpu.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.BINCD/DVD Disc Image (BIN/CUE)
3.MDMarkdown Document
4.CRDOWNLOADChrome Partial Download File
5.RPMSGRestricted Permission Message
6.PARTPartial Download File
7.NOMEDIAAndroid No-Media Marker File
8.EXEWindows Executable (Portable Executable)
9.DBSQLite Database File
10.SWFSmall Web Format (Shockwave Flash)

Related extensions

.PKPASSApple Wallet Pass (formerly Passbook)
.DATProgram Data File (generic)
.JSONJavaScript Object Notation file
.RISResearch Information Systems citation file
.OFXOpen Financial Exchange
.CSVComma-Separated Values

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z