AI for Google Apps Script

AI Copilot for Google Apps Script

GS Copilot lives inside the script.google.com IDE — reads your whole project, writes the function, fixes the error. No copy-pasting between tabs.

TRUSTED BY18,000+ developers writing better Apps Script
Trusted by Apps Script teams at
18,000+
Devs writing better Apps Script
10x
Faster script writing and debugging
1.2M
Lines of code generated this month
63%
Reported time saved per script
Everything GS Copilot can do

An AI copilot built into your editor.

From a quick question to a multi-file refactor — chat, plan, complete, and apply, all without leaving your spreadsheet.

Why is my VLOOKUP returning #N/A?
Your lookup column isn't first — wrap it in INDEX/MATCH.
2 files in context

AI Chat

Ask questions about your project, debug errors, and generate Apps Script code in a chat panel that understands your open files.

list files
read editor.gs
grep "TODO"
apply 3 edits

Agent mode

Describe what you want and let the agent explore your project — list, read, grep, lint — then plan and apply edits across files.

1Scan dependencies
2Draft migration
3Update callers

Plan mode

For bigger tasks the AI lays out a step-by-step plan and can ask clarifying questions before it writes any code.

function totalRevenue() {
  return rows.map(r => r.amt)map(r => r.amt)
}
Tab accept

Inline code completions

Ghost-text suggestions as you type, tuned for Apps Script and the Workspace APIs — Sheets, Docs, Gmail, Drive, Calendar.

// selected
for (i=0; i<n; i++) sum += a[i];
refactor to reduce()
a.reduce((s, x) => s + x, 0)

Quick edit

Select code and ask for a targeted change — refactor, fix, document, or optimize — without ever leaving the editor.

if (x == null) return;
+ if (x ?? true) return;
+log("guarded");
accept revert

Diff review & one-click revert

Every AI change is shown as a clear, side-by-side diff you approve before it touches your code — and any turn reverts in one click.

AI patchrange.setValue(total);
function saveTotal(row) {
range.setValue(total);
}

AI Code Apply

Apply AI-generated code directly to your project with confidence — clean writes across every affected file.

MCP Integration

Connect your Google account to enable MCP (Model Context Protocol) for enhanced, context-aware AI capabilities.

"fix my sheet"
enhancing prompt

Prompt enhancer

Turn a rough one-liner into a detailed, well-structured prompt with a single click.

@
@editor.gs@utils.gs@Sheet1

@-mention your files

Pull any file in your project into the conversation with an @-mention so the AI answers with full context.

const x = parse(v)
What does this do?

Add to chat

Send a selection straight into the chat with one click — and when the editor flags an error, "Add to chat" appears right on it.

Code reviewbugs
Sheets expertranges
API integrationauth
slash skill menu

Skills

Use the slash menu to attach real Apps Script specialists: Add-on, Code review, Frontend design, Web app, Library, Sheets expert, Optimize, Debug, Triggers, API integration, and Explain.

Lifetime dark
Launch week · 500 lifetime seats

Pay once.
Bring your own key.
Use it forever.

The new Lifetime · BYOK plan unlocks every feature, every provider, every model — at your API cost. No monthly bill from us. Ever.

$249$129one-time
Claim launch price
openai OpenAIanthropic Anthropicgoogle Googleopenrouter OpenRouter
Connected providers3 active
anthropic
Anthropic
claude-sonnet-4.5
$0.42 today
openai
OpenAI
gpt-5-mini
$0.08 today
google
Google
gemini-2.5-flash
$0.00 today
Total this month$3.41
Billed by your provider, not by us.
From install to first script in under 2 minutes

A faster way to write Apps Script.

01

Install in 30 seconds

One click on the Chrome Web Store. Sign in with the same Google account you already use for Apps Script.

02

Open any Apps Script project

GS Copilot pops a panel inside script.google.com — instantly aware of your files, sheets, and triggers.

03

Ship, faster than you can copy-paste

Chat, complete, refactor, debug. Or upgrade to Lifetime + plug in your own key for unlimited use.

TESTIMONIALS

What devs (and non-devs) are saying.

I rewrote our entire Workspace automation stack in a weekend. The full-project context is the killer feature — Cursor, but for the one IDE I can't replace.
AB
Aliya B.
Senior Apps Script Engineer · Logistics co.
Lifetime + BYOK was an instant yes. I plug in my Anthropic key, pay $0.40/day in tokens, and get an AI that actually understands `SpreadsheetApp.getActive()`.
CP
Cody P.
Workspace Consultant
Onboarded our 6-person ops team in one stand-up. They went from 'what's a trigger' to shipping internal tools in a week.
MT
Marisol T.
Head of RevOps · SaaS startup
I'm not a developer. I run a bakery. GS Copilot lets me automate my Sheets like I have an engineer on staff.
RD
Renee D.
Owner · Sourdough & Co.
I used to spend hours debugging script errors. Now I paste the error message and get the fix in seconds. It's like having a senior dev on call.
AK
Ahmad K.
Data Analyst · Fintech
FAQ

Questions, answered.

A Chrome extension that injects an AI coding assistant directly into the Google Apps Script IDE (script.google.com). It reads your project, understands your sheets and services, and writes Apps Script-aware code.

Stop tabbing. Start shipping.

Install GS Copilot in 30 seconds. Your next Apps Script function is one prompt away.

Free forever plan No credit card 30-day refund on Lifetime