How to Make SharePoint Links Download Files Automatically
Question details
The user needs to configure a SharePoint or OneDrive file link so that it automatically downloads the file to the user's local device when clicked.

- Product
- Microsoft SharePoint
- Device & OS
- not provided
- Scenario
- Sharing documents via links where direct downloading is preferred over in-browser viewing.
- Observed behavior
- By default, SharePoint and OneDrive links open documents in a web browser or web application. The goal is to bypass this behavior and trigger an immediate file download.
Ensure you have generated a valid sharing link with the correct permissions from SharePoint or OneDrive before attempting to modify the URL.
Append the Download Parameter to the File URL
Modify the standard SharePoint or OneDrive sharing link by adding a specific URL parameter to force an automatic download.
This method works best for users within the same organization. When the modified link is clicked, the browser will instantly prompt the file download rather than opening the Office Online viewer.
Navigate to your file in SharePoint or OneDrive, select the file, click 'Share' or 'Copy link', and generate a sharing link.
Paste the copied link into a text editor (like Notepad or Word) so you can easily view and edit the end of the URL.
If the link ends with existing parameters (e.g., '?web=1'), replace the parameter or append '&download=1' to the end. If there are no existing parameters at the end of the URL, append '?download=1'.
Copy the newly modified link and paste it into a private or incognito browser window to verify that the file downloads automatically upon pressing Enter.

Use WPS Office for Seamless Document Management
If you frequently work with downloaded SharePoint documents and need a reliable, fast desktop client, WPS Office is an excellent free alternative. It provides high compatibility with Microsoft Office files and includes integrated cloud sharing features that are easy to manage.
- 1. Download and Install: Get WPS Office for free from the official website and install it on your device.
- 2. Open Downloaded Files: Locate the files downloaded from your SharePoint links and open them instantly in WPS Office.
- 3. Edit and Share Seamlessly: Edit your documents with professional tools and use WPS Cloud to share them with customizable link settings.

Frequently Asked Questions
Why does my SharePoint link open in the browser instead of downloading?
By default, Microsoft configures SharePoint and OneDrive links to open files in Office Online (the web browser version). This is designed to encourage live collaboration and prevent users from creating duplicate offline file versions.
Does the download parameter work for all file types in SharePoint?
Yes, appending &download=1 generally works for standard Office documents, PDFs, and image files, prompting the browser to bypass the web viewer and download the file directly.
Why did the modified link open the desktop app for an external user?
Guest or external users may be subject to different organizational policies. In some environments, SharePoint restricts direct downloads for external links and defaults to opening the file in a verified desktop application to maintain document security.
Can I make a whole SharePoint folder download automatically using a link?
No, the &download=1 parameter only functions for individual file links. To download a complete folder, users must open the SharePoint folder link in their browser and manually click the 'Download' button, which will compress the contents into a ZIP file.




