How to Export Modern SharePoint and Teams Sites as Templates
Question details
SharePoint administrators need a supported way to export modern SharePoint and Teams site designs, document libraries, lists, calendars, and layouts so they can be reused across clients or Microsoft 365 tenants.

- Product
- Microsoft SharePoint Online and Microsoft Teams
- Device & OS
- not provided
- Scenario
- A SharePoint administrator wants to replicate a modern SharePoint or Teams site structure in another environment.
- Observed behavior
- The Save as template option may not be available for modern SharePoint sites, so the goal is to use supported site template or site design methods.
Confirm that you have SharePoint administrator permissions and check whether custom script is allowed in the target SharePoint admin center before you create a site template.
Use SharePoint site designs and site scripts to reuse modern site structure
The supported method for modern SharePoint and Teams-connected sites when Save as template is not available.
Site designs and site scripts let you export the desired lists, libraries, columns, and settings as a JSON definition and apply it to other site collections or tenants.
Go to the Microsoft 365 admin center, select SharePoint admin center, and sign in with a SharePoint administrator account.
Select Site scripts under JSON commands, click Add a site script, enter a title, and paste the JSON that defines the lists, libraries, columns, or theme you want to reuse.
Go to Site designs, click Add a site design, enter a name, and select the site script you created from the available list.
Open the target SharePoint site, go to Site settings, and under Site Actions select Apply a site design, then choose the saved design.

Enable custom scripts and publishing features when Save as template is required
Use this if your environment still needs the classic Save as template action on a modern site.
Use classic SharePoint site templates for classic sites
For classic SharePoint sites only, the Save site as a template process is still available in Site settings.
Open and Edit SharePoint-Exported Documents with WPS Office
WPS Office is a free, lightweight Office alternative that opens and edits Word, Excel, PowerPoint, and other Microsoft Office files exported from SharePoint and Teams workflows. It keeps formatting intact and offers a familiar ribbon interface, so you can move between Microsoft 365, SharePoint exports, and WPS without losing productivity.
- 1. Download WPS Office: Visit the WPS Office download page and download the free installer for your Windows or macOS device.
- 2. Install and sign in: Run the installer, launch WPS Office, and sign in with a WPS account or continue as a guest.
- 3. Open exported files: Select Menu > Open, browse to the Word, Excel, or PowerPoint file exported from SharePoint or Teams, and start editing.

Frequently Asked Questions
Can I use Save site as template for a modern SharePoint team site?
It may not be available. Use SharePoint site designs and site scripts as the supported method. If you specifically need Save site as template, enable custom script in the SharePoint admin center and publishing features on the site, then check Site settings again.
How do I reuse a document library or list from a SharePoint site in another tenant?
Create a site script that defines the library or list schema, add it to a site design, and apply the site design to the target site from Site settings or the SharePoint admin center.
Do Teams sites use the same SharePoint template export process?
Yes. Teams-connected sites are SharePoint sites, so they use the same modern site design and site script methods; the Save as template option may be limited.
Can WPS Office open files I download from a SharePoint or Teams site?
Yes. WPS Office can open and edit .docx, .xlsx, and .pptx files downloaded from SharePoint or Teams, and it preserves Microsoft Office formatting.




