Does anyone know if there is any alternative for Page Viewer web part in SharePoint modern page online?

I have found it in classic page but I need in modern page.

2 Answers 2


You're right, page viewer web part is not supported in SharePoint Online modern experience.

As a workaround you can use below web parts:

  1. To show the file, use File viewer web part
  2. To show the site pages, use Embed web part

Update from comments:

If you want to develop your own web part, you can use the SharePoint Framework. Check below documentations for more information:

  1. SharePoint Framework overview
  2. SharePoint Framework web parts
  3. SPFx web part samples
  • Thanks for your response, can we develop something like page viewer web part in SharePoint online modern page?
    – Harris
    May 11, 2021 at 2:32
  • Yes, you can develop your own web parts using SharePoint Framework May 11, 2021 at 2:40

If you don't like embed web part or File viewer web part, you can try to use custom web parts like modern script editor to directly insert HTML code.

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.