Provide a link that opens Word, Excel, or PowerPoint files in a web browser.
Learn more
Enter the address of the document (http, https, or \\file\share)
Open the document in a browser.Copy to clipboard
Embed the document on a web page.Copy to clipboard
You can generate the link yourself
To write your own link, use the URL-encoded web address or file path of the document as the src parameter of the URL. For example, for a document located at \\servername\path1\path2\file, write the link or embedding code as follows:
Link
https://sps2016owanwf.hostingcloudapp.net/op/view.aspx?src=%5C%5Cservername%5Cpath1%5Cpath2%5Cfile
Embedding code
<iframe src="https://sps2016owanwf.hostingcloudapp.net/op/embed.aspx?src=%5C%5Cservername%5Cpath1%5Cpath2%5Cfile" width="476px" height="288px" frameborder="0">This is an embedded <a target='_blank' href="https://office.com">Microsoft Office</a> document, powered by <a target='_blank' href="https://office.com/webapps">Office Web Apps</a>.</iframe>