Short answer: Choose SpreadJS if your application needs to import and export Excel workbooks in the browser. Choose Univer if you need an Apache-2.0 open-source core and a commercial server workflow for reviewing agent edits. Both offer real-time collaboration, including SpreadJS through its optional Collaboration Server from V19.0.
Univer publishes this blog.
Product details checked on November 26, 2026.
What you are actually choosing
Embedding a spreadsheet looks like one decision, but it is several. You are choosing how Excel files enter and leave your product. You are choosing where that conversion runs and how multiple people (or agents) edit the same workbook. You are also choosing a licensing model that will scale with either your engineering headcount or your usage.
Univer and SpreadJS answer these questions differently. Neither answer is better in the abstract, so this article sets out criteria, a worked example, and a test protocol. Your shortlist should come from your own files and deployment constraints, not from a feature grid.
Decision criteria
XLSX fidelity and where conversion runs
Most embedded-spreadsheet projects succeed or fail on the round-trip. A user uploads an XLSX file, edits it in your app, and downloads it again. Then someone opens it in Excel and expects it to look and calculate the same.
SpreadJS documents client-side Excel import and export, so the browser can read and write XLSX without a server round-trip (SpreadJS Excel import/export docs). Univer treats XLSX conversion as part of its commercial offering. The Business plan meters capacity partly by monthly exports (Univer pricing).
The practical questions are:
- Which workbook features survive import, edit, and export?
- Do formulas still recalculate to the same values afterward?
- Is conversion running somewhere your security review accepts?
Neither vendor's documentation can answer the first two for your files.
Real-time collaboration
SpreadJS V19.0 introduced an optional Collaboration Server, described as a full-stack Node.js solution with operational transformation (OT), presence, and permissions (SpreadJS V19.0 release post).
Univer's real-time collaboration is also OT-based. It belongs to the commercial tier along with edit history (Univer collaboration docs, Univer pricing).
Both products therefore offer server-backed, OT-based collaboration. Differences come down to deployment model, integration with your auth and permissions, and how the server fits your infrastructure. Test those directly.
Agent and automation workflows
If AI agents will edit workbooks in your product, ask two questions. Can the agent work on real files and verify its own results? Can a human review those changes before they land?
Univer provides a CLI and a skill that let an existing agent read and edit Excel, Word, and PowerPoint files. The agent can calculate and read back results and check renders (Univer for agents). Agent changes stay drafts until they are reviewed and merged, using the server-side Worktree feature (Univer for agents, Univer collaboration docs).
The SpreadJS sources cited in this article do not describe a comparable draft-and-merge agent workflow. If this matters to you, ask MESCIUS directly rather than assuming either way.
Deployment and licensing
These two products use different licensing models, so their prices do not rank cleanly.
SpreadJS lists US pricing from $999 per developer. For a commercial deployment, its limited annual option starts at $12,499 for a single domain. Other licensing options exist, and some add-ons are sold separately (SpreadJS pricing).
Univer's core is Apache-2.0 open source. Its commercial plans are sized by capacity, specifically collaborative connections and monthly exports, rather than by developer seats (Univer pricing).
So SpreadJS costs track team size and deployment footprint, while Univer's commercial costs track usage of server features. Which works out cheaper depends on your developer count, number of domains or deployments, concurrent editors, and export volume. Model your own numbers against both pages.
Side-by-side summary
| Criterion | Univer | SpreadJS |
|---|---|---|
| License model | Apache-2.0 core; commercial plans sized by collaborative connections and monthly exports | Commercial; per-developer licenses plus deployment licensing, with other options and separate add-ons |
| Excel import/export | XLSX conversion is a commercial feature | Client-side Excel import and export documented |
| Real-time collaboration | Commercial, OT-based | Optional Collaboration Server (V19.0): Node.js, OT, presence, permissions |
| Edit history | Commercial | Not covered by the sources cited here |
| Agent editing | CLI and skill for existing agents; read, edit, calculate, read back, check renders | Not covered by the sources cited here |
| Review before changes land | Server-side Worktree drafts, reviewed then merged | Not covered by the sources cited here |
The "not covered" cells are not claims that SpreadJS lacks a capability. They mark questions this article's sources do not answer.
An illustrative example: a planning workbook in a B2B app
Here is a hypothetical scenario, not a customer story.
A team builds a procurement planning tool. Customers upload a quarterly budget workbook with five sheets: inputs, a lookup table, monthly calculations, a summary with conditional formatting, and a chart. The summary uses cross-sheet references and named ranges. Two finance analysts edit at the same time during planning week. The team also wants an agent that can say "reallocate 10 percent of the Q3 travel budget to software." The agent should apply the change across the input and calculation sheets and leave it for an analyst to approve.
Round-trip. The team must confirm that named ranges, conditional formatting rules, number formats, and the chart survive. That means import, edit, export, and reopen in desktop Excel. With SpreadJS, they test the browser import/export path. With Univer, they test the commercial XLSX conversion. With both, they compare recalculated values in Excel against values shown in the embedded grid.
Collaboration. Both products offer an OT-based server. The team checks how each server authenticates users against their existing identity system. They check how permissions map to "analyst" and "viewer" roles, and what presence looks like in the grid.
The agent change. With Univer, the agent edits a Worktree draft and reads back the recalculated summary to confirm totals. It checks the render, then calls markReady() to freeze that revision for review. Only a draft in the draft state accepts edits, so the reviewed revision cannot shift underneath the analyst. After approval, mergeWorktree() merges the change.
Suppose this change touches the budget workbook and a linked notes document. Those are two Units. Univer merges them one at a time, and the merge is not atomic across Units. The team's UI should show the merge result for each Unit separately so the analyst sees exactly what landed.
Licensing. The team counts developers, production domains, expected concurrent editors, and monthly exports. They price each product under its own model before comparing.
A test protocol you can run in two weeks
- Collect real files. Gather 10 to 20 production workbooks, with permission and anonymized where needed. Include your largest, your most formula-heavy, and the one support tickets mention most.
- Write a feature inventory. For each file, list formulas, named ranges, data validation, conditional formatting, charts, pivot tables, merged cells, and protection settings.
- Import and inspect. Load each file into both products. Record what renders correctly, what renders differently, and what is dropped.
- Edit and export. Make a scripted set of edits: change inputs, insert rows inside referenced ranges, and rename a sheet. Then export to XLSX.
- Reopen in Excel and diff values. Recalculate in desktop Excel and compare key output cells against the values the embedded grid showed. Treat any difference as a finding, not noise.
- Locate the conversion. Document where import and export run (browser or server). Send that to your security reviewer early.
- Test collaboration under load. Run two to five simultaneous editors on the same workbook. Include conflicting edits to the same range, and check presence, permissions, and recovery after a dropped connection.
- Test the agent path, if relevant. Have an agent perform a realistic multi-sheet change. Verify that the agent can read back computed results, and that a human can review the change before it is applied.
- Price both under their own models. Use the published pricing pages and your real counts of developers, domains, connections, and exports. Request quotes where the pages direct you to.
- Write down failures, not impressions. The product with fewer blocking failures on your files is usually the right answer.
Where Univer fits, and its limitations
What is built in
- An Apache-2.0 open-source core you can embed, read, and extend (Univer pricing).
- Commercial server features: OT-based real-time collaboration, edit history, server-side Worktree, and XLSX conversion (Univer collaboration docs, Univer pricing).
- A CLI and skill that let your existing agent read and edit Excel, Word, and PowerPoint files, calculate and read back results, and check renders (Univer for agents).
- Worktree drafts.
markReady()freezes the current revision, and only a draft in the draft state accepts edits.mergeWorktree()merges Units one at a time.
What we recommend you build around it
These are workflow recommendations, not product features:
- A review screen that shows the frozen revision next to the current workbook before an approver merges.
- A per-Unit merge report. A multi-Unit merge is not atomic across Units, so show each Unit's merge result rather than a single success or failure flag.
- A policy for what happens when one Unit merges and another does not, such as notifying the reviewer and leaving the remaining draft open.
- Regression tests that run your real workbooks through import and export on every Univer upgrade.
Limitations
- XLSX conversion, real-time collaboration, edit history, and Worktree are commercial. The open-source core alone does not give you those server features.
- Merging across multiple Units is not atomic. Your application has to present and handle each Unit's result.
- Worktree does not resolve semantic conflicts for you. If two changes are individually valid but conflict in meaning, a human or your own logic has to decide.
- Do not assume cell-level accept or reject of individual changes inside a draft. Design your review flow around the draft as the unit of review unless the docs for your version say otherwise.
- Commercial capacity is metered by collaborative connections and monthly exports. Estimate both before you commit.
FAQ
Does SpreadJS support real-time collaboration in 2026?
Yes. SpreadJS V19.0 added an optional Collaboration Server, a full-stack Node.js solution with operational transformation, presence, and permissions (SpreadJS V19.0 release post). Older comparisons that describe SpreadJS as single-user only are out of date.
Is Univer free to use for embedding Excel workbooks?
Univer's core is Apache-2.0 open source. Real-time collaboration, edit history, server-side Worktree, and XLSX conversion are commercial features, offered on plans sized by collaborative connections and monthly exports (Univer pricing). Whether the free core is enough depends on whether your product needs any of those server features.
Which is cheaper, Univer or SpreadJS?
There is no single ranking because the licensing models differ. SpreadJS charges per developer, starting at $999, plus deployment licensing starting at $12,499 per year for a single domain, with other options and add-ons (SpreadJS pricing). Univer's commercial plans scale with connections and exports. Price both using your own developer, domain, and usage numbers.
Can a Univer agent merge changes into several files at once?
An agent's changes stay in a Worktree draft until reviewed. mergeWorktree() then merges Units one at a time, and a multi-Unit merge is not atomic across Units. Applications should show the merge result for each Unit so reviewers know exactly what was applied.
How should I test Excel round-trip fidelity?
Use your own production workbooks. Import them, make scripted edits, export to XLSX, reopen in desktop Excel, and compare recalculated values and formatting against what the embedded grid showed. Record each dropped or altered feature as a specific finding.
To see how the CLI, skill, and Worktree review flow fit an agent you already run, read Univer for agents.