Fix SharePoint Endless Loading When Sharing Files with Percent Signs
Question details
Users are unable to share or copy a link to a file in SharePoint Online if the file name contains a percent sign (%), as the system displays an infinite loading indicator.

- Product
- SharePoint Online
- Device & OS
- not provided
- Scenario
- Attempting to share a file or generate a sharing link within a SharePoint Online document library.
- Observed behavior
- The sharing dialog gets stuck on an endless loading indicator, preventing the sharing link from being generated or copied.
Ensure you have the necessary edit permissions to rename files in the SharePoint document library, and verify whether the issue persists when using an incognito window or a different web browser.
Rename the File to Remove the Percent Sign
Since the percent sign often triggers URL encoding conflicts during link generation, removing the symbol serves as a fast and effective workaround.
While Microsoft 365 generally supports percent signs in file names, specific browser encoding configurations or temporary service glitches can cause the sharing interface to fail. Renaming the file temporarily bypasses this bug.
Navigate to your SharePoint Online document library and locate the specific file that is stuck on the loading screen.
Hover over the file name and click the three-dot (Show actions) icon next to it.
Select 'Rename' from the dropdown menu, delete the percent sign (%) from the file name, and press Enter to save.
Click the 'Share' button or 'Copy link' option again to verify that the loading issue is resolved.

Submit a Support Request via Microsoft 365 Admin Center
If this issue affects multiple files and users across your organization, it is likely a cross-tenant service bug that requires Microsoft support to investigate.
Switch to WPS Office for Seamless File Sharing
If SharePoint sharing errors and URL encoding bugs are slowing down your team's productivity, consider using WPS Office. It provides a lightweight, highly compatible alternative with robust built-in cloud sharing features that simplify collaboration.
- 1. Download and Install: Visit the official WPS Office website to download and install the free software on your device.
- 2. Upload to WPS Cloud: Open WPS Office, sign in, and save your documents directly to the built-in WPS Cloud.
- 3. Share with One Click: Click the 'Share' button in the top right corner to instantly generate a secure, accessible sharing link without encoding errors.

Frequently Asked Questions
Are percent signs allowed in SharePoint and OneDrive file names?
Yes. Microsoft updated SharePoint Online and OneDrive for Business to support the percent sign (%) and the pound or hash sign (#) in file and folder names. However, occasional encoding bugs in the sharing dialog can still cause errors.
Why does the percent sign cause an endless loading error in SharePoint?
The percent sign is heavily used in URL encoding (for example, %20 represents a space). If the SharePoint sharing script fails to properly parse or escape the percent sign in a file name, it creates a broken URL request, resulting in an infinite loading loop.
Can I share the file without renaming it?
Yes. As an alternative to renaming, you can try opening the file in your desktop Office application (like Word or Excel) and using the 'Share' button from within the desktop app, which often bypasses the web browser's URL encoding issue.
Does clearing the browser cache fix this SharePoint sharing issue?
Clearing your browser cache or using an incognito window can sometimes help if the issue is caused by outdated site data. However, if it is a cross-tenant service bug with SharePoint Online, clearing the cache will not resolve the endless loading indicator.




