How to Export XFDF Annotations from Adobe Acrobat: Complete Guide
To export XFDF annotations from Adobe Acrobat, open your annotated PDF, go to File → Export → Annotations, choose XFDF (*.xfdf) as the format, and save the file to your computer. The resulting .xfdf file is an XML document containing the highlights, comments, and markup written by Acrobat. It can be imported into pdfannotations.com and converted to free Markdown, CSV, or plain text; Obsidian, Notion, JSON, Excel, ZIP, and AI formats are available in Pro. Processing runs in the browser without sending the file to a server.
This guide walks through the full Adobe Acrobat XFDF export workflow, explains what an XFDF file actually contains, and shows how to turn those exported annotations into clean, reusable knowledge. Whether you are using Acrobat Standard, Acrobat Pro, or Acrobat Reader, the same steps apply.
What Is an XFDF File?
An XFDF (XML Forms Data Format) file is the XML representation of PDF annotations. While PDF files store annotations as binary objects inside the document, XFDF extracts them into a portable, human-readable XML structure that compatible tools can parse. Adobe introduced XFDF as a lighter-weight alternative to the older FDF format, whose traditional form uses PDF-style object syntax that is harder to inspect and edit by hand. If you are starting from an XML FDF file instead, the FDF annotation converter reads it directly; a traditional binary FDF must be exported again as XFDF or XML FDF.
A typical XFDF file looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve">
<f href="research-paper.pdf"/>
<ids original="abc123" modified="def456"/>
<annots>
<highlight page="0" color="#FFEB3B" date="D:20260720120000Z">
<contents>This is the key argument.</contents>
<Popup page="0" rect="100,200,300,250"/>
</highlight>
<text page="2" color="#4F46E5" date="D:20260720121000Z">
<contents>Review this section carefully.</contents>
</text>
</annots>
</xfdf>
Each <highlight>, <text>, <underline>, or <strikeout> element carries metadata such as page number, color, author, and creation date, plus the textual content you wrote in the comment field. Because XFDF is plain XML, it is small, easy to version-control, and trivial to parse with any XML library.
To dig deeper into the format itself, see our XFDF file format explainer.
Why Export XFDF Instead of Working Inside the PDF?
Working with annotations directly inside a PDF seems convenient, but it has real downsides for knowledge work:
- Lock-in: Annotations stay trapped in the source PDF. Searching across 50 papers means opening 50 files.
- No reuse: You cannot pipe PDF-embedded highlights into Obsidian, Notion, a vector database, or an LLM without an extraction step.
- Version bloat: Repeated edits to annotations inside a large PDF bloat the file and can corrupt the document over time.
- Tool fragmentation: Different PDF readers may write annotations differently. XFDF is a common interchange format, but import and export behavior still needs testing in the destination application.
Exporting XFDF decouples your annotations from the source file, giving you a portable payload you can convert into whatever output your downstream workflow needs.
Step 1: Create Annotations in Adobe Acrobat
Before exporting, you need annotations to export. Open your PDF in Adobe Acrobat and use the Comment tool (available in Acrobat Standard, Pro, and the free Acrobat Reader) to mark up the document.
Recommended annotation types to use:
- Highlight — for key passages and quotable text
- Text Comment (Sticky Note) — for your own reactions and notes
- Underline / Squiggly — for definitions, terms, or things to verify
- Strikeout — for sections you plan to remove or that are no longer relevant
- Free Text — for inline commentary that should travel with the document
Pro tip — color coding: Pick a consistent color scheme before you start. For example, yellow for key concepts, green for actionable takeaways, red for disagreements, and blue for definitions. pdfannotations.com includes colors when the source annotation stores them; Pro filters can then group by color before export.
Step 2: Export the XFDF File
Once your annotations are in place, the exact export steps depend on your Acrobat version:
- With the PDF open in Acrobat, go to File → Export (in some versions, File → Export To).
- Select Annotations from the export options.
- In the format dropdown, choose XFDF (*.xfdf).
- Pick a destination folder and click Save.
You now have a .xfdf file sitting next to your PDF. It is typically a few kilobytes — far smaller than the PDF itself — because it contains only the annotation metadata and text, not the page content.
Alternative: Use the Comments List Export
If your version of Acrobat does not show the File → Export → Annotations path, you can also export from the Comments pane:
- Open the right-hand Comments panel.
- Click the options menu (three dots or the hamburger icon at the top of the panel).
- Choose Export All To Data File… or Export Comments To XFDF.
- Save the file.
The result is identical to the File → Export path; both produce a standards-compliant XFDF document.
What About Acrobat Reader?
The free Adobe Acrobat Reader supports XFDF export on desktop. The menu location may differ slightly depending on version, but the Comments → Export option is consistently available. If you only have Reader installed, you can still follow this guide end to end without a paid subscription.
Step 3: Import the XFDF into pdfannotations.com
Head to our XFDF annotation converter and drag your .xfdf file into the dropzone. The tool runs entirely in your browser — your file is never uploaded to a server, which matters for confidential research papers, legal contracts, and internal company documents.
You can also drop in multiple XFDF files at once if you are processing a batch of papers, or mix XFDF with PDF and XML FDF files in the same session. The parser merges them into a single unified annotation workspace; traditional binary FDF must be exported again from Acrobat first.
Once the file is loaded, you will see a three-panel workspace:
- Left: sortable list of every annotation, grouped by page or by type
- Center: the selected annotation rendered in context
- Right: metadata panel (author, color, date, page number, tags)
You can sort, group, filter, tag, and de-duplicate annotations before exporting, which is especially useful when the same passage was highlighted multiple times by different reviewers.
Step 4: Export to Markdown or Obsidian
With your annotations loaded, click the Export button in the top toolbar. You will be presented with a list of output formats:
| Format | Best for |
|---|---|
| Markdown | Free generic output for Bear, Logseq, and standard Markdown editors |
| CSV | Free spreadsheet analysis and pivot tables |
| Text | Free paste-ready plain text for email or chat |
| Obsidian | Pro output with Callouts, Frontmatter, and page references |
| Notion | Pro paste-ready format for databases |
| JSON | Pro format for programmatic pipelines |
| Excel | Pro workbook output for spreadsheet review |
| ZIP | Pro bundle for multiple formats |
| AI Context | Pro Markdown structure for LLM prompts |
| RAG JSON | Pro schema for vector database ingestion |
For the most common use case — getting annotations into a note-taking tool — pick Obsidian and toggle on the three optional features:
- Callouts — wraps each highlight in
> [!quote]syntax so Obsidian renders it as a styled blockquote - Frontmatter — adds a YAML block at the top with source, page count, author, and tags
- Page References — converts page numbers into
[[file#Page N]]links so highlights become navigable bidirectional links
Click Export, then review the preview and download or copy the result. For a deeper dive into that downstream workflow, see our XFDF to Obsidian workflow guide.
Step 5: Import the Exported File
The last step depends on your destination tool:
- Obsidian — save the
.mdfile directly into your vault folder (e.g.Literature Notes/), then open Obsidian. The note appears immediately, fully linked and tagged. - Notion — open the target database, click Import → Markdown, and upload the file. Each annotation becomes a row with structured properties.
- Generic Markdown editor — open the file in any editor that supports Markdown.
- Vector database / RAG pipeline — feed the RAG JSON export to your embedding pipeline. See our PDF annotations to AI and RAG guide for the full pipeline.
If you need a format we did not list above, the general PDF annotation export tool accepts PDFs as well as XFDF and XML FDF. Mixed sessions and batch export are available in Pro; traditional binary FDF must be re-exported.
Common Pitfalls and Fixes
The XFDF file is empty
This usually means the PDF you exported from contained markup that Acrobat does not serialize as standard annotations — for example, freehand pencil drawings or shapes added via the Edit tool rather than the Comment tool. Re-create the highlights using the Comment panel's Highlight tool, then re-export.
Annotations are missing author or date metadata
Acrobat only writes author and date when the annotation was created through the Comment workflow and the document's identity preferences are set. If you imported annotations from another reader (e.g. Foxit, PDF-XChange), some fields may be blank. The pdfannotations.com workspace lets you fill in missing metadata before export.
The exported Markdown has duplicate highlights
Duplicates happen when the same text was highlighted more than once, or when the same XFDF was uploaded twice in one session. Use the Deduplicate toggle in the workspace toolbar before exporting — it collapses identical highlights on the same page into a single entry.
Colors are lost after export
If colors are missing or appear as #000000, first check whether the source annotation actually stores color data. Color can also be affected by the source application, export settings, color space, or destination defaults. Re-export or edit metadata if needed, then verify the result.
Tips for High-Quality XFDF Exports
- Annotate with intent: Treat every highlight as a future atomic note. If a passage is not worth a standalone note, do not highlight it.
- Write a comment on every highlight: A highlight with a comment is dramatically more useful in your downstream knowledge base than a bare highlight. Even a single word ("agree", "verify", "cite") dramatically improves retrieval.
- Use page numbers in comments: Acrobat auto-records page numbers, but adding the page number in your comment text makes it grep-friendly in plain-text exports.
- Avoid editing annotations inside other readers between exports: Each round-trip through a different reader can subtly rewrite the XFDF structure. Pick one tool and stick with it for the entire document lifecycle.
- Version your XFDF files: Because XFDF is plain XML, it diffs cleanly in git. Keep your
.xfdffiles alongside the PDF in a versioned folder if you are doing long-term research.
Why Local Processing Matters for XFDF
Some online "PDF annotation extractor" services process files on a server and return the result. That is a problem for anyone working with:
- Confidential research under IRB or NDA
- Legal contracts subject to attorney-client privilege
- Internal company documents covered by data residency requirements
- Pre-publication academic work that has not yet been shared
A local workflow—Acrobat exports XFDF on your machine, pdfannotations.com parses it in your browser, and the export lands in your downloads folder—keeps the source file off third-party servers during extraction. Downstream tools and AI providers still follow their own privacy policies.
Frequently Asked Questions
Can I export XFDF from Acrobat Reader for free?
Yes. The free Adobe Acrobat Reader supports XFDF export through the Comments panel. You do not need a paid Acrobat Standard or Pro subscription.
What is the difference between XFDF and FDF?
XFDF is the XML-based successor to FDF. Both formats carry the same annotation data, but XFDF is human-readable, easier to diff in version control, and supported by a wider range of modern tools. For a full comparison, see our XFDF format guide.
Can I batch-export XFDF from multiple PDFs at once?
Acrobat exports one XFDF per PDF. In Pro, multiple XFDF files can be loaded in one session and exported as a combined result or ZIP bundle; the workspace displays up to 10,000 annotations per file.
Is the pdfannotations.com XFDF converter really local?
Yes. The XFDF parser runs entirely in your browser using JavaScript. Your file is never uploaded to a server. You can verify this by disconnecting your internet connection after the page loads — the conversion still works.
Related Guides
Want to learn more? Check out these related guides:
- What Is XFDF? PDF Annotation XML Format Explained - Deep dive into the XFDF file format, its XML structure, and how it compares to FDF and PDF annotations
- XFDF to Obsidian: Convert Adobe PDF Annotations to Markdown - Turn XFDF exports into linked, tagged Obsidian notes with Callouts and Frontmatter
- PDF Annotations to AI and RAG - Feed XFDF-exported annotations into ChatGPT, Claude, Gemini, or a vector database
- Export PDF Highlights to Obsidian: Complete Workflow Guide - The full Obsidian workflow for any PDF source, not just XFDF
- PDF to Markdown Best Practices - Clean conversion patterns that work across Obsidian, Notion, and beyond
Try the annotation extraction tool
Open an annotated PDF and export annotations locally. Markdown, CSV, and plain text are free.
Extract PDF Annotations →