Is there a simple way for me to see what template was used for a site collection in SharePoint Online (Office 365)?

The Site Collection properties only show details like "number of subsites", "title", ... but not the template used.

Thank you in advance

2 Answers 2


On your site, view the source of the start page (ctrl + U) and search for JavaScript variable g_wsaSiteTemplateId.

You'll get the Template ID like this

var g_wsaSiteTemplateId = 'STS#0';

Then just find what template that is in the list presented in the article SharePoint 2013 Site Template ID

  • 1
    Perfect! Thanks Benny. Got the confirmation I needed that the Team Site Templates were used (STS#0)
    – TempaC
    Commented May 20, 2015 at 9:25

I've been trying to find out why when I search the Source Code from my 365 tennant I can't find a 'g_wsaSiteTemplateID' variable anywhere. It seems like the variable name has been changed to 'webTemplateConfiguration'.

I found my Template ID looking like this:


The values don't seem to have changed though so you can still correlate what you find with mentioned article.

  • In a classic publishing subsite which I thought was created as a modern team site I get "webTemplateConfiguration":"STS#3". ST#3 doesn't appear in the template list.
    – matt
    Commented Feb 21, 2020 at 19:52
  • 1
    Found it here: technologytobusiness.com/microsoft-sharepoint/…
    – matt
    Commented Feb 21, 2020 at 19:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.