Create add-ons for Google Sheets, Docs, Slides, or Forms, automate your workflow, integrate with external APIs, and more.

Many Google apps, one platform in the cloud

Increase the power of your favorite Google apps — like Calendar, Docs, Drive, Gmail, Sheets, and Slides.
Apps Script lets you do more with Google. All on a JavaScript platform in the cloud.

Try a 5-minute quickstart

Add-on for Google Docs

Create a Docs add-on that transforms selected text into other languages with Google Translate.

Macros, menus, and custom functions

Tailor spreadsheet functions to your needs and build reports with a custom menu in Google Sheets.

Managing responses for Google Forms

Email Calendar invites and a personalized Google Doc to every user who responds to a form.

Build add-ons to extend Google Sheets, Docs, Slides, and Forms

Desktop add-ons for Docs, Sheets, Slides, and Forms

Apps Script makes it easy to create and publish add-ons in an online store for Google Sheets, Docs, Slides, and Forms. There’s no better way to distribute scripts to large numbers of users, whether you want to ship your code to the whole world or keep it private to the users in your G Suite domain.

A living, breathing platform (well, metaphorically)

October 28, 2019

You can no longer publish web apps to the Chrome Web Store. The Chrome Web Store deprecated Chrome apps in 2016 and they are now only available for ChromeOS devices. This change includes published Apps Script web apps. Previously published web apps are no longer discoverable in the Chrome Web Store. Editor add-ons aren't affected; you can still publish editor add-ons to the Chrome Web Store.

September 9, 2019

The Card service methods CardHeader.setUrl(url) and Image.setUrl(url) have been updated to accept an encoded image data string as an input parameter. As before, you can alternatively use a publicly-available image URL as the input parameter.

August 7, 2019

Documentation for the UI service has been removed. This service was deprecated in December 2014 and officially shut down on July 15, 2019. To build interfaces for web apps and editor add-ons, use the HTML service.

July 26, 2019

May 3, 2019

The Document service has been updated to add methods to get and set the language of a document:

April 19, 2019

The Data Studio service has been updated to add a few values to FieldType enum:

April 8, 2019

The behavior of the Google Clould (GCP) projects used by scripts has been altered. Now, the default GCP projects that Apps Script creates for new scripts are hidden and script owners can't access them directly. Admins and domain users with the resourcemanager.projects.list permission on the parenting GCP folder can still access default GCP projects.

If you need access to a script's GCP project (because you wish to publish it or take a similar action), it's best to switch your script to use a standard GCP project.