Repolode
dream-num

dream-num/univer

An open-source TypeScript SDK for embedding spreadsheet, document, and presentation editing into your own apps, with headless Node.js support for agents.

Open-source alternative to:Microsoft ExcelGoogle Sheets

Stars
22,906
Forks
1,925
Open issues
154
Last commit
16 hours ago

What is it?

Univer is an SDK for building office-style editors inside your own product rather than hosting a fixed app. It provides building blocks for spreadsheets, documents, and presentations, along with boards, relational-table style bases, and PDF support, all sharing one plugin-based runtime. Developers compose only the features they need through individual plugins, or start faster with curated presets.

The rendering layer is Canvas-based and paired with a dedicated formula engine, aimed at large editable surfaces. A unified Facade API exposes workbooks, worksheets, ranges, documents, formulas, commands and events, and the same API works in the browser and on Node.js. Framework adapters cover React, Vue and Web Components, and UI components support light and dark themes.

The headless mode runs workbook and document logic in Node.js without a UI, which suits server-side processing, automation, and AI agents that inspect or edit Office content through structured APIs. Open-source packages are licensed under Apache-2.0, while a separate commercial Pro layer adds collaboration, import/export, charts, pivot tables and server features.

Key features

  • 01Spreadsheet, document, and presentation editing built on a shared plugin architecture.
  • 02Canvas-based rendering with a dedicated formula engine for large workbooks.
  • 03Facade API that works consistently in the browser and on Node.js.
  • 04Headless mode for server-side workbook and document processing without a UI.
  • 05Adapters for React, Vue and Web Components, with light and dark themes.

Use cases

  • Embedding a spreadsheet or document editor into a SaaS product or internal tool.
  • Processing workbooks and documents on a server for automation or reporting.
  • Giving AI agents structured read and write access to Office files.
  • Building custom data-centric apps on top of the plugin and command system.

Quick start

  1. 1

    Install the core packages with pnpm (Plugin Mode)

    pnpm add @univerjs/core @univerjs/design @univerjs/docs @univerjs/docs-ui @univerjs/engine-formula @univerjs/engine-render @univerjs/sheets @univerjs/sheets-formula @univerjs/sheets-formula-ui @univerjs/sheets-numfmt @univerjs/sheets-numfmt-ui @univerjs/sheets-ui @univerjs/ui
  2. 2

    Or install the Preset Mode packages for a shorter setup

    pnpm add @univerjs/presets @univerjs/preset-sheets-core
  3. 3

    Add a container element to your page

  4. 4

    Create a workbook with the Facade API after registering plugins or presets

Things to know

  • Live collaboration and some AI Worktree features require the Web SDK and separate licensing.
  • Several capabilities are part of the Pro offering rather than this open-source repository.

Topics

FAQ

What is univer?
An open-source TypeScript SDK for embedding spreadsheet, document, and presentation editing into your own apps, with headless Node.js support for agents. Univer is an SDK for building office-style editors inside your own product rather than hosting a fixed app. It provides building blocks for spreadsheets, documents, and presentations, along with boards, relational-table style bases, and PDF support, all sharing one plugin-based runtime. Developers compose only the features they need through individual plugins, or start faster with curated presets.
Is univer free to use? What license does it have?
univer is open source under the Apache-2.0 license. Check the license terms before using it in commercial products.
Is univer still maintained?
Actively maintained. The last commit to univer was on Nov 6, 2026.
What can I use univer for?
Embedding a spreadsheet or document editor into a SaaS product or internal tool. Processing workbooks and documents on a server for automation or reporting. Giving AI agents structured read and write access to Office files. Building custom data-centric apps on top of the plugin and command system.
How do I install univer?
Install the core packages with pnpm (Plugin Mode): pnpm add @univerjs/core @univerjs/design @univerjs/docs @univerjs/docs-ui @univerjs/engine-formula @univerjs/engine-render @univerjs/sheets @univerjs/sheets-formula @univerjs/sheets-formula-ui @univerjs/sheets-numfmt @univerjs/sheets-numfmt-ui @univerjs/sheets-ui @univerjs/ui Or install the Preset Mode packages for a shorter setup: pnpm add @univerjs/presets @univerjs/preset-sheets-core Add a container element to your page Create a workbook with the Facade API after registering plugins or presets
Where can I get univer?
The source code and installation instructions are on GitHub: https://github.com/dream-num/univer

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects