You can view a PDF file inside your browser using the OneDrive for Business preview pane, but after you download the same file, the PDF shows as blank, displays an error, or fails to open entirely. This problem usually occurs because the file has an incomplete download or because the local copy is a temporary stub file rather than the full document. In this article, you will learn why the preview works while the download fails and how to force a complete, uncorrupted download from OneDrive for Business.
Key Takeaways: How to Fix a Corrupt PDF Download from OneDrive
- OneDrive web app > Download button > Download as PDF: Forces the server to convert and serve a fresh PDF copy instead of a cached or partial file.
- Files On-Demand toggle in OneDrive Settings: Disabling Files On-Demand ensures all files, including PDFs, are fully synced to your local hard drive before you open them.
- OneDrive Sync client > Pause syncing > Resume syncing: Clears a stuck download queue and retries the PDF download from the beginning.
Why the PDF Preview Works but the Downloaded File Is Corrupt
OneDrive for Business uses two separate delivery mechanisms for preview and download. The preview pane in a web browser streams a rendered version of the PDF through Microsoft’s internal document viewer. This viewer converts the file into a series of images or a lightweight HTML canvas, so you see the content without downloading the original file. The download action, by contrast, sends the raw PDF binary data to your browser. If the server connection is interrupted, if your browser caches a partial response, or if OneDrive Sync client delivers a placeholder instead of the full file, the downloaded PDF will be corrupt.
Partial Download from the Browser
When you click the Download button on the OneDrive web app, your browser starts receiving the PDF as a stream of bytes. A slow or unstable network can cause the browser to save only the first few kilobytes. The file appears to be a PDF because the extension is .pdf, but the content is incomplete. PDF readers detect the missing data and show a blank page or an error message.
OneDrive Files On-Demand Placeholder
If you use OneDrive Sync client with Files On-Demand enabled, a file shown in File Explorer may be an online-only placeholder. Double-clicking the file triggers a download, but the download can fail silently if the sync engine is paused or has a conflict. The file opens but shows corrupt content because only the metadata was written to disk.
Steps to Download a Clean PDF from OneDrive for Business
Use these methods to force OneDrive to send a complete, uncorrupted PDF file. Start with Method 1 because it works in most cases.
Method 1: Use the Download as PDF Option on the OneDrive Web App
- Open the PDF in OneDrive for Business
Go to onedrive.com, sign in with your work or school account, and navigate to the folder that contains the PDF. Click the file name to open the preview pane. - Click the Download button and choose Download as PDF
In the top toolbar, click the Download icon (down arrow). A dropdown menu appears. Select Download as PDF. This option forces the OneDrive server to render and export a fresh PDF file rather than sending the original cached bytes. - Save the file to a new location
Your browser will prompt you to save the file. Choose a folder on your local drive that is not synced by OneDrive, such as Documents or Desktop. Do not save it back into the OneDrive folder. - Open the saved PDF
Double-click the downloaded file to open it in your default PDF reader. The file should display all pages correctly. If it still shows as corrupt, proceed to Method 2.
Method 2: Clear Browser Cache and Download the Original File
- Clear your browser cache
In Microsoft Edge, click the three-dot menu > Settings > Privacy, search, and services > Choose what to clear. Select Cached images and files and click Clear now. In Google Chrome, click the three-dot menu > More tools > Clear browsing data. Select Cached images and files and click Clear data. - Restart the browser
Close all browser windows and reopen the browser. This ensures no old cached data interferes with the download. - Download the PDF using the regular Download button
Go back to OneDrive, open the PDF, and click the Download icon. This time choose the default option (just Download). The file should download as a complete original PDF. - Verify the file size
Right-click the downloaded PDF in File Explorer and select Properties. Compare the Size value with the file size shown on the OneDrive web app. If they match exactly, the download is complete. If the local file is significantly smaller, repeat the download.
Method 3: Disable Files On-Demand and Force a Full Sync
- Open OneDrive Settings
Right-click the OneDrive cloud icon in the system tray and select Settings. Go to the Sync and backup tab. - Turn off Files On-Demand
Under the Files On-Demand section, uncheck the box that says Save space and download files as you use them. Click OK. OneDrive will now download all files to your local drive. - Wait for the sync to complete
Open File Explorer and navigate to the OneDrive folder. Look at the status icons next to your files. All files should show a green checkmark, indicating they are fully downloaded. This may take several minutes depending on the number of files. - Open the PDF directly from File Explorer
Double-click the PDF file in the OneDrive folder. It should open without corruption because the full binary data is now on your hard drive. - Re-enable Files On-Demand if desired
If you want to save disk space, go back to OneDrive Settings and re-check the Files On-Demand option after confirming the PDF opens correctly.
If the PDF Download Is Still Corrupt After These Fixes
OneDrive Shows a Partial Download or Sync Error
If the PDF file in your synced OneDrive folder has a red X or a yellow triangle icon, the sync engine encountered an error. Pause and resume syncing to force a retry. Right-click the OneDrive cloud icon, select Pause syncing, choose 2 hours, then right-click again and select Resume syncing. The PDF will be re-downloaded from the server.
The PDF Opens in a Browser Instead of Downloading
Some browsers are set to open PDFs inline rather than download them. If the PDF opens in a new browser tab but the download button does not appear, right-click the PDF in the OneDrive file list and select Download. Alternatively, hold the Alt key while clicking the Download button to force a direct download in most browsers.
The Original PDF File Is Corrupt on the Server
If the PDF preview also shows missing pages or garbled content, the original file stored in OneDrive is corrupt. In that case, ask the file owner to re-upload a clean copy from the source application. You cannot fix a corrupt server-side file from the client side.
Preview vs Download: Key Differences in OneDrive for Business
| Item | Preview in Browser | Download to Local Drive |
|---|---|---|
| Delivery method | Streams rendered images via Microsoft document viewer | Transfers raw PDF binary data |
| Requires full file download | No, only the current page is rendered | Yes, the entire file must be transferred |
| Susceptible to network interruption | Low, because it loads page by page | High, a dropped connection can cause a partial file |
| Works with Files On-Demand placeholder | Yes, the preview uses the online version | No, the placeholder must be fully synced first |
| Best for | Quick viewing without saving | Offline access or editing |
You can now force a clean PDF download from OneDrive for Business using the Download as PDF option, clearing your browser cache, or disabling Files On-Demand. Next time you encounter a corrupt download, try Method 1 first because it requires no settings changes. As an advanced tip, you can also use the OneDrive mobile app to download the file, which sometimes bypasses browser caching issues entirely.