Fix ZIP Files That Cannot Be Opened in SharePoint Online
Question details
Identify why specific ZIP files in a SharePoint Online library appear empty or cannot be opened.

- Product
- SharePoint Online
- Device & OS
- not provided
- Scenario
- A user downloads ZIP archives from a SharePoint document library and tries to view their contents.
- Observed behavior
- Some ZIP files show no visible contents in the browser or File Explorer, while other archives work normally. A third-party extraction tool can open the affected files, but its use is prohibited.
Confirm that you can access the affected files in the SharePoint library and ask the original uploader to locate the source ZIP files. Follow your organization's policy when choosing a device or extraction tool.
Compare the downloaded ZIP with the original and replace it if needed
Use this approach to check whether an affected archive changed during upload or download.
In the SharePoint document library, select the ZIP file and choose Download. Save it to a known location.
Ask the uploader to compare the source ZIP's size with the downloaded copy using each file's Properties. A difference indicates the copies are not identical.
If PowerShell is approved and available, run Get-FileHash -Algorithm SHA256 -LiteralPath 'C:\path\to\file.zip' for each copy, then compare the hash values. Use the actual path to each file.
If the copies differ, ask the uploader to verify the original archive on an approved system and upload it again using the SharePoint library's Upload button.

Check ZIP compatibility using approved tools
Use this when the original and downloaded files match but File Explorer still cannot show their contents.
Work with Office Documents After Extracting Your ZIP
WPS Office is a free, lightweight alternative for working with documents extracted from an archive. Its familiar interface and Microsoft Office format compatibility make it easy to move existing files into your workflow. It does not repair SharePoint ZIP files.

Frequently Asked Questions
Why does a ZIP file look empty in SharePoint?
SharePoint's browser view may not display the archive's contents. Select the file in the document library, choose Download, and try opening or extracting it with an approved tool.
How can I tell whether the SharePoint copy changed?
Compare the downloaded ZIP with the uploader's original using file Properties or, if approved, PowerShell's Get-FileHash command. Different sizes or hashes mean the copies are not identical.
What if a third-party tool opens the ZIP but File Explorer does not?
The archive may use a compression or encryption option that File Explorer cannot handle. Ask IT to inspect it with an approved tool or ask the uploader to create and verify a new standard ZIP.
Should I upload the same ZIP again if the hashes match?
A matching hash means the original and downloaded copies are identical, so reuploading the same file is unlikely to change it. First have the uploader or IT verify the original archive on an approved system.




