How to find which template is used for a site in SharePoint Online Office 365

Here we will discuss how to find which site template used for a site in SharePoint Online Office 365 site? In the Office 365 SharePoint Online classic admin center, we will not be able to know which template a site is using.

Even if you are checking the site properties, it will display information like Title, website address, primary administrator, administrators, number of subsites. storage usage and quota etc like below:

retrieve site template sharepoint online
how to check site collection template in SharePoint Online 2013

We can retrieve the site template from the modern new SharePoint Online admin center.

Find site collection template in SharePoint Online

We can get the site template used by a SharePoint site collection or subsite from the browser itself.

Read how to check which site template used in SharePoint Online Site using JSOM (JavaScript Object Model)?

Open the SharePoint Online site and then right-click anywhere in the page and then “view page source“.

Then in the view source page, search for “g_wsaSiteTemplateId“, you will be able to see like below:

var g_wsaSiteTemplateId = ‘STS#0‘; (Team site)

It looks like below:

how to retrieve site template in sharepoint online
SharePoint online site template id

Similarly, for publishing sites, it will appear like below:

sharepoint online office 365 how to retrieve site template
SharePoint online office 365 how to retrieve site template id

You may like the following SharePoint Online site template tutorials:

I hope this will be helpful to find which template is used for a site in SharePoint Online Office 365.

>