Fix SharePoint Online Search Not Finding PDF Files
Question details
Find out why SharePoint Online search does not return PDFs that can be found in Windows File Explorer.

- Product
- SharePoint Online
- Device & OS
- Windows; version not provided
- Scenario
- The user searches a SharePoint document library for finance-system PDFs by file name or content, while new PDFs are added regularly.
- Observed behavior
- Windows File Explorer finds synchronized PDFs containing the search term, but SharePoint Online search does not return the same files. A recently uploaded test PDF was not immediately searchable.
Identify an affected PDF, its library, and its upload date, then confirm that you can open it in SharePoint. Note the exact file name or text you want to search for so you can compare results.
Search with complete words or a prefix wildcard
Use this approach when a partial file name or text string is not returning the expected PDF.
SharePoint Online and Windows File Explorer use different search indexes, so a match in Explorer does not guarantee an immediate match in SharePoint.
In the SharePoint site or document library search box, enter a complete word from the PDF file name or its searchable text.
In the same search box, enter a prefix followed by an asterisk, such as M00078*, and review the results. This matches terms beginning with the prefix, not arbitrary text in the middle of a word.
Search from the affected document library or site, and confirm that the results page is not restricted by a filter that excludes the PDF.

Allow time for newly uploaded PDFs to be indexed
Use this check when recently added files are missing but older PDFs appear in search.
Check library search settings and permissions
Use these checks when older PDFs remain missing after allowing time for indexing.
Open PDFs and Office Documents with WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for working with PDFs and Office documents. Its format compatibility helps you move between common document workflows, though it does not repair SharePoint Online search or indexing.

Frequently Asked Questions
Why does File Explorer find a PDF that SharePoint search misses?
Windows File Explorer and SharePoint Online use different indexes. The SharePoint copy may not yet be indexed, or its library settings or permissions may prevent it from appearing in search.
How can I search for a partial PDF file name?
In the SharePoint search box, try a prefix followed by an asterisk, such as M00078*. The wildcard matches terms that start with that prefix; it does not search for the string anywhere within a word.
How long does a new PDF take to appear in SharePoint search?
Indexing time varies, and a newly uploaded PDF may not appear immediately. Compare it with an older searchable file in the same library, then repeat the search later.
Can I search the text inside a scanned PDF?
A scanned PDF may contain only images rather than selectable text. Open the PDF and try selecting a word; if no text can be selected, optical character recognition may be needed before its contents can be indexed.
Where can I check whether a library is included in search?
A library owner can open Library settings and then Advanced settings to check whether items from the library are allowed to appear in search results. A SharePoint administrator can also check the site's search visibility.




