About the OneDrive Direct Link Generator
OneDrive share links open a web viewer instead of downloading the file. The OneDrive Direct Link Generator encodes your share link into the documented OneDrive "shares" URL format, which returns the file content directly, so the link starts a download immediately.
It works with personal OneDrive links (both 1drv.ms short links and onedrive.live.com links) and adds download=1 to OneDrive for Business and SharePoint links. The file must be shared so that anyone with the link can view it. Conversion happens in your browser; nothing is sent to our servers.
How to use the OneDrive Direct Link Generator
- In OneDrive, click Share → "Anyone with the link can view" → Copy link.
- Paste the link(s) into the box.
- Copy the generated direct download link.
- Test it in a private browser window.
Frequently asked questions
Why does my OneDrive direct link not work?
Make sure the link is set to "Anyone with the link". Some organization accounts block anonymous access to SharePoint files.
Can I embed OneDrive images?
Yes. The direct link returns the image file itself, so you can use it in an img tag, although OneDrive may limit heavy hotlinking.
