Display a Filename in an Office 365 SharePoint Sharing Link
Question details
The user wants a shared Office 365 link to display the filename instead of a SharePoint URL.

- Product
- Microsoft Office 365 and SharePoint
- Device & OS
- not provided
- Scenario
- Sharing a file from SharePoint or OneDrive and displaying its filename as the link text.
- Observed behavior
- The link may display the filename or an automatically generated SharePoint URL, depending on the sharing option and where it is pasted.
Find the file in SharePoint or OneDrive and check which recipients need access. Decide where you will paste the link, such as an Outlook email or Word document, so you can edit its display text.
Edit the Hyperlink Text to Show the Filename
Use this method when you want the filename to appear regardless of the generated sharing URL.
In SharePoint or OneDrive, select the file, choose Share, select the appropriate link settings, and click Copy link.
In a rich-text email or document, type and select the filename, then use Insert > Link or press Ctrl+K. Paste the copied URL into the address field and confirm.
Select the filename link to verify that it opens the intended file. Make sure the recipients meet the access conditions you selected.

Use a Link for People With Existing Access
Try this option when all recipients already have permission and you want to see whether the link retains the file path and name.
Create Documents With Descriptive Links in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for working with Office files. Its format compatibility helps you move documents between WPS Office and Microsoft Office, though it does not change SharePoint sharing permissions or generated URLs.

Frequently Asked Questions
Can I change the SharePoint sharing URL to include the filename?
SharePoint generates sharing URLs automatically, and their structure cannot always be customized. A People with existing access link may retain the file path and name, but it is not guaranteed.
How do I show the filename instead of the URL in an email?
In a rich-text email, type and select the filename, choose Insert > Link or press Ctrl+K, and paste the copied sharing URL into the address field.
Does a People with existing access link give someone permission?
No. Recipients must already have permission to access the file. Use another available sharing option or grant access separately if they do not.
Why do different sharing options produce different links?
SharePoint generates links according to the selected sharing option. Anyone and organization-wide links often use opaque URLs, while an existing-access link may retain a file path.




