What Is FDF? The Forms Data Format for PDF Explained
An FDF file is Adobe's original sidecar format for carrying form data and annotations separately from a PDF. FDF stands for Forms Data Format, and it was introduced in the early days of Acrobat as a way to keep interactive form values and markup (highlights, comments, stamps) outside the PDF document. Traditional FDF uses compact PDF-style object syntax, while Acrobat can also export an XML-encoded FDF variant. Neither form embeds the data in the PDF: both act as sidecar data that Acrobat can re-merge into the original file on demand — which is why many legal, government, and enterprise workflows still produce .fdf files today.
If you have ever exported data from an Adobe Acrobat form or annotation session and ended up with a small .fdf file sitting next to your PDF, this guide explains what that file actually contains, how it compares with the newer XFDF format and with regular PDF annotations, and how to tell traditional binary FDF from XML FDF. The converter supports XML FDF; a traditional binary file beginning with %FDF must be exported again as XFDF or XML FDF.
What Does FDF Stand For?
FDF stands for Forms Data Format. It is one of the file formats defined by the PDF specification for the Forms Data Format architecture, which lets a PDF act as a template while the actual entered data lives in a separate, much smaller file. The same container was later extended to carry annotation data (highlights, underlines, sticky notes, and form fields), which made it useful for round-tripping comments between reviewers without sending the entire PDF.
There are three things worth knowing about the name:
- "Forms" — the format was designed first for AcroForm field values, so a single .fdf can represent a filled-in form.
- "Data" — the payload is the data only; the visual layout stays in the PDF template.
- "Format" — it is a published specification, not a closed format. Even so, non-Adobe support depends on the FDF variant and the library being used.
What Is Inside an FDF File?
The common form of FDF is a binary-encoded container based on the same object syntax used inside PDFs themselves. Acrobat may also produce an XML-encoded text variant. Whichever encoding is used, the high-level data can contain:
- A header identifying the FDF version.
- A root object that points to an FDF dictionary.
- The FDF dictionary, which holds the interesting fields:
/Fields— an array of form field name/value pairs./Annots— an array of annotation objects (highlights, comments, stamps)./Status— an optional review status string.
- A cross-reference table and trailer, just like a miniature PDF.
Because traditional FDF mirrors PDF's internal object model, it is compact and round-trips cleanly with Acrobat, but it is not human-readable and does not diff cleanly in version control. That is the main reason Adobe later introduced the XML-based successor, XFDF.
FDF vs XFDF vs PDFAnnotations
Embedded PDF Annotations
When you highlight or comment inside a normal PDF, the annotations are embedded directly in the PDF as binary objects. This is the most portable option — the annotations travel with the document — but it bloats the file and makes it harder to extract or version just the markup. To pull that embedded markup out into structured text, use the full annotation export tool.
FDF (Forms Data Format)
FDF is Adobe's older sidecar format for carrying form data and annotations separately from the PDF. It may use traditional binary encoding or XML encoding. If you have an .fdf file, drag it into the FDF annotation converter: XML FDF parses directly, while a traditional binary file is flagged as unsupported.
- Pros: Smaller than the full PDF; round-trips cleanly with Acrobat; an official part of the PDF spec.
- Cons: Traditional binary files are not human-readable, do not diff cleanly, and require specialized parsers; XML FDF is readable but less widely supported than XFDF.
XFDF (XML Forms Data Format)
XFDF is an XML-based variant of FDF. It can carry form data and annotations as plain text, though application compatibility should still be tested. See our complete explanation of what XFDF is, or convert a file with the XFDF annotation converter.
- Pros: Human-readable, diffs cleanly in git, relatively easy to parse with XML libraries, usually smaller than the source PDF, and supported by many modern applications.
- Cons: Slightly larger file size than FDF due to XML verbosity (but still tiny — a few KB).
Quick Comparison
| Property | Embedded PDF | FDF | XFDF |
|---|---|---|---|
| Encoding | Binary | Traditional binary / XML variant | XML (text) |
| Human-readable | No | XML FDF only | Yes |
| Carries form data | Yes | Yes | Yes |
| Carries annotations | Yes | Yes | Yes |
| Diffs cleanly in git | No | XML FDF only | Yes |
| Needs the source PDF | No | Yes | Yes |
Why Use FDF Instead of Embedded Annotations?
FDF made sense in an era when PDFs were large, email attachments were size-constrained, and reviewers wanted to send only their comments back to an author rather than the whole document. A reviewer could annotate, export a tiny .fdf, and email just that file; the author would import it against their master PDF to see exactly the same markup.
Today, that same property makes FDF useful for archiving and audit trails in regulated environments (legal redlining, government forms, clinical document review) where the original PDF must stay byte-for-byte unchanged while comments are tracked separately. For a browser-based alternative that reads XML FDF without Adobe, see the FDF annotation converter.
How to Open an FDF File
Convert it on pdfannotations.com
The fastest path: drag the .fdf file into the FDF annotation converter. XML FDF is parsed locally in your browser. Markdown, CSV, and plain text are free; JSON, Obsidian, Notion, Excel, ZIP, AI Context Markdown, and RAG JSON are available in Pro. If the file begins with %FDF, it is traditional binary FDF: export it again from Acrobat as XFDF or XML FDF.
Re-import into Adobe Acrobat
In Acrobat, open the original PDF, then choose All Tools → Forms & Signatures → Import Data (or Comments → Import Comments) and select the .fdf file. Acrobat re-merges the fields and annotations onto the document.
Open in a text editor
XML FDF can be viewed in a text editor. A traditional binary FDF file will mix readable keywords (/Fields, /Annots, /Rect) with non-printable bytes, so it is uncomfortable to read or edit by hand. For readable markup, export it from Acrobat as XFDF and use the XFDF converter.
Parse with code
Traditional FDF follows PDF object syntax, so it needs a PDF library capable of parsing PDF objects. XML FDF can be handled as XML. For most developers, exporting XFDF from Acrobat and parsing that XML is far simpler.
How to Convert an FDF File
The recommended workflow is:
- Identify the file type first: XML FDF can be dropped directly into the FDF annotation converter; a traditional binary FDF beginning with
%FDFmust be exported again from Acrobat as XFDF or XML FDF. - Choose an output format — Markdown, CSV, or plain text is free; advanced formats are available in Pro.
- If your destination is Obsidian specifically, follow the XFDF to Obsidian workflow — the steps are identical once the FDF has been parsed.
If you are starting from Acrobat and want to produce the FDF in the first place, the how to export XFDF annotations guide covers Acrobat's export dialog (the same dialog writes either FDF or XFDF).
FDF File Size and Limits
An FDF file stores the data separately from page content. Its size depends on the number of fields and annotations. The key constraint is that FDF is meaningless without the source PDF: field and annotation coordinates reference the original document's page geometry, so you need that PDF (or a converter that can reconstruct context) to make sense of the data.
Common FDF Myths
"FDF is the same as PDF"
No. FDF reuses PDF's object syntax, but it is a data sidecar, not a viewable document. You cannot open an FDF on its own and see a page.
"FDF is deprecated"
Not exactly. Adobe recommends XFDF for new workflows because it is text-based and easier to work with, but FDF remains part of the PDF specification and is still produced by Acrobat, many enterprise form systems, and government portals. The FDF annotation converter exists precisely because these files are still common in the wild.
"FDF cannot be read without Adobe"
Not universally. FDF is a published format, but traditional binary FDF needs a specialized parser. The converter reads XML FDF; binary FDF must be re-exported as XFDF or XML FDF.
"You lose data converting FDF to XFDF"
Not necessarily. XFDF can carry standard fields and annotations, but support for optional metadata depends on the source application, export settings, and destination tool. Review critical annotations after conversion.
When Should You Use FDF?
- You received an .fdf file from Acrobat, a government form system, or a legal review tool — convert it with the FDF annotation converter.
- You need a strict audit trail where the master PDF must stay unchanged — keep comments in a sidecar FDF.
- You are interoperating with an older enterprise system that only emits FDF.
For any new workflow, prefer XFDF or embedded annotations — they are easier to read, diff, and convert.
Frequently Asked Questions
What does .fdf stand for?
.fdf stands for Forms Data Format, Adobe's sidecar format for PDF form data and annotations. It is commonly traditional binary, though XML variants exist.
Is FDF the same as XFDF?
No. Traditional FDF uses PDF-style object syntax, while XFDF is XML (plain text). Acrobat can also export XML FDF, but XFDF has broader ecosystem support and is easier to read and convert.
Can I open an FDF file without Adobe Acrobat?
XML FDF: yes. Drag it into the FDF annotation converter to read and export its contents. Traditional binary FDF must be exported again from Acrobat or parsed with a specialized PDF-object library.
Does FDF preserve highlight colors?
Only when the source application writes those fields. FDF can store annotation properties such as color, opacity, and author, but availability varies by producer and annotation type.
Can I edit an FDF file by hand?
Directly editing traditional binary FDF is error-prone. Export XFDF from Acrobat first. XML FDF and XFDF can be edited as text, but back up the file first.
Related Guides
Try the annotation extraction tool
Open an annotated PDF and export annotations locally. Markdown, CSV, and plain text are free.
Extract PDF Annotations →