Add a link in a document library
Applies To
SharePoint Server Subscription Edition SharePoint Server 2019 SharePoint in Microsoft 365 Office for business Office 365 Small Business Microsoft 365 admin SharePoint in Microsoft 365 Small BusinessWhen you're using SharePoint in Microsoft 365 or SharePoint Server 2019, you can add a link in a document library to an item that is located outside the document library. For example, you can add a link to a file or folder located in a different document library, site, or even an external website. When you add a link in a document library, the link shows up in the list of items in that library.
Notes:
-
This feature isn't available in SharePoint classic experience or SharePoint 2016 server or earlier.
-
To find the version of SharePoint that you're using, see Which version of SharePoint am I using?
To add a link in a document library
-
Go to the document library where you want to add a link.
-
In the top left menu, select New, and then select Link.
-
In the Create link to dialog box, enter the link.
For example, if you want to add a link to a file that's located in another library, first navigate to that library. Right-click the file that you want to link to and select Copy link. Choose the type of link you want and then copy the link. Return to the document library where you want to add the link and enter that link in the Create link to dialog box.
For more information on how to get a link to a file in Microsoft 365, see Share SharePoint files or folders.
-
After you enter the link in the Create link to dialog box, the File name field appears. In the File name field, enter a name for the link, and then select Create.
Note: When you create a link, ".url" will automatically be added to the end of the file name.
-
Alternately, you can select New > Link, and then select an item from the Recent list. A link is added to the document library automatically without the need to enter the address or file name.