Script Lab for Outlook

Microsoft Corporation

Create, run, and share your Office Add-in code snippets from within Outlook.

Create, run, and share your Office Add-in code snippets from within Outlook.

Experiment with the Office JavaScript API without ever leaving Outlook! You can use Script Lab to:

• Create and edit code snippets that can include JavaScript, HTML, CSS, and references to libraries and data on the web

• Run the snippets and instantly see the result in a task pane and in the Office document

• Get started quickly with a selection of samples

• Share and save your snippets with GitHub gists

• Learn the JavaScript API with the help of IntelliSense while you edit

• Try TypeScript: make use of arrow functions, template strings, or even the latest TypeScript 2.0+ features like async/await

• Prototype an add-in you're planning to develop

There's no need to install any other software or configure your environment: as long as you have Office, you can get started in seconds.

Script Lab, a Microsoft Garage project, works in Outlook (Office 2013 and later, Office Online*, and Office for Mac).

* Currently, in Outlook for the Web, the add-in is only supported in Chrome and Edge. Safari and Firefox to be available soon!

The source code for Script Lab is open to the community at We welcome your contributions!

Add-in capabilities
When this add-in is used, it
  • Can send data over the Internet
  • This add-in can access and modify personal information in the active message, such as the body, subject, sender, recipients, and attachment information. It may send this data to a third-party service. Other items in your mailbox can’t be read or modified.
  • At a glance