PDF ExplainedApril 2, 20265 min read

What Is XFA in PDF? XFA vs AcroForms Explained

XFA (XML Forms Architecture) is a form technology embedded in some PDFs. Learn how it differs from AcroForms, why XFA is being deprecated, and what it means for your forms.

XFA — XML Forms Architecture — is a technology developed by JetForm (later acquired by Adobe) for creating dynamic, data-driven forms inside PDF files. An XFA PDF stores the form definition as an embedded XML document rather than using the native PDF form fields (AcroForms). XFA forms can be dynamic — adding or removing fields and pages based on user input. They were widely used in government and enterprise settings in the 2000s but are now deprecated in the PDF specification.

How XFA Works Inside a PDF

An XFA PDF contains a stream of XML data that defines the form's structure, appearance, data bindings, and scripting. When opened in Adobe Acrobat or Reader, the XFA engine renders this XML into an interactive form. The resulting form can dynamically show or hide fields, calculate totals, validate input, and even add pages if needed. The PDF wrapper around the XFA data exists mainly for distribution — the real form engine is entirely XML-based.

XFA vs AcroForms

AcroForms are the native PDF form type: form fields are PDF objects stored in the PDF's object tree, rendered by any PDF reader. XFA forms are rendered by a separate XML engine, only available in Adobe products. The key differences:

  • AcroForms work in all PDF viewers; XFA only works in Adobe Acrobat/Reader
  • XFA supports dynamic layouts (auto-expanding fields, conditional pages); AcroForms are static
  • AcroForms are part of the open PDF standard; XFA was proprietary to Adobe/JetForm
  • XFA data is submitted as XML; AcroForms submit as FDF or XML

Why XFA Is Being Deprecated

Adobe announced in 2021 that XFA support would be removed from future versions of Acrobat. XFA was never part of the open PDF standard — it was a proprietary extension. No browser PDF viewer (Chrome, Firefox, Edge) supports XFA. Mobile PDF apps generally don't support it. The growing ecosystem of non-Adobe PDF tools made XFA increasingly difficult to support. Adobe recommends migrating XFA forms to AcroForms, and the latest PDF specification explicitly deprecated XFA.

What to Do With Existing XFA PDFs

If you receive an XFA PDF that says "This form requires Adobe Acrobat or Reader" in your browser, you need to open it in Adobe Reader. If you need to convert it, Adobe Acrobat Pro has an option to convert dynamic XFA forms to static AcroForms, though some dynamic behavior will be lost. For organizations with XFA-based workflows, migrating to AcroForms or web-based forms is now necessary as Adobe phases out XFA support.

Try Edit Pages Now — Free

Browser-based, private, and instant. No account or software required.

Open Edit Pages
Report Bug
Send Feedback
Feature Request