How can I upload and embed a PDF document in a single column web-part, in Sharepoint Online? Thanks

2 Answers 2


You can use Page Viewer webpart in SharePoint Online for this purpose.


  1. Upload the PDF document in any library and copy its URL.
  2. In your SharePoint page, add a Page viewer webpart as Media and Content > Page Viewer
  3. Edit the webpart and add the copied link in Step 1.

Now you will be able to view the embedded PDF as shown below.

enter image description here

There is a different method as well that uses the embed tag.

  1. In your page, add a content editor webpart
  2. Add the below code to embed the PDF

        <embed type="application/pdf" src="thesamePDFlocation.PDF" ></embed>
  • I didn't like the Page Viewer web part, as it gave options for people to download the PDF. I wanted people to view it only, as if it were an image, so I did the embed tag. Thanks!
    – Fandango68
    Commented May 1, 2019 at 2:18

Yes, You can - use "File viewer" web part. Here are two good articles ( first and second ) on how to use and configure it.

File viewer web part

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.