JavaScript spreadsheet libraries

Updated Nov 2026

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

Univer has the most monthly downloads in this comparison, at 2.6M.

LibraryMonthly downloadsStarsLast releaseLicense
Univer
2.9M
23.3KNov 2026Apache-2.0
Handsontable
1.5M
22.1KOct 2026SEE LICENSE IN LICENSE.txt
SpreadJS
1.2M
Not on GitHubNov 2026SEE LICENSE IN SPREADJS-EULA.pdf
FortuneSheet
1.1M
3.8KNov 2025MIT
Jspreadsheet CE
439.5K
7.2KAug 2025MIT
@syncfusion/ej2-spreadsheet
231.5K
450Nov 2026SEE LICENSE IN license
x-spreadsheet
56.4K
14.6KMay 2021MIT
KendoReact Spreadsheet
39.7K
240Nov 2026SEE LICENSE IN LICENSE.md
Downloads: npm, last thirty days. Stars and releases: GitHub. Amber: no release in over a year.

Libraries and code examples

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

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.

Limitations

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

Quickstart

From README.md
$ pnpm add @univerjs/presets @univerjs/preset-sheets-core
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({})

Univer examples

From open-source projects on GitHub

Handsontable

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

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.

Limitations

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

Quickstart

From README.md
$ npm install handsontable
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',
});

SpreadJS

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

Quickstart

From main.js
$ npm install @mescius/spread-sheets
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');

FortuneSheet

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

Downloads / mo
1.1M
Stars
3.8K
Last release
1.0.4
License
MIT

Strengths

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

Limitations

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

Quickstart

From README.md
$ npm install @fortune-sheet/react
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')
);

Jspreadsheet CE

Creates editable browser data grids with spreadsheet controls.

Downloads / mo
439.5K
Stars
7.2K
Last release
5.0.4
License
MIT

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.

Limitations

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

Quickstart

From README.md
$ npm install jspreadsheet-ce
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' },
            ],
        },
    ],
});

Jspreadsheet CE examples

From open-source projects on GitHub

@syncfusion/ej2-spreadsheet

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

Quickstart

From index.js
$ npm install @syncfusion/ej2-spreadsheet
// 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');

x-spreadsheet

Provides a JavaScript spreadsheet.

Downloads / mo
56.4K
Stars
14.6K
Last release
1.1.9
License
MIT

Quickstart

From readme.md
$ npm install x-data-spreadsheet
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()

KendoReact Spreadsheet

Provides the KendoReact spreadsheet component.

Downloads / mo
39.7K
Stars
240
Last release
17.0.0
License
SEE LICENSE IN LICENSE.md

Quickstart

From App.js
$ npm i @progress/kendo-react-spreadsheet @progress/kendo-theme-meridian
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 }} />; }

FAQ

Univer suits apps that want a full spreadsheet editor with a built-in formula engine. Handsontable suits apps that want an editable data grid with spreadsheet controls. FortuneSheet suits React apps that want a spreadsheet component.

Univer embeds a spreadsheet editor with formula and rendering engines. Its core sheets preset includes the formula engine.

HyperFormula is the formula engine that Handsontable uses through its Formulas plugin. It calculates spreadsheet formulas outside the grid itself.

SpreadJS is an Excel-like spreadsheet for enterprise JavaScript apps. It includes its own formula calculation.

FortuneSheet embeds a React spreadsheet with formulas, formatting, and cell editing. KendoReact Spreadsheet adds built-in formula functions and XLSX export to React apps.

For coding agents

Found your spreadsheet library? Help your agent use it.

Connect Exa so your coding agent can find the library’s documentation, check its API, and look up implementations while you build.

Run in your terminal

claude plugin install exa@claude-plugins-official