How to Fix OneDrive Files Showing as 6 Bytes or Corrupted
Question details
Users need to recover or repair OneDrive files that are displaying an incorrect size of 6 bytes and cannot be opened properly.

- Product
- Microsoft OneDrive
- Device & OS
- not provided
- Scenario
- Accessing locally synced files from Microsoft OneDrive on a computer.
- Observed behavior
- Synchronized files appear as exactly 6 bytes in size and show up as corrupted or empty when trying to open them.
Before attempting local troubleshooting, log into OneDrive.com via a web browser to check if your files display their correct sizes online.
Download the Files Directly from OneDrive Web
Use this method if the files show their correct sizes on the OneDrive website, meaning the issue is just a local synchronization error.
Often, a 6-byte file is simply a broken placeholder created by the Files On-Demand feature. If the cloud servers hold the intact file, manually downloading it will bypass the local sync glitch.
Open your web browser, navigate to OneDrive.com, and sign in with your Microsoft account.
Navigate to the folder containing the affected files. Check the file details to see if the size is normal (larger than 6 bytes).
If the size is correct, select the files and click the 'Download' button on the top toolbar to save functional copies to your computer.

Restore Previous Versions of Your OneDrive
Use this feature if your files also appear as 6 bytes or corrupted on the web, allowing you to roll back to a point before the corruption occurred.
Reset or Relink the OneDrive App
Resetting the desktop application can clear cached errors and force the system to rebuild its sync connections properly.
Experience Seamless Cloud Sync with WPS Office
If you frequently encounter third-party sync errors, consider switching to WPS Office. It provides a free, lightweight, and user-friendly Office alternative with highly stable, built-in cloud storage to keep your documents safe.
- 1. Download and Install: Visit the official WPS website to download and install the free WPS Office suite.
- 2. Activate WPS Cloud: Sign in with your email or social account to activate your free WPS Cloud storage.
- 3. Save and Sync Automatically: Create or open your documents and use the integrated cloud backup to keep your files updated across all devices safely.

Frequently Asked Questions
Why do my OneDrive files suddenly show as exactly 6 bytes?
This typically occurs when the OneDrive 'Files On-Demand' feature fails to download the actual file content, leaving behind only a 6-byte shortcut or placeholder pointer on your local hard drive.
What does the blue cloud icon mean next to my OneDrive files?
The blue cloud icon indicates that the file is part of Files On-Demand and is currently only available online. It does not take up space on your local drive until you open or manually download it.
Can I recover a file if it shows as 6 bytes on OneDrive.com as well?
If the file size is 6 bytes on the web version, the original upload was likely incomplete or corrupted. You will need to restore a previous version from OneDrive's version history or recover it from a local backup.




