How to Move Files from SharePoint Site Pages to Documents
Question details
The user needs to move files or folders that were accidentally placed into a SharePoint Site Pages library into a standard Documents library.

- Product
- SharePoint Online
- Device & OS
- not provided
- Scenario
- Attempting to reorganize and transfer incorrectly placed standard files (like Excel or PowerPoint documents) out of the Site Pages library.
- Observed behavior
- The modern SharePoint graphical interface disables the Move, Download, and drag-and-drop functions for the Site Pages library, trapping the files with no usable UI options to relocate them.
Ensure you have SharePoint Administrator or Site Owner permissions and that the PnP PowerShell module is installed on your computer before attempting to run command-line file transfers.
Use PnP PowerShell to Copy the Files
Since the modern SharePoint UI restricts moving files out of Site Pages, running a PnP PowerShell command is the most effective way to copy them to the correct library.
The Site Pages library is a system library primarily designed for web pages. To protect site structures, Microsoft disables standard document management features like 'Move' or 'Download' by default. Using PnP PowerShell bypasses these graphical UI restrictions.
Open PowerShell as an Administrator and run 'Install-Module -Name PnP.PowerShell' to ensure you have the required SharePoint module.
Run the command 'Connect-PnPOnline -Url <YourSiteUrl> -Interactive' and log in with your administrator credentials to establish a connection.
Use the 'Copy-PnPFile' command to duplicate the folder from the Site Pages library to the Documents library. For example: 'Copy-PnPFile -SourceUrl "/sites/YourSite/SitePages/FolderName" -TargetUrl "/sites/YourSite/Shared Documents"'.
Navigate to the Documents library in your web browser to verify that all files copied successfully. Once confirmed, you can safely delete the incorrectly placed folder from the Site Pages library.

Submit a Support Request via Microsoft 365 Admin Center
If you do not have PowerShell access or administrator privileges, you will need backend assistance from an IT admin or Microsoft Support.
Manage Your Documents Seamlessly with WPS Office
While managing files in SharePoint sometimes requires complex PowerShell commands due to strict UI limitations, editing your documents locally shouldn't be a hassle. WPS Office offers a free, lightweight, and highly compatible alternative to Microsoft Office, allowing you to create, edit, and manage your Word, Excel, and PowerPoint files without friction.
- 1. Download the Installer: Visit the official WPS Office website and click 'Download WPS Office Free'.
- 2. Install WPS Office: Run the downloaded installer and follow the quick on-screen setup instructions.
- 3. Open Your Documents: Launch WPS Office and open your .docx, .xlsx, or .pptx files to experience seamless offline editing.

Frequently Asked Questions
Why are the Move and Download buttons missing in the Site Pages library?
The Site Pages library is a specialized system library built specifically to host SharePoint site web pages, not standard documents. Microsoft intentionally disables standard document management features like Move, Download, and drag-and-drop to prevent accidental breakage of the website's structure.
Can I use SharePoint Designer to move files out of Site Pages?
While older versions of SharePoint Designer allowed for backend file management, the software is largely deprecated for modern SharePoint Online sites. Using PnP PowerShell is the officially recommended and most reliable modern approach.
What happens if I just delete the stuck files from Site Pages?
Deleting the files from the Site Pages library will move them to the SharePoint Recycle Bin. While they can be restored from there, it is highly recommended to successfully copy the files to the Documents library first and verify their integrity before deleting the originals.




