OneDrive Direct Link Generator

Enter your OneDrive sharing URL:

❌ Invalid OneDrive URL. Please use a valid OneDrive or SharePoint sharing link.

Select link type:

Output link (Direct Download):
OneDrive Direct Link Generator — Free Online Tool

What Is a OneDrive Direct Link?

When you share a file from Microsoft OneDrive, the default sharing link opens a browser-based preview page — requiring users to click an extra button to download or view the file. A OneDrive direct link skips that extra step entirely and takes users straight to the action: an immediate file download, a live embed on your webpage, or a clean preview.

Direct links from OneDrive are widely used by bloggers, developers, educators, and businesses who need to share files efficiently — without sending visitors through Microsoft's interface.

Supported OneDrive Link Types

🔗 1drv.ms Short Links e.g. https://1drv.ms/u/s!Abc123...
🔗 Personal OneDrive Links e.g. https://onedrive.live.com/...
🔗 SharePoint / Business Links e.g. https://company.sharepoint.com/...

How to Use the OneDrive Direct Link Generator

  1. Open your OneDrive file and click the Share button.
  2. Under Link settings, set access to Anyone with the link.
  3. Click Copy to copy the sharing URL.
  4. Paste the URL into the input field of this tool above.
  5. Select your preferred link type — Direct Download, Embed, or Preview.
  6. Click Generate Link, then click Copy Link.
No login required. This tool runs entirely in your browser. Your URLs are never sent to our servers or stored anywhere.

Link Types Explained

Link Type What It Does Best Used For
Direct Download Instantly downloads the file when the link is opened Sharing files on websites, blogs, and email campaigns
Embed Link Displays the file live inside an iframe on your webpage Embedding Word docs, Excel sheets, or PDFs on websites
Preview Link Opens a clean read-only view of the file Client sharing, presentations, and demos

How to Embed a OneDrive File on Your Website

After generating the Embed Link using this tool, paste it inside an <iframe> tag on your webpage:

<iframe
  src="YOUR_EMBED_LINK_HERE"
  width="100%"
  height="500"
  frameborder="0">
</iframe>

Replace YOUR_EMBED_LINK_HERE with the embed link generated above. Adjust width and height to fit your page layout.

Why Use a Direct Link Instead of the Default Share Link?

  • Faster experience: Users get the file immediately without navigating Microsoft's interface.
  • Works everywhere: Direct links work in emails, WhatsApp, Discord, Notion, and any website.
  • Embed live files: Show Word documents, Excel sheets, or PDFs directly on your site with an iframe.
  • No extra tools needed: No plugins, no extensions, no Microsoft account — just paste and generate.
  • Great for automation: Use direct links in scripts or apps to fetch file data automatically.

Frequently Asked Questions

What is an OneDrive direct link?
An OneDrive direct link is a URL that triggers an immediate action — such as downloading a file or embedding it on a webpage — without redirecting users through Microsoft's OneDrive preview page.
How do I get a direct download link from OneDrive?
Open your OneDrive file, click Share, set the permission to "Anyone with the link", and copy the sharing URL. Paste that URL into our tool above, select "Direct Download", and click Generate Link.
Does this tool work with SharePoint links?
Yes. This tool supports personal OneDrive links (onedrive.live.com), short OneDrive links (1drv.ms), and OneDrive for Business and SharePoint links (sharepoint.com or my.sharepoint.com).
What is the embed link used for?
The embed link allows you to display your OneDrive file — such as a Word document, Excel sheet, or PDF — directly on any webpage using an HTML iframe tag. Visitors can view the file without leaving your website.
Does my OneDrive file need to be public?
Yes. The file must be shared with "Anyone with the link" permission. Private or restricted files will not work with direct links, as Microsoft blocks unauthenticated access.
Is this tool free?
Yes, completely free. No account, no login, and no usage limits. All link conversion happens in your browser — your URLs are never sent to our servers.
What types of OneDrive links does this tool support?
This tool supports three types: personal OneDrive sharing links (onedrive.live.com), short sharing links (1drv.ms), and OneDrive for Business or SharePoint links (sharepoint.com).