Cette page est affichée en anglais. Une traduction française est en cours.
ScriptsJul 4, 2026·3 min de lecture

IronCalc — Open Source Spreadsheet Engine in Rust

A high-performance spreadsheet engine written in Rust that runs in the browser via WebAssembly, on servers, and as an embeddable library.

Prêt pour agents

Installation agent prête

Cet actif peut être installé après choix du runtime, vérification du plan et exécution de la commande adaptée.

Native · 98/100Policy : autoriser
Surface agent
Tout agent MCP/CLI
Type
Skill
Installation
Single
Confiance
Confiance : Established
Point d'entrée
IronCalc Overview
Commande d'installation directe
npx -y tokrepo@latest install f345ccd7-77a1-11f1-9bc6-00163e2b0d79 --target codex

À exécuter après confirmation du plan en dry-run.

Introduction

IronCalc is an open-source spreadsheet engine built in Rust that aims to be a drop-in calculation core for applications needing spreadsheet functionality. It compiles to WebAssembly for browser use, runs natively on servers, and provides bindings for multiple languages, making it a versatile alternative to proprietary spreadsheet engines.

What IronCalc Does

  • Evaluates spreadsheet formulas with support for hundreds of Excel-compatible functions
  • Parses and writes XLSX files for interoperability with existing spreadsheets
  • Compiles to WebAssembly for embedding interactive spreadsheets in web applications
  • Provides a Rust library API for server-side batch processing of spreadsheet data
  • Supports cell formatting, named ranges, and multi-sheet workbooks

Architecture Overview

The core engine is written in pure Rust with no unsafe code, providing memory safety and high performance. The formula parser and evaluator handle circular reference detection and dependency graph recalculation. A WASM compilation target wraps the engine for browser use with a React-based UI layer. The XLSX parser handles reading and writing the Open XML format natively.

Self-Hosting & Configuration

  • Build from source with a standard Rust toolchain (cargo build)
  • For web use, compile the WASM target and serve the bundled JavaScript
  • Integrate as a Rust crate dependency for server-side spreadsheet processing
  • No external database or service dependencies required
  • Configuration is programmatic through the library API rather than config files

Key Features

  • Excel-compatible formula engine supporting complex calculations
  • XLSX file format reading and writing
  • WebAssembly target for browser-based spreadsheet UIs
  • Multi-language bindings including Python and JavaScript
  • Lightweight with no runtime dependencies beyond the Rust standard library

Comparison with Similar Tools

  • LibreOffice Calc — full desktop app; IronCalc is an embeddable engine for developers
  • SheetJS — JavaScript-only; IronCalc runs natively in Rust with WASM as an option
  • Luckysheet/Univer — full-featured web UI; IronCalc focuses on the calculation engine
  • Apache POI — Java-based; IronCalc offers better performance through Rust

FAQ

Q: Can IronCalc replace Excel or Google Sheets? A: IronCalc is an engine, not a full spreadsheet application. It provides the calculation and file handling layer that developers embed into their own applications.

Q: How many Excel functions are supported? A: IronCalc supports a growing subset of Excel functions covering math, text, date, lookup, and statistical categories. Check the documentation for the current list.

Q: Does it support macros or VBA? A: No. IronCalc focuses on formula evaluation and does not support VBA macros.

Q: Can I use it in a Python project? A: Yes. Python bindings are available, allowing you to use IronCalc for spreadsheet processing in Python applications.

Sources

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires