SharePoint 2016 Open HTML File in Browser Instead of Promoting to Download

In this SharePoint 2016 tutorial, we will discuss how to open an HTML file in the browser in SharePoint 2016/2013.

Recently I have uploaded an HTML file into Site Assets library and when I click on the file, it was asking me to download the file instead of displaying it in the browser. My requirement is to open the HTML file in the browser, not to download the file.

By default in SharePoint 2016 restricted browser file handling, so we have to enable it.

Open HTML File in Browser in SharePoint 2016

We need to follow the below steps to resolve the issue.

Step-1: First open SharePoint 2016 Central Administration. Click on Manage web applications which is under Application management.

sharepoint 2016 open html file in browser
SharePoint 2016 open html file in browser

Step-2: Click on “Manage web application” under Web Application.

permissive browser file handling sharepoint 2016
permissive browser file handling SharePoint 2016

Step-3: From all SharePoint web application select the Web application in which you are facing the problem.

browser file handling sharepoint 2016
browser file handling SharePoint 2016

Step-4: Click on the web application tab which is on the ribbon. Then click on General settings.

how to open html file in sharepoint
how to open html file in sharepoint

Step-5: Scroll to Browser File Handling then change the Strict to Permissive. Click on OK. Now you can browse HTML files in SharePoint 2016.

sharepoint 2013 documents not opening in browser
sharepoint 2013 documents not opening in browser

You may like following SharePoint tutorials:

Once you save the settings, now you can open HTML files in the browser, it will not ask you to download the file.

Tags: sharepoint 2016 permissive file handling, sharepoint 2016 render html file, sharepoint 2016 open html file in browser, permissive browser file handling sharepoint 2016, permissive browser file handling sharepoint 2013, sharepoint download file instead of opening, sharepoint 2013 documents not opening in browser, browse file handling to permissive, display html page in sharepoint 2013, browser file handling sharepoint 2016, sharepoint 2016 html files, set browser file handling to permissive, sharepoint open file in browser, how to open html file in sharepoint, sharepoint download file instead of opening, sharepoint 2013 document download instead of open, sharepoint 2013 documents not opening in browser

>