File Sharing Problems

Embed a Word Document in a Web Page and Let Users Edit It

Aamir Naveed AkramAamir Naveed Akram Nov 20, 2026 869 views

Question details

The user wants to display a Word document on a web page and allow visitors to edit it.

How to Embed a Word Document in a Web Page and Let Users Edit It
Product
Microsoft Word for the web, OneDrive, and SharePoint Online
Device & OS
not provided
Scenario
An intranet page needs to show an online Word document while giving authorized users a way to make changes.
Observed behavior
The embedded document can be viewed in an HTML iframe, but users cannot edit it directly inside that embedded view.
Before you start

Store the Word document in OneDrive or SharePoint Online and confirm that intended viewers and editors have the appropriate permissions. Check whether your storage account offers an Embed option or whether you need to use a SharePoint page web part.

Solution 1Recommended

Embed the Word Document and Link to Word for the Web for Editing

Use an embedded view for reading and a separate edit link for users who need to change the original file.

The embedded Word view is not a direct editing surface. Users must open the online document in Word for the web to make changes.

1
Store the document online

Upload the Word file to OneDrive or a SharePoint Online document library, then use the file's Share or Manage access options to grant viewers and editors the appropriate access.

2
Add the embedded view

In OneDrive, select the file and choose Embed if that option is available, then copy the generated code into your page's HTML. On a SharePoint page, you can instead edit the page and add a File and Media web part that points to the document.

3
Add an edit link

Use Share or Copy link on the original file to create a link with editing permission for the intended users. Add that link to the page with a label such as Edit document.

4
Edit and refresh

Open the edit link in Word for the web, make a change, and allow it to save. Refresh the page containing the embedded view to see the updated document.

Embed the Word Document and Link to Word for the Web for Editing
Access and embed options vary: The Embed option may not be available for every account or file. Users may also need to sign in, and organization or browser settings can affect whether an embedded file loads.
Free Microsoft Office alternative

Edit Word Documents with WPS Writer

WPS Office is a free, lightweight Office alternative with a familiar interface for opening and editing Word documents. Its format compatibility makes it easy to move existing files into WPS; it does not add editing to a Microsoft Word embedded iframe.

Edit document text and formatting in WPS Writer.Open and save Microsoft Word DOC and DOCX files.Use a familiar interface to work with existing Office documents.Choose a free, lightweight alternative for everyday document work.
microsoft office alternative - wps office

Frequently Asked Questions

Can visitors edit a Word document directly inside its embedded iframe?

The embedded Word view is for viewing rather than direct editing. Add a separate link that opens the original file in Word for the web with editing permission.

How do I give someone permission to edit the document?

In OneDrive or SharePoint, select the file and use Share or Manage access to grant the person editing permission. Share the resulting link with the intended editor.

Will changes appear in the embedded document?

Changes saved to the original online document can appear in the embedded view after the page is refreshed. Make sure the edit link and embedded view point to the same file.

What if I cannot find the Embed option?

The option may vary by account or file. If you are building a SharePoint page, edit the page and use the File and Media web part to display the document, or provide a link to the file instead.