SharePoint Document Issues

How to Move Files from SharePoint Site Pages to Documents

Chanuka GeekiyanageChanuka Geekiyanage Oct 26, 2026 868 views

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.

How to Move Files from SharePoint Site Pages to Documents
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.
Before you start

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.

Solution 1Recommended

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.

1
Install PnP PowerShell

Open PowerShell as an Administrator and run 'Install-Module -Name PnP.PowerShell' to ensure you have the required SharePoint module.

2
Connect to Your SharePoint Site

Run the command 'Connect-PnPOnline -Url <YourSiteUrl> -Interactive' and log in with your administrator credentials to establish a connection.

3
Execute the Copy Command

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"'.

4
Verify and Delete the Original

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.

Use PnP PowerShell to Copy the Files
Permissions Required: You must have sufficient permissions (Site Owner or SharePoint Administrator) to execute these PowerShell commands successfully.
Free Microsoft Office alternative

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. 1. Download the Installer: Visit the official WPS Office website and click 'Download WPS Office Free'.
  2. 2. Install WPS Office: Run the downloaded installer and follow the quick on-screen setup instructions.
  3. 3. Open Your Documents: Launch WPS Office and open your .docx, .xlsx, or .pptx files to experience seamless offline editing.
100% format compatibility with Microsoft Office (.docx, .xlsx, .pptx)Lightweight installation that runs smoothly on almost any deviceFamiliar, easy-to-use tabbed interface for seamless migrationBuilt-in local file management and integrated cloud syncing
microsoft office alternative - wps office

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.