SharePoint Document Issues

Create ZIP Files from a SharePoint Document Library on Windows

Chanuka GeekiyanageChanuka Geekiyanage Nov 20, 2026 868 views

Question details

Create a ZIP archive from a SharePoint document library folder when Windows compression fails in the synchronized location.

How to Create ZIP Files from a SharePoint Document Library
Product
SharePoint Online and Windows File Explorer
Device & OS
Windows
Scenario
A user wants to compress a folder stored in a SharePoint-synchronized document library.
Observed behavior
Windows may fail to compress the synchronized folder, particularly when folder names are long. SharePoint Online does not provide a native option to create a ZIP archive directly in the library.
Before you start

In File Explorer, check that the SharePoint folder and its contents are available locally. If needed, right-click the folder and select Always keep on this device, then wait for synchronization to finish.

Solution 1Recommended

Copy the SharePoint folder locally and compress it

Use a local copy outside the synchronized library to avoid compression problems in the SharePoint folder.

1
Copy the folder

In File Explorer, right-click the synchronized SharePoint folder and select Copy.

2
Paste it outside the library

Open a local location outside the synchronized folder, such as C:\Temp, and select Paste. Create the location first if it does not exist.

3
Shorten long names if needed

In the local copy, right-click any folder with a long name, select Rename, and give it a shorter name. A shorter destination path may also help.

4
Create the ZIP file

Right-click the local folder and select Send to > Compressed (zipped) folder. On Windows 11, select Show more options first if needed.

Copy the SharePoint folder locally and compress it
Changes apply to the copy: Renaming folders in the local copy does not rename them in the SharePoint library. Shortening names may help, but it does not guarantee that Windows compression will succeed.
Free Microsoft Office alternative

Work with Office Documents Using WPS Office

WPS Office is a free, lightweight alternative for working with Office documents. Its familiar interface and Microsoft Office format support make it easy to move between applications. It does not fix SharePoint synchronization or Windows ZIP compression.

Open and edit documents from a locally available SharePoint libraryCompatible with Microsoft Word, Excel, and PowerPoint formatsFamiliar interface for an easier transition from Microsoft OfficeFree and lightweight tools for everyday document work
microsoft office alternative - wps office

Frequently Asked Questions

Can I create a ZIP archive directly in SharePoint Online?

SharePoint Online does not provide a native option to create a ZIP archive directly in the library. Copy a synchronized folder to a local location and compress it with File Explorer or 7-Zip.

Why might a SharePoint-synced folder fail to compress?

Windows' built-in compressor may have trouble with long folder names or paths in the synchronized location. Try copying the folder to a short local path, such as C:\Temp, and compressing the copy.

How do I make SharePoint files available before compressing them?

In File Explorer, right-click the synchronized folder, select Always keep on this device, and wait for the files to finish downloading.

What can I do if 7-Zip works but Windows compression does not?

You can use 7-Zip to create the archive. Because the issue may be specific to Windows' built-in compressor, seek help in a Windows support forum if you need to troubleshoot it further.