Google Apps Script overview Stay organized with collections Save and categorize content based on your preferences.
Page Summary
Google Apps Script is a rapid application development platform for creating business applications that integrate with Google Workspace, using modern JavaScript and built-in libraries for popular Google applications.
You don't need to install anything as it offers a browser-based code editor, saves scripts to Google Drive, and runs them on Google's servers.
Apps Script is versatile and can be used to add custom features to Google Docs, Sheets, and Forms, build web apps, interact with other Google services, and create add-ons.
Quickstarts are available to help you get started with Apps Script projects quickly, such as building automation, custom functions, or a Google Chat bot.
Google Apps Script is a rapid application development platform that makes itfast and easy to create business applications that integrate withGoogle Workspace. Youwrite code in modern JavaScript and have access to built-in libraries forfavorite Google Workspace applications like Gmail,Calendar, Drive, and more. There'snothing to install—we give you a code editor right in your browser, andyour scripts are saved to Google Drive and run on Google's servers.
If you're new to JavaScript, Codecademy offersa number of JavaScript courses.(Note that these courses weren't developed by and aren't associated withGoogle.)
What can Apps Script do?
Apps Script is versatile. Among other things, you can:
- Addcustom menus,dialogs, and sidebars to Google Docs, Sheets, andForms.
- Writecustom functions andmacros forGoogle Sheets.
- Publishweb apps — either standalone orembedded in Google Sites.
- Interact with otherGoogle services,including AdSense, Analytics, Calendar, Drive, Gmail, and Maps.
- Build lightweightadd-ons andpublish them to the Google Workspace Marketplace. If you anticipate buildinglarge scale add-ons, refer toBuild a Google Workspace add-on using HTTP endpoints.
Try a quickstart
Try one of the following quickstarts to get an Apps Script project up andrunning in less than 5 minutes.
- Automation quickstart: Build and run asimple automation that creates a Google Doc and emails you a link to it.
- Custom function quickstart: Createa custom function that calculates the sale price of discounted items.
- Google Chat bot quickstart: Create asimple Chat bot that can be directly messaged and responds by echoing yourmessages.
Want to see Apps Script in action? The Google Workspace Developers channel offers videos about tips, tricks, and the latest features. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-11 UTC.