Short answer: Choose Handsontable for a React screen where users edit records that your application owns. Choose Univer when users organize their own worksheets, rely on formulas across sheets, or exchange editable workbooks. Univer’s Apache-2.0 open-source core supports embedded editing, while XLSX conversion and reviewed agent drafts require commercial features.
Univer publishes this blog.
Product details checked on November 26, 2026.
Records or a workbook: the question that decides most of this
Most "React spreadsheet" requirements fall into one of two shapes.
The first is editable records. Your data lives in a database. Each row is an entity, like an order, a SKU, or an employee. Columns have types and validation rules, and the grid is a faster way to edit what a form would otherwise handle. Saving means sending changed rows back to an API.
The second is a workbook. The file is the artifact. Users expect multiple sheets, cross-sheet formulas, formatting, and the ability to open the result in Excel. The structure is set by whoever built the file, not by your schema.
Handsontable is built around the first shape. Univer is built around the second. Both can run inside a React application, so the framework is rarely what decides the choice. The data model, licensing, and any plans for agent editing usually do.
Decision criteria
Before comparing features, write down answers to these questions for your product:
- Data shape. Are rows records with a schema, or cells in a user-authored file?
- Formula scope. Do you need a few computed columns, or arbitrary user formulas across sheets?
- File round-trip. Must users upload XLSX and download an XLSX that still works in Excel?
- Concurrency. Will several people edit the same sheet at the same time?
- Licensing model. Is your cost driven by the number of end users, or by concurrent connections and export volume?
- Agent editing. Will an AI agent propose changes that a person must review before they land?
Comparison at a glance
| Criterion | Handsontable | Univer |
|---|---|---|
| Primary model | Data grid for row-based records | Workbook and document model |
| Core license | Commercial; free for noncommercial use and evaluation under its terms; no free community edition (pricing) | Apache-2.0 open-source core (pricing) |
| Commercial pricing basis | Priced by end users, by quote (pricing) | Capacity based: collaborative connections and monthly exports (pricing) |
| Formulas | HyperFormula, installed separately from npm starting in 18.0; the full UMD bundle still includes it (formula docs, 18.0 migration) | Workbook formulas; the agent CLI can calculate and read values back (agents) |
| Commercial add-ons | HyperFormula licensed separately or as part of a bundle (pricing) | Real-time collaboration (OT), edit history, server-side Worktree, and XLSX conversion (docs) |
| Agent review flow | Not covered in this comparison | CLI and skill for existing agents; changes stay drafts until reviewed and merged (agents) |
Where a cell says "not covered," that means this article did not verify the point. It does not mean the product lacks it.
An illustrative example: a pricing app with two screens
Consider a hypothetical wholesale distributor building an internal React app for its pricing team. The app has two screens, and they pull in different directions.
Screen one: the SKU price list
The price list has about 4,000 SKUs stored in Postgres. Each row holds SKU, description, unit cost, target margin, list price, and approval status. List price is computed as cost divided by one minus margin. Around 25 analysts edit margins during the week, and a manager flips the approval status. The app saves changed rows through a REST endpoint and validates that margin stays within a set range.
This is a records problem. The schema is fixed, the computed column is simple, and nobody needs to download a file that behaves like the original. Handsontable fits naturally. You bind rows from the API, configure column types and validators, and add HyperFormula only if you want the price column computed in the grid instead of on the server. Many teams compute it on the server and skip formulas in the grid entirely.
The licensing question is concrete. Handsontable's commercial pricing is based on end users and handled by quote (pricing), so you count the 25 analysts, the managers, and anyone else who will use the screen. If you use HyperFormula, its license is listed separately from the grid or as part of a bundle on the same page.
Screen two: the quarterly price model
Finance maintains a quarterly model as an Excel workbook. It has an assumptions sheet, a sheet per product family, a summary sheet with cross-sheet formulas, and some conditional formatting. Today, people email it around. The product owner wants the model in the app. It should open in the browser, be edited by two or three people at once, and download as XLSX for the CFO.
This is a workbook problem. The structure belongs to finance, not to your schema, and the file has to survive a round-trip. Univer fits this screen. The open-source core gives you the workbook in the browser. The parts that make this screen work in production are commercial: real-time collaboration (OT), edit history, and XLSX conversion (docs). Those are sized by collaborative connections and monthly exports (pricing), so the estimate depends on how many people edit at once and how many XLSX files are produced each month, not on headcount.
The agent request
Later, the product owner asks for an AI agent that reads the quarterly model, proposes margin changes for one product family, and drafts a short Word memo explaining them. A person should approve the changes before they become real. That request maps onto Univer's agent tooling, covered next.
How Univer handles agent edits
Built-in product behavior
According to the agents page, Univer provides a CLI and a skill that let an agent you already use read and edit Excel, Word, and PowerPoint files, calculate and read results back, and check how output renders. The agent's changes stay as drafts until someone reviews and merges them.
The server-side Worktree is the mechanism for this, and it is a commercial feature (docs). Its documented behavior:
- A Worktree accepts edits only while it is in the draft state.
markReady()freezes the current revision. Edits are not accepted after that.mergeWorktree()merges Units one at a time. When a Worktree touches several Units, such as a workbook and a memo document, the merge is not atomic across those Units. Your UI should show the result for each Unit.
Univer does not resolve semantic conflicts automatically. If the agent's margin change and an analyst's edit disagree about what a number should be, that is a decision for a person.
Workflow we recommend on top of it
The following is our suggested practice, not product behavior:
- Create one Worktree per agent task, scoped to the Units that task needs.
- Let the agent edit, recalculate, and read back the summary values it changed, then check renders before handing off.
- Call
markReady()only when a person is ready to review, so the revision under review cannot shift. - Show the reviewer the affected Units and the values that matter to the business, such as summary totals.
- On merge, display a per-Unit result list. If the workbook merges and the memo does not, the reviewer should see that clearly and decide what to do next.
Do not design the review screen around cell-level accept and reject unless you have confirmed your build supports it. Plan around reviewing a Worktree and merging it.
A concrete test protocol
Run a time-boxed spike against both products using your own data. Here is a protocol for the example above.
- Prepare fixtures. Export a sanitized copy of the real price list (all rows) and the real quarterly workbook. Synthetic data hides formatting and formula edge cases.
- Handsontable records test. Install the grid under an evaluation license, following its terms. Install HyperFormula as a separate npm package if you need in-grid formulas, as required since 18.0 (migration guide). Load all rows, configure validators, edit 50 margins, and confirm that only changed rows reach your API. Pass if validation, saving, and the computed column behave correctly at full row count.
- Univer workbook test, core only. Load the workbook data with the open-source core. Confirm that cross-sheet formulas compute and that the layout is usable in your React shell.
- Univer round-trip test. With commercial XLSX conversion enabled, import the finance workbook, edit three assumptions, export, and open the result in Excel. Pass if formulas, sheet names, and the formatting finance relies on survive.
- Collaboration test. Open the same workbook in two browsers and edit adjacent cells at the same time. Confirm both edits persist and that edit history records them.
- Agent test. Create a Worktree covering the workbook and a memo document. Have the agent change margins and draft the memo. Call
markReady(), then try one more agent edit and confirm it is rejected. Merge and record the result shown for each Unit. Then force the second Unit to fail, for example by revoking access, and confirm your UI reports a split outcome clearly. - Size the licenses. For Handsontable, list named end users. For Univer, record peak concurrent collaborative connections and expected monthly exports. Bring both numbers to the vendors instead of guessing.
Record pass or fail and notes for each step. Those notes are what the product owner needs.
Univer: fit and limitations
Univer fits when the file is the product: multi-sheet models, documents and slides alongside spreadsheets, round-trips through Office formats, and agent edits that need review.
Its limitations are real:
- The open-source core is not the whole production story. Collaboration, edit history, Worktree, and XLSX conversion are commercial (docs).
- Capacity-based pricing requires you to estimate concurrent connections and export volume (pricing). That is harder to predict than headcount for a new feature.
- Multi-Unit merges are not atomic across Units, so your app must handle and display mixed results.
- There is no automatic semantic conflict resolution. Reviewers carry that responsibility.
- For a plain records screen bound to a database, a workbook model adds mapping work you may not need.
Handsontable: fit and limitations
Handsontable fits record-editing screens where rows map to entities, columns have types and validators, and saving goes through your API.
Its tradeoffs:
- There is no free community edition. Free use covers noncommercial and evaluation scenarios under its terms. Commercial use is priced by end users through a quote (pricing).
- Since 18.0, npm users install HyperFormula separately, while the full UMD bundle still includes it (formula docs). Budget for its license separately or as part of a bundle.
- Teams upgrading from 17.1 should read the migration guide before estimating effort.
A sample scope for the product owner
For the example app, a scope note could read:
- Price list screen: Handsontable, commercial license sized to named analysts and managers. HyperFormula only if the grid computes prices; otherwise compute on the server.
- Quarterly model screen: Univer core plus commercial collaboration, edit history, and XLSX conversion, sized to peak concurrent editors and monthly exports.
- Agent proposals: Univer Worktree, with one Worktree per task, review after
markReady(), and per-Unit merge results shown in the UI. - Tradeoff accepted: two vendors and two license models, in exchange for each screen using a tool shaped like its data.
- Open question: whether the price list should eventually live in the workbook. Revisit after the spike.
FAQ
Is Handsontable free for commercial projects?
No. Handsontable is free for noncommercial use and evaluation under its terms, and it has no free community edition. Commercial use is priced by end users through a quote, per its pricing page.
Do I need to install HyperFormula separately for Handsontable?
If you install from npm, yes, starting with version 18.0. The full UMD bundle still includes it. Licensing for HyperFormula is listed separately or as part of a bundle on the pricing page.
Which Univer features are open source?
The core is Apache-2.0. Real-time collaboration (OT), edit history, the server-side Worktree, and XLSX conversion are commercial, as described in the server docs.
Does merging an agent's Worktree apply everything at once?
mergeWorktree() merges Units one at a time. When a Worktree spans several Units, the merge is not atomic across them, so show the result for each Unit and let a person decide on any follow-up.
Can one app use both products?
Yes. Using a records grid for entity editing and a workbook for file-based models is an architecture choice many apps can support. It means managing two licenses and two integration surfaces.
To see how an agent reads, edits, and hands off workbook and document changes for review, read about Univer for agents.