# JavaScript spreadsheet libraries

JavaScript spreadsheet libraries embed an editable grid of cells with formulas, formatting, and selection in a web page. A formula engine recalculates dependent cells whenever a value changes. These libraries let business apps and internal tools offer spreadsheet editing without sending users to a separate spreadsheet program.

## Popularity

| Library | Monthly downloads | Stars | Last release | License |
| --- | --- | --- | --- | --- |
| [Univer](#univer) | 2.9M | 23.3K | Nov 2026 | Apache-2.0 |
| [Handsontable](#handsontable) | 1.5M | 22.1K | Oct 2026 | SEE LICENSE IN LICENSE.txt |
| [SpreadJS](#mescius-spread-sheets) | 1.2M | Not on GitHub | Nov 2026 | SEE LICENSE IN SPREADJS-EULA.pdf |
| [FortuneSheet](#fortunesheet) | 1.1M | 3.8K | Nov 2025 | MIT |
| [Jspreadsheet CE](#jspreadsheet-ce) | 439.5K | 7.2K | Aug 2025 | MIT |
| [@syncfusion/ej2-spreadsheet](#syncfusion-ejtwo-spreadsheet) | 231.5K | 450 | Nov 2026 | SEE LICENSE IN license |
| [x-spreadsheet](#x-data-spreadsheet) | 56.4K | 14.6K | May 2021 | MIT |
| [KendoReact Spreadsheet](#progress-kendo-react-spreadsheet) | 39.7K | 240 | Nov 2026 | SEE LICENSE IN LICENSE.md |

Downloads: npm, last thirty days. Stars and releases: GitHub. Amber: no release in over a year.

[Univer](#univer) has the most monthly downloads in this comparison, at 2.6M.

## Capabilities

| Library | Formula calculation | XLSX export |
| --- | --- | --- |
| [Univer](#univer) | Yes | Via plugin |
| [Handsontable](#handsontable) | Via plugin | Via plugin |
| [SpreadJS](#mescius-spread-sheets) | Yes | Via plugin |
| [FortuneSheet](#fortunesheet) | Yes | No |
| [Jspreadsheet CE](#jspreadsheet-ce) | Yes | Undocumented |
| [@syncfusion/ej2-spreadsheet](#syncfusion-ejtwo-spreadsheet) | Yes | Via plugin |
| [x-spreadsheet](#x-data-spreadsheet) | Yes | Via plugin |
| [KendoReact Spreadsheet](#progress-kendo-react-spreadsheet) | Yes | Yes |

## Libraries

### Univer

[GitHub](https://github.com/dream-num/univer) · [npm](https://www.npmjs.com/package/@univerjs/preset-sheets-core) · [Docs](https://docs.univer.ai/guides/sheets/features/core)

Embeds a spreadsheet editor with formula and rendering engines.

- Downloads / mo: 2.9M
- Stars: 23.3K
- Last release: 1.5.2
- License: Apache-2.0
- Capabilities: [From the Univer docs](https://docs.univer.ai/guides/sheets/features/core)

**Strengths**

- **Includes a formula engine.** Calculate spreadsheet formulas within the embedded editor.
- **Supports command-based undo and redo.** Reverse and repeat operations through the Facade API.

**Watch out for**

- **Office conversion needs a backend.** Connect a conversion backend before using Office import and export APIs.
- **SDK package versions must align.** Keep coordinated Univer SDK packages on matching versions.

```sh
pnpm add @univerjs/presets @univerjs/preset-sheets-core
```

**criptogus/HermesOffice** (629 stars)

[criptogus/HermesOffice](https://github.com/criptogus/HermesOffice) 

```tsx
function resolveWatch(cell: WatchCell): WatchRowValue | null {
    const workbook = univerRef.current?.univerAPI.getActiveWorkbook()
    const worksheet = workbook?.getSheetBySheetId(cell.sheetId)
    if (!worksheet) return null
    const range = worksheet.getRange(cell.row, cell.column, 1, 1)
    return {
      sheetName: worksheet.getSheetName(),
      value: range.getDisplayValue() ?? '',
      formula: range.getFormula() ?? '',
    }
  }

```

[apps/sheets/src/renderer/App.tsx](https://github.com/criptogus/HermesOffice/blob/c4943fc6ea5cf2c21d7b255f283fc16a3410dedc/apps/sheets/src/renderer/App.tsx#L3556-L3566) · [More projects using Univer →](https://dashboard.exa.ai/playground/search?q=JavaScript%20projects%20that%20use%20%40univerjs/preset-sheets-core&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D)

**Quickstart**

```tsx
import { UniverSheetsCorePreset } from '@univerjs/preset-sheets-core'
import UniverPresetSheetsCoreEnUS from '@univerjs/preset-sheets-core/locales/en-US'
import { createUniver, LocaleType, mergeLocales } from '@univerjs/presets'
import '@univerjs/preset-sheets-core/lib/index.css'

const { univerAPI } = createUniver({
  locale: LocaleType.EN_US,
  locales: {
    [LocaleType.EN_US]: mergeLocales(UniverPresetSheetsCoreEnUS),
  },
  presets: [
    UniverSheetsCorePreset({
      container: 'app',
    }),
  ],
})

univerAPI.createWorkbook({})

```

From [README.md](https://github.com/dream-num/univer/blob/dev/README.md)

### Handsontable

[GitHub](https://github.com/handsontable/handsontable) · [npm](https://www.npmjs.com/package/handsontable) · [Docs](https://raw.githubusercontent.com/handsontable/handsontable/master/README.md)

Builds editable data grids with spreadsheet-style controls.

- Downloads / mo: 1.5M
- Stars: 22.1K
- Last release: 18.1.2
- License: SEE LICENSE IN LICENSE.txt
- Capabilities: [From the Handsontable docs](https://raw.githubusercontent.com/handsontable/handsontable/master/README.md)

**Strengths**

- **Validates edits with custom rules.** Check required fields, numeric ranges, and patterns when editing ends.
- **Exports grid data as CSV.** Download raw cell data or create a CSV blob or string.

**Watch out for**

- **Formulas need HyperFormula.** Add HyperFormula, a separate calculation engine, for spreadsheet formulas.
- **CSV drops formatting and formulas.** Use another export path to retain formatting and formulas.

```sh
npm install handsontable
```

**Quickstart**

```tsx
import Handsontable from 'handsontable';

const element = document.getElementById('handsontable-grid');

new Handsontable(element, {
  data: [
    { company: 'Tagcat', country: 'United Kingdom', rating: 4.4 },
    { company: 'Zoomzone', country: 'Japan', rating: 4.5 },
    { company: 'Meeveo', country: 'United States', rating: 4.6 },
  ],
  columns: [
    { data: 'company', title: 'Company', width: 100 },
    { data: 'country', title: 'Country', width: 170, type: 'dropdown', source: ['United Kingdom', 'Japan', 'United States'] },
    { data: 'rating', title: 'Rating', width: 100, type: 'numeric' },
  ],
  rowHeaders: true,
  navigableHeaders: true,
  tabNavigation: true,
  multiColumnSorting: true,
  headerClassName: 'htLeft',
  licenseKey: 'non-commercial-and-evaluation',
});

```

From [README.md](https://raw.githubusercontent.com/handsontable/handsontable/master/README.md) · [Find projects using Handsontable →](https://dashboard.exa.ai/playground/search?q=JavaScript%20projects%20that%20use%20handsontable&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D)

### SpreadJS

[npm](https://www.npmjs.com/package/@mescius/spread-sheets) · [Docs](https://developer.mescius.com/spreadjs/docs)

Provides an Excel-like JavaScript spreadsheet for enterprise applications.

- Downloads / mo: 1.2M
- Last release: 19.2.6
- License: SEE LICENSE IN SPREADJS-EULA.pdf
- Capabilities: [From the SpreadJS docs](https://developer.mescius.com/spreadjs/docs)

```sh
npm install @mescius/spread-sheets
```

**Quickstart**

```tsx
import '@mescius/spread-sheets/styles/gc.spread.sheets.excel2013white.css';
import * as GC from '@mescius/spread-sheets';
const workbook = new GC.Spread.Sheets.Workbook('hostElement');

```

From [main.js](https://developer.mescius.com/spreadjs/docs/tutorials/how-to-import-and-export-excel-xlsx-using-javascript) · [Find projects using SpreadJS →](https://dashboard.exa.ai/playground/search?q=%40mescius/spread-sheets%20GitHub%20projects)

### FortuneSheet

[GitHub](https://github.com/ruilisi/fortune-sheet) · [npm](https://www.npmjs.com/package/@fortune-sheet/react) · [Docs](https://raw.githubusercontent.com/ruilisi/fortune-sheet/master/README.md)

Embeds a React spreadsheet with formulas, formatting, and cell editing.

- Downloads / mo: 1.1M
- Stars: 3.8K
- Last release: 1.0.4
- License: MIT
- Capabilities: [From the FortuneSheet docs](https://raw.githubusercontent.com/ruilisi/fortune-sheet/master/README.md)

**Strengths**

- **Includes spreadsheet formulas.** Use built-in formulas in editable spreadsheet cells.
- **Supports multiple spreadsheet instances.** Embed multiple spreadsheet instances on the same page.

**Watch out for**

- **Excel files need a plugin.** Add an import/export plugin to exchange XLSX workbooks.
- **Container dimensions must be set.** Set container width and height to make the sheet visible.

```sh
npm install @fortune-sheet/react
```

**Quickstart**

```tsx
import React from 'react';
import ReactDOM from 'react-dom';
import { Workbook } from "@fortune-sheet/react";
import "@fortune-sheet/react/dist/index.css"

ReactDOM.render(
  <Workbook data={[{ name: "Sheet1" }]} />,
  document.getElementById('root')
);

```

From [README.md](https://raw.githubusercontent.com/ruilisi/fortune-sheet/master/docs/guide/README.md) · [Find projects using FortuneSheet →](https://dashboard.exa.ai/playground/search?q=JavaScript%20projects%20that%20use%20%40fortune-sheet/react&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D)

### Jspreadsheet CE

[GitHub](https://github.com/jspreadsheet/ce) · [npm](https://www.npmjs.com/package/jspreadsheet-ce) · [Docs](https://raw.githubusercontent.com/jspreadsheet/ce/master/README.md)

Creates editable browser data grids with spreadsheet controls.

- Downloads / mo: 439.5K
- Stars: 7.2K
- Last release: 5.0.4
- License: MIT
- Capabilities: [From the Jspreadsheet CE docs](https://raw.githubusercontent.com/jspreadsheet/ce/master/README.md)

**Strengths**

- **Supports Excel-style calculations.** Use basic formulas and define custom formulas in spreadsheet cells.
- **Combines adjacent cells.** Merge cell ranges through settings or worksheet methods.

**Watch out for**

- **History stays within each worksheet.** Undo and redo changes separately in each worksheet.

```sh
npm install jspreadsheet-ce
```

**discourse/discourse** (48.1K stars)

[discourse/discourse](https://github.com/discourse/discourse) 

```tsx
@action
  insertTable() {
    const updatedHeaders = this.spreadsheet
      .getHeaders()
      .split(",")
      .map((c) => c.trim()); // keys
    const updatedData = this.spreadsheet.getData(); // values
    const markdownTable = this.buildTableMarkdown(updatedHeaders, updatedData);

    if (!this.isEditingTable) {
      this.args.model.toolbarEvent.addText(markdownTable);
      return this.args.closeModal();
    } else {
      return this.updateTable(markdownTable);
    }
  }

```

[frontend/discourse/app/components/modal/spreadsheet-editor.gjs](https://github.com/discourse/discourse/blob/e4ab7a2cc93947322fe4b60b629c9e7e34dc8868/frontend/discourse/app/components/modal/spreadsheet-editor.gjs#L98-L113) · [More projects using Jspreadsheet CE →](https://dashboard.exa.ai/playground/search?q=JavaScript%20projects%20that%20use%20jspreadsheet-ce&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D)

**Quickstart**

```tsx
jspreadsheet(document.getElementById('spreadsheet'), {
    worksheets: [
        {
            data: [
                ['Jazz', 'Honda', '2019-02-12', '', true, '$ 2.000,00', '#777700'],
                ['Civic', 'Honda', '2018-07-11', '', true, '$ 4.000,01', '#007777'],
            ],
            columns: [
                { type: 'text', title: 'Car', width: 120 },
                {
                    type: 'dropdown',
                    title: 'Make',
                    width: 200,
                    source: ['Alfa Romeo', 'Audi', 'Bmw', 'Honda'],
                },
                { type: 'calendar', title: 'Available', width: 200 },
                { type: 'image', title: 'Photo', width: 120 },
                { type: 'checkbox', title: 'Stock', width: 80 },
                {
                    type: 'numeric',
                    title: 'Price',
                    width: 100,
                    mask: '$ #.##,00',
                    decimal: ',',
                },
                { type: 'color', width: 100, render: 'square' },
            ],
        },
    ],
});

```

From [README.md](https://github.com/jspreadsheet/ce/blob/master/README.md)

### @syncfusion/ej2-spreadsheet

[GitHub](https://github.com/syncfusion/ej2-javascript-ui-controls) · [npm](https://www.npmjs.com/package/@syncfusion/ej2-spreadsheet) · [Docs](https://ej2.syncfusion.com/javascript/documentation/spreadsheet/getting-started)

Provides a JavaScript spreadsheet control with built-in selection and editing.

- Downloads / mo: 231.5K
- Stars: 450
- Last release: 35.2.12
- License: SEE LICENSE IN license
- Capabilities: [From the @syncfusion/ej2-spreadsheet docs](https://ej2.syncfusion.com/javascript/documentation/spreadsheet/getting-started)

```sh
npm install @syncfusion/ej2-spreadsheet
```

**Quickstart**

```tsx
// Initialize the Spreadsheet Editor
var spreadsheet = new ej.spreadsheet.Spreadsheet({
    openUrl: 'https://document.syncfusion.com/web-services/spreadsheet-editor/api/spreadsheet/open',
    saveUrl: 'https://document.syncfusion.com/web-services/spreadsheet-editor/api/spreadsheet/save'
});

// Render the Spreadsheet Editor
spreadsheet.appendTo('#element');

```

From [index.js](https://ej2.syncfusion.com/javascript/documentation/spreadsheet/getting-started) · [Find projects using @syncfusion/ej2-spreadsheet →](https://dashboard.exa.ai/playground/search?q=%40syncfusion/ej2-spreadsheet%20GitHub%20projects)

### x-spreadsheet

[GitHub](https://github.com/myliang/x-spreadsheet) · [npm](https://www.npmjs.com/package/x-data-spreadsheet) · [Docs](https://github.com/myliang/x-spreadsheet/blob/0c55f3ee1e708002eaef280432d6efeaeabdc886/readme.md)

Provides a JavaScript spreadsheet.

- Downloads / mo: 56.4K
- Stars: 14.6K
- Last release: 1.1.9
- License: MIT
- Capabilities: [From the x-spreadsheet docs](https://github.com/myliang/x-spreadsheet/blob/0c55f3ee1e708002eaef280432d6efeaeabdc886/readme.md)

```sh
npm install x-data-spreadsheet
```

**Quickstart**

```tsx
import Spreadsheet from "x-data-spreadsheet";
// If you need to override the default options, you can set the override
// const options = {};
// new Spreadsheet('#x-spreadsheet-demo', options);
const s = new Spreadsheet("#x-spreadsheet-demo")
  .loadData({}) // load data
  .change(data => {
    // save data to db
  });

// data validation
s.validate()

```

From [readme.md](https://github.com/myliang/x-spreadsheet/blob/0c55f3ee1e708002eaef280432d6efeaeabdc886/readme.md) · [Find projects using x-spreadsheet →](https://dashboard.exa.ai/playground/search?q=x-data-spreadsheet%20GitHub%20projects)

### KendoReact Spreadsheet

[GitHub](https://github.com/telerik/kendo-react) · [npm](https://www.npmjs.com/package/@progress/kendo-react-spreadsheet) · [Docs](https://www.telerik.com/kendo-react-ui/components/spreadsheet)

Provides the KendoReact spreadsheet component.

- Downloads / mo: 39.7K
- Stars: 240
- Last release: 17.0.0
- License: SEE LICENSE IN LICENSE.md
- Capabilities: [From the KendoReact Spreadsheet docs](https://www.telerik.com/kendo-react-ui/components/spreadsheet)

```sh
npm i @progress/kendo-react-spreadsheet @progress/kendo-theme-meridian
```

**Quickstart**

```tsx
import { Spreadsheet } from '@progress/kendo-react-spreadsheet';
import '@progress/kendo-theme-meridian/dist/all.css';
export default function SpreadsheetContainer() { return <Spreadsheet style={{ width: '100%', height: 700 }} />; }

```

From [App.js](https://www.telerik.com/kendo-react-ui/components/spreadsheet/get-started) · [Find projects using KendoReact Spreadsheet →](https://dashboard.exa.ai/playground/search?q=%40progress/kendo-react-spreadsheet%20GitHub%20projects)

## FAQ

### Which JavaScript spreadsheet library should I use?

[Univer](#univer) suits apps that want a full spreadsheet editor with a built-in formula engine. [Handsontable](#handsontable) suits apps that want an editable data grid with spreadsheet controls. [FortuneSheet](#fortunesheet) suits React apps that want a spreadsheet component.

### What is Univer?

[Univer](#univer) embeds a spreadsheet editor with formula and rendering engines. Its core sheets preset includes the formula engine.

### What is HyperFormula?

HyperFormula is the formula engine that [Handsontable](#handsontable) uses through its Formulas plugin. It calculates spreadsheet formulas outside the grid itself.

### What is SpreadJS?

[SpreadJS](#mescius-spread-sheets) is an Excel-like spreadsheet for enterprise JavaScript apps. It includes its own formula calculation.

### What is a good React spreadsheet component?

[FortuneSheet](#fortunesheet) embeds a React spreadsheet with formulas, formatting, and cell editing. [KendoReact Spreadsheet](#progress-kendo-react-spreadsheet) adds built-in formula functions and XLSX export to React apps.

## How this page was built

Data checked Nov 20, 2026.

Reproduce it with the Exa API:

```json
{
  "endpoint": "/search",
  "body": {
    "query": "JavaScript interactive spreadsheet libraries Handsontable Jspreadsheet CE Univer FortuneSheet formulas validation export",
    "numResults": 5
  }
}
```

Docs: https://exa.ai/docs/reference/search
