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-engineCore 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.

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.
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.
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.
How compatible is the engine with Excel and Google Sheets?
Does the engine modify my spreadsheet files?
Where does the engine run?
How does the engine work with AI systems?
Can I use the engine with AI agents?
Can the engine generate spreadsheets from scratch?
How do I get started?
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.