In this SharePoint tutorial, I will show you how to add a link to SharePoint document library. Then, I will show you how to delete a link from the SharePoint Online document library.
By using the add Link feature, we can add any links to a SharePoint document library. Like, we can provide any file, folder, list, or any other library links in it. Not only SharePoint links, but we can also provide any external link to the SharePoint library.
This feature is available in Microsoft 365 and in SharePoint Server 2019, but not in any earlier versions. But I will show you here, how we can provide any document URL in a classic SharePoint document library.
Here you can see, on the below SharePoint document library, I have added 3 different links.

Add a Link to SharePoint Online Document Library
Now, let us discuss how to add a link to SharePoint Online document library.
- Open the SharePoint document library where you want to add the link.
- Expand +New button and then click on Link.

- Then, the “Create link to” pane will open, copy and paste the link. Here, we are providing a SharePoint list link.
- Enter the name and Click on Create.

- In the same way, I have added a document library link and an external website link. Now, the added links will appear in the SharePoint Online document library as shown below:

This is how to add a link to a SharePoint Online document library.
Add Link to a Document in Classic SharePoint Document Library
In the classic SharePoint document library, Add Link feature is not available. The classic SharePoint version consists of Link to a Document feature. So, now we will see how to add a link to a document in a classic SharePoint document library.
- Open Classic SharePoint document library.
- If you do not find Content Types section in the Library setting, follow the below instructions:
- Click on Advanced settings under the General settings.
- Then select, Yes for “Allow management of content types?”

- Then, in the library setting, Click on “Add from existing site content types” as seen in the below screenshot:

- In the Select site content types from -> Choose “Document Content Types”
- In the content types to add -> Choose “Link to a Document” and then click on OK.

- Click on a File tab -> Select New Document -> Select to Link to a Document.

- It will open a new link to a document page and then Enter Document Name and Document URL -> Click OK.

- Now, you can see the link to a document has been added to the SharePoint document library.

This is how to add a link to the classic SharePoint document library.
Delete a Link from a SharePoint Document Library
Next, let us discuss how to delete a link from a SharePoint document library.
- Open the SharePoint document library, and then Select the link -> Click on three ellipses(…) and then -> Click on the Delete option.

- We can also delete from the Delete option in the command bar of a SharePoint document library as shown below:

This is all about how to delete a link from the SharePoint document library.
Conclusion
Here from this SharePoint Online tutorial, I have explained how to add a link to SharePoint Online document library. Step by step as well as how to add a link to the classic SharePoint document library. Also, I have explained, how to delete a link from the SharePoint document library.
You may also like the following tutorials:
- Add Attachments Column in SharePoint List
- Delete a Column in SharePoint List or Document Library
- Set a Custom Template for a SharePoint Document Library
- Create a Folder in SharePoint Document Library
- How to Lock a File in SharePoint Document Library?
- SharePoint number column without comma

Preeti Sahu is an expert in Power Apps and has more than 6 years of experience working with SharePoint and the Power Platform. As a Power Platform expert for Power BI, Power Apps, Power Automate, Power Virtual Agents, and Power Pages, she is currently employed with TSinfo Technologies. She is the author of the book Microsoft Power Platform A Deep Dive. She also made a big technical contribution to SharePointDotNet.com in the form of articles on the Power Platform. She enjoys traveling and spending time with her family in her spare time.