Fix Windows iFilter Not Finding PDFs with Embedded XML Files
Question details
Users cannot find PDFs containing embedded files, such as ZUGFeRD invoices with XML data, when using Windows iFilter search.

- Product
- Windows Search iFilter
- Device & OS
- Windows
- Scenario
- Attempting to search for specific text or data that resides within an embedded XML attachment inside a PDF document.
- Observed behavior
- The Windows search indexing captures only the visible text of the PDF and fails to index the contents of embedded attachments, resulting in relevant files missing from search hits.
Check whether you are using the default Windows PDF iFilter or a third-party application, as indexing capabilities for embedded files vary heavily depending on the active search software.
Use Advanced PDF Search or a Specialized Document Management System
Utilize advanced search tools or systems specifically built to read hybrid PDFs and embedded XML data rather than relying on standard Windows Search.
Standard PDF iFilters installed on Windows typically only parse the primary text layer of a document to conserve system resources. To reliably search embedded attachments like those in ZUGFeRD invoices, you need a specialized tool or dedicated search feature.
Launch Adobe Acrobat or your preferred advanced PDF reader and open the Advanced Search dialog (often accessed via the Ctrl+Shift+F keyboard shortcut).
Ensure that the option to 'Search in Attachments' is selected so the software queries the embedded files alongside the main document text.
If you process electronic invoices heavily, switch to a ZUGFeRD-aware Document Management System (DMS) that natively extracts and indexes XML metadata.

Extract and Index Embedded XML Files Separately
Save the embedded files to a local directory so that standard Windows indexing can discover and read the XML data.
Easily Manage PDF Attachments with WPS Office
WPS Office provides a highly capable built-in PDF reader that allows you to effortlessly view, manage, and extract embedded XML files from hybrid PDF documents, ensuring you always have access to hidden data.
- 1. Open your PDF: Launch WPS Office and open the PDF document containing the hidden XML files.
- 2. Open the attachment pane: Click on the paperclip icon located on the left-side navigation bar to reveal all embedded files.
- 3. Save the attachment: Select the required XML attachment, click the export icon, and store the file on your local drive for standard searching.

Frequently Asked Questions
Why does Windows Search ignore embedded files in PDFs?
The default Windows iFilter for PDFs is optimized for speed and only reads the visible text layer. It is not programmed to unpack and index embedded file attachments, causing hidden data to be excluded from search results.
What is a ZUGFeRD invoice?
A ZUGFeRD invoice is a hybrid electronic document format (PDF/A-3). It contains both a visual representation of the invoice that humans can read and an embedded machine-readable XML file with the structured invoice data.
Can I check which iFilter is installed on my Windows PC?
Yes. Open the Windows Start menu, search for 'Indexing Options', click 'Advanced', and go to the 'File Types' tab. Scroll down to the .pdf extension to see the description of the currently associated filter program.




