When you add a modern page to a site, you add and customize web parts, which are the building blocks of your page. This article describes the File viewer web part, which was previously called the Document web part.

Use the File viewer web part to insert a file on your page. File types you can insert include Excel, Word, PowerPoint, Visio, PDFs, 3D models, videos, and more.

Note: In SharePoint 2019, file types that can be inserted are limited to Word, Excel, and PowerPoint (specifically .doc, .docx,. xls, .xlsx, .pot, .potx, .ppt and .pptx).

3D file in File viewer

Add a file

  1. If you're not in edit mode already, click Edit at the top right of the page.

  2. Hover your mouse above or below an existing web part or under the title region, click Circled plus sign used to add a modern web part to a page, and then select the File viewer web part.

  3. Choose a recent file or get a file from your site, your computer, or a link. If your organization has specified a set of approved images, you'll be able to choose from that set under Your organization. 


    • Web search uses Bing images that utilize the Creative Common license. You are responsible for reviewing licensing for an image before you insert it on your page.

    • If you're a SharePoint Admin and want to learn how to create an asset library for Your organization, see Create an organization assets library.

  4. Choose a recent file, or browse, upload, or use a link to insert the file you want.

  5. Optionally, you can add a description under the web part.

  6. To set additional options (depending on availability for the file type), click Edit web part Web part edit button.


Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Office Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!