A
B
C
D
1
Number
Unit price
Total
2
Seats
30
$49
$1,470
3
Support
No
$700
$0
4
5
Total price
$1,470
Request
{
"apply": [
{
"target": "B2",
"value": 30
},
{
"target": "B3",
"value": "No"
}
],
"read": [
"C2",
"D5"
]
}
Response
[
{
"source": "C2",
"data": {
"t": "n",
"v": 49,
"w": "$49",
"z": "$#,##0"
}
},
{
"source": "D5",
"data": {
"t": "n",
"v": 1470,
"w": "$1,470",
"z": "$#,##0"
}
}
]

GRID Spreadsheet Engine

Proven spreadsheet engine. Runs anywhere in your stack.

A headless TypeScript library that runs inside your application or on Node.js servers. Deploy it in the browser, on-device, in the cloud, or in your own infrastructure, and surface it however your product needs.

Fully compatible with Excel and Google Sheets, and designed to work naturally with AI systems through a structured interface that lets language models read, modify, and create spreadsheets directly, with no need to generate code.

npm install @grid-is/spreadsheet-engine
Get startedView docs

Core capabilities

Animation-speed recalculation

Optimised for extremely fast calculations. Changes propagate through the dependency graph, computing the cells that need to recalculate. Even large or complex models recalculate at animation speed, keeping interactive UIs fluid and responsive as users change inputs.

Runs wherever your product runs

Deploy the engine in the browser, on the user's device, in the cloud, or on your own servers. Running close to your application eliminates server round-trips, keeps data within your own infrastructure, and gives you full control over performance and privacy.

Excel & Google Sheets compatible

Existing spreadsheets run as-is. The engine is deeply compatible with both Excel and Google Sheets, covering the functions, operators, and edge cases that make real-world spreadsheets work correctly.

Structured interface for AI systems

Instead of requiring language models to generate and maintain code to interact with spreadsheets, GRID exposes a structured interface that lets AI systems read, modify, and create spreadsheets directly. This makes spreadsheet-driven AI workflows faster, more reliable, and easier to scale as complexity grows.

Inside One of the World’s Fastest Spreadsheet Engines

Fast, accurate, and deterministic

The engine maintains a dependency graph based on references in formulas. When a value changes, it traverses the graph and updates only the cells that need to change.

The engine never recalculates more than it needs to. Updates are fast, results are always correct, and the model behaves consistently regardless of size or complexity.

import { Model } from '@grid-is/spreadsheet-engine';

const model = Model.fromJSF(spreadsheet);

// Write values
model.write('A1', 50000);
model.write('Revenue', 125000);

// Read calculated results
model.readValue('Total');
model.readValue('Sheet1!B10');

// Work with multiple workbooks
model.addWorkbook(anotherWorkbook);
model.write('[budget.xlsx]Sheet1!A1', 100);

Integrate in a few lines of code

The GRID engine is a headless TypeScript library. A few lines of code is all it takes to load your spreadsheet model and start reading calculated values from it. Most developers and agents are up and running within minutes.

The library runs wherever your product runs. Deploy it in the browser for client-side spreadsheet logic, on-device for zero-latency interactions, in Node.js for server-side workflows, or in your own cloud infrastructure for full control over data privacy and performance.

View docs

Reliability

200,000 automated unit tests

Every build runs almost 200,000 automated unit tests, covering functions, operators, inputs, and edge cases. It's how we ensure the engine stays compatible with Excel and Google Sheets as both platforms evolve.

How we test

Trusted by teams working with spreadsheets

GRID's engine is embedded as core spreadsheet infrastructure in products that knowledge workers depend on every day, including a leading AI assistant that uses GRID to power their spreadsheet capabilities.

Learn about AI workflows
Frequently asked questions

How compatible is the engine with Excel and Google Sheets?

The GRID engine is deeply compatible with both Excel and Google Sheets, covering the functions, operators, and edge cases that make real-world spreadsheets work correctly. Existing spreadsheets run as-is without modification.

Does the engine modify my spreadsheet files?

No. By default your original spreadsheet model remains unchanged. The engine performs recalculations and scenario analysis on your data without altering the source file.

Where does the engine run?

The engine can run in the browser, on the user's device, in the cloud, or on your own servers. It runs close to your application, eliminating server round-trips for spreadsheet interactions and keeping data within your own infrastructure.

How does the engine work with AI systems?

The engine exposes a structured interface that lets language models read, modify, and create spreadsheets through high-level operations, with no need to generate code. This makes spreadsheet-driven AI workflows faster, more reliable, and easier to scale.

Can I use the engine with AI agents?

Yes. The engine exposes a structured interface that lets agents read cells, apply changes, and recalculate with a single function call, no code generation required. For coding agents like Claude Code, Codex, and Cursor, we publish an official GRID skill that gives your agent everything it needs to get started. Install it with: npx skills add GRID-is/skills

Can the engine generate spreadsheets from scratch?

Yes. The same structured interface that lets agents read and modify existing spreadsheets also supports generating new ones from scratch. An LLM can define structure, populate values, and apply formulas through function calls, with the engine handling recalculation and ensuring accuracy throughout.

How do I get started?

Install the engine directly from npm with a free evaluation license. No sign-up or approval required. npm install @grid-is/spreadsheet-engine. When you're ready to ship commercially, visit grid.is/license.

npm install @grid-is/spreadsheet-enginemodel.write("A2", 125000)=IF(J6=0,0,J2/J1){ "apply": [{ "target": "A2" }] }

Get started now

Install the engine from npm with a free evaluation license and start building today. When you are ready to ship, talk to us. Most teams are surprised how quickly they go from first install to production, with direct support from the GRID team throughout.

Get started

Commercial licensing

Spreadsheets run the world

We run spreadsheets

2026 GRID

Developers

Get startedDocumentationLicensing

About us

CompanyCareersBlogContact us

Legal

Privacy Policy
Press kit
Press kit

2026 GRID

View docs
How we test
Learn about AI workflows
Get started
Documentation
Licensing
Contact us
Press kit
Press kit