Create, upload, edit, and publish HTML pages in SharePoint
Updated Oct 22, 2026
Version 2.0Love the functionality, but will we be able to disable the +New menu option?
If you disable HTML pages on your site, the "HTML page" option will not show in the +New menu. Please refer to the support documentation for more details on that setting in the site pages library.
https://support.microsoft.com/en-us/sharepoint/create-edit-publish-html-pages
I spent the last 4 hours manually disabling HTML Pages across all our sites, but I am concerned that the location Microsoft has chosen to store this setting is not appropriate. Site Owners will see it, toggle it back on, and I'll spend a lot of time going back and forth with them. Can we get it moved from the Site Pages library into Site Pages Library Settings? Is there a PowerShell script we can run to hide the UI? Or a script we can use to see if a site has toggled it back on? Please advise!
Thank you for the feedback. At this time, there are currently no plans to move the setting location. We do not have a Microsoft-provided PowerShell script for hiding the UI or automatically checking if the setting is toggled. That said, if you list all the features for a given site, you will see this listed if "Allow HTML files" is enabled for a given site:
Feature Name: HtmlPages
Feature ID: b35f1374-dbc0-454a-973c-2a0ab62d5afa
If you disable the setting for a site, the user should not be able to add HTML to the pages library. This does not impact someone's ability to add HTML to the document library.