I want to copy the old school classic link from a document which looks like http://team./sites/sitename/libraryname/imagename.PNG .

However, Sharepoint online generates a link like "https://tenant.sharepoint.com/:x:/r/sites/EcBgGUOtGLZAnWAxNhPEAl4BYd_hDxjbWMKuO0U1XZqwxw?e=aTcmoD" which is not human readable. Can I get the classic link in Sharepoint Online?

There is a blog post that provides an "SPFx extension" as a solution but I was wondering if we could find a simpler solution.

2 Answers 2



Currently there is not direct way provided by Microsoft to get the proper link of document in modern experience.

Work Around:

Follow below steps(It will give you quite readable link):

Select the file in library > Copy link > Click the drop down button below link and Choose “Specific people” > Apply(Without Entering anyone's name) > Copy the link.


  1. classic experience vs modern experience, getting the right link
  • I cannot click apply without entering anyone's name. There is validation applied on "Enter a name or email" text box. Commented Mar 13, 2019 at 9:47
  • I am able to get the link without adding anyone's name. If you are not getting it then try adding your own name. But I guess adding your name will not give you the more readable link. Commented Mar 13, 2019 at 10:02
  • Does this answer helped you in any way to get the solution? Commented May 16, 2019 at 10:27
  • I'm afraid I wasn't able to do it. Perhaps it will help someone else. Commented May 22, 2019 at 8:29

Another place where you can get a usable link is in the version history for the file

  • Thanks this helped me Kasper!
    – beebul
    Commented Apr 30, 2021 at 6:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.