Edit a document in a document library. Edit files in a SharePoint Online or SharePoint Server 2019 document library directly in the browser or from an app. Office 365 file types (like Word or Excel) are available for editing both in the browser and in the app.