How to Use the Script Editor Web Part in SharePoint 2013

Looking to add HTML and/or JavaScript to your SharePoint site?  Don’t worry, Microsoft has got you covered!  With the Script Editor Web Part in SharePoint 2013, you can do just that.  In this article, we’ll show you how to install the Script Editor Web Part as well as introduce some of its key functionalities.

Adding the Script Editor Web Part to Your Site:

  • Log into SharePoint 2013 and click the Page tab from the Ribbon. From here, click on the Setting icon on the upper right and select Edit Page:

  • On the Edit page, select the Insert Web Part tab from the Ribbon. From the Categories menu, select Media and Content and then Script Editor from the Parts menu:

  • Click on the Add button at the bottom of the page to install the Web Part.

Embedding Code to Your Site:

  • Once the Web Part has been successfully installed on your page, you will see a hyperlink button under the Script Editor labeled EDIT SNIPPET. Click the EDIT SNIPPET link to insert HTML/Script code:

  • In this example, I will insert an image, button, and alert a string as pictured below:

  • After you have inputted the appropriate code in the Embed dialog box, click Insert to save the HTML/Script.
  • Click the Save button on the right corner of your site:

  • Once you have successfully completed the embed, you will see the results of your code displayed on your site, similar to the following:


Want to know more about out-of-the-box web parts available
for SharePoint 2013? Check out the complete series via the links below:


SharePoint Online

The cloud parts are functional components that extend your SharePoint Online environment in Microsoft 365.

Supports Classic and Modern sites for SharePoint Online/Microsoft 365


Top SharePoint Online Products

Experience greater power and savings by bundling our SharePoint apps and cloud parts.

Calendar Plus

Chart Plus

Knowledge Base

Project Management Central

Simple List Search


On-Premises Only

These web parts extend SharePoint beyond its out-of-the-box capabilities by tailoring it to your requirements with Bamboo Solution’s growing portfolio of SharePoint Web Parts.

SharePoint 2013, 2016, 2019, 2022 - Classic Pages Only


Top On-Premises Only Products

Experience greater power and savings by bundling our SharePoint apps and web parts.

Calendar Plus

Data Viewer

Password Change

Password Expiration

Password Reset


Our team of Microsoft 365 experts help you get the most out of your Microsoft technology, we have the best Microsoft 365 talent to streamline your organization.

Streamline Your Department

We Have What You Need

Bamboo Solutions



Bamboo Installer