SharePoint Document Issues

Fix Double-Encoded URLs in SharePoint Online Alerts

Tauseeq MagsiTauseeq Magsi Nov 14, 2026 868 views

Question details

The user needs to open SharePoint Online alert links that contain double-encoded spaces.

Fix Double-Encoded URLs in SharePoint Online Alerts
Product
SharePoint Online
Device & OS
not provided
Scenario
Opening a document link from a SharePoint Online alert email.
Observed behavior
The alert URL contains %2520 instead of %20 for spaces, and the link returns a 404 error.
Before you start

Copy the affected link from the alert email and check whether its document path contains %2520. Verify that the link points to a trusted SharePoint site before opening it.

Solution 1Recommended

Correct the encoded space in the alert URL

Use this workaround to test an individual alert link that contains %2520 in the document path.

In %2520, %25 represents an encoded percent sign, leaving 20 after it. Replacing %2520 with %20 removes one encoding layer for a space.

1
Copy the link

In the alert email, right-click the document link and choose the option to copy its link address.

2
Edit the URL

Paste the link into the browser address bar or a text editor. In the document path, replace each %2520 that represents a space with %20; leave other encoded characters unchanged.

3
Test the corrected link

Open the edited URL in your browser and sign in to SharePoint if prompted. If it still fails, open the SharePoint site and navigate to the document library directly.

Correct the encoded space in the alert URL
This is a link-by-link workaround: Editing a URL does not correct future alert emails. Some links may also contain tokens or other parameters that cannot be changed without invalidating the link.
Free Microsoft Office alternative

Work with Office documents in WPS Office

WPS Office is a free, lightweight Office alternative with a familiar interface and support for common Microsoft Office formats, making it easier to move existing documents into your workflow. It does not repair SharePoint alert links.

Open and edit downloaded documents after locating them in the SharePoint library.Work with Microsoft Word, Excel, and PowerPoint formats, including DOCX, XLSX, and PPTX.Use a familiar interface for a smoother transition from Microsoft Office.Get a free, lightweight suite for everyday document work.
microsoft office alternative - wps office

Frequently Asked Questions

What does %2520 mean in a SharePoint URL?

%25 encodes a percent sign, so %2520 can be a double-encoded form of %20, the encoding for a space. If it appears in the document path where a space belongs, try replacing it with %20.

Will correcting the link fix future alert emails?

No. Editing a copied URL only changes the link you test. If new alerts still contain %2520, check whether other sites or libraries are affected and ask an administrator to investigate.

What if the edited link still returns a 404 error?

Open the SharePoint site directly and navigate to the document library to locate the file. The file may have moved, or the link may contain other invalid components or parameters.

Where can I check for a SharePoint Online service issue?

A Microsoft 365 administrator can check Health > Service health in the Microsoft 365 admin center for SharePoint Online incidents and advisories.