Collabora Online vs OnlyOffice: Comparison (2026)
Quick Verdict
OnlyOffice has the better UI — it looks and feels like Microsoft Office, which matters for user adoption. Collabora has better document format fidelity — it’s LibreOffice under the hood, so complex .docx and .xlsx files render more accurately. For most self-hosted Nextcloud setups, OnlyOffice is the better default. For environments where document format accuracy is critical (legal, publishing, government), Collabora wins.
Updated March 2026: Verified with Collabora CODE 25.04 and OnlyOffice Document Server 9.3. Docker configs, RAM benchmarks, and Nextcloud integration details current.
Overview
Both are self-hosted office suites that integrate with Nextcloud for collaborative document editing. They compete directly for the same use case: “I want Google Docs-style editing on my own server.”
Collabora Online (CODE) uses the LibreOffice engine. It processes documents server-side, with the browser acting as a thin client. Developed by Collabora, a commercial Linux consulting company that contributes heavily to LibreOffice. Current version: CODE 25.04.
OnlyOffice (Document Server) uses its own rendering engine optimized for OOXML formats (.docx, .xlsx, .pptx). It runs as a Node.js application and renders documents client-side in the browser using JavaScript. Current version: Document Server 9.3.
Feature Comparison
| Feature | Collabora Online | OnlyOffice |
|---|---|---|
| Document editing | Full (Writer) | Full |
| Spreadsheet editing | Full (Calc) | Full |
| Presentation editing | Full (Impress) | Full |
| Document fidelity | Excellent (LibreOffice engine) | Good (optimized for OOXML) |
| .doc / .odt handling | Excellent | Good |
| .docx handling | Very good | Excellent |
| Macro support | LibreOffice macros (partial) | VBA-compatible macros |
| UI style | Ribbon-like (different from MS Office) | Very similar to MS Office |
| Mobile editing | Browser-based | Browser-based + mobile apps |
| Collaborative editing | Real-time (server-side) | Real-time (client-side) |
| Track changes | Yes | Yes |
| Comments | Yes | Yes |
| PDF export | Yes | Yes |
| Draw / Diagram editor | No | Built-in |
| Form builder | Limited | Built-in (fillable forms) |
| Nextcloud integration | Via Nextcloud Office app | Via OnlyOffice connector app |
Architecture and Resources
This is where the practical difference matters most for self-hosters:
| Metric | Collabora Online | OnlyOffice |
|---|---|---|
| Engine | LibreOffice Core (C++) | Custom OOXML engine (C++/JS) |
| Rendering | Server-side | Client-side (browser) |
| Docker image | collabora/code | onlyoffice/documentserver |
| RAM (idle) | ~1.3 GB | ~500 MB |
| RAM (per user) | ~100 MB | ~50-100 MB |
| CPU | Lower per-user (rendering is server-side) | Lower server-side (rendering is client-side) |
| Containers | 1 | 1 |
| Setup complexity | Medium (aliasgroup config + reverse proxy) | Lower (simpler env vars) |
| WebSocket requirement | Yes (mandatory) | Yes (mandatory) |
The key difference: Collabora’s 1.3 GB baseline RAM is the main drawback for small servers. It preloads the LibreOffice engine into shared memory on startup. OnlyOffice starts at ~500 MB, making it more viable on 2-4 GB VPS instances.
Document Format Fidelity
Collabora wins on legacy and ODF format handling because it is LibreOffice. A .doc file from 2005 or a complex .odt with embedded objects renders correctly. LibreOffice’s format support is 20+ years mature.
OnlyOffice wins on modern .docx handling because its engine was built specifically for OOXML. If your workflow is entirely Microsoft Office formats (which, realistically, most businesses are), OnlyOffice renders them more faithfully.
In practice: if you exchange documents with Microsoft Office users and formatting fidelity in .docx is critical, OnlyOffice is the safer choice. If you need to handle diverse formats including legacy documents, Collabora is more reliable.
User Experience
OnlyOffice feels immediately familiar to anyone who uses Microsoft Office. The toolbar layout, keyboard shortcuts, and editing behavior closely mirror Word, Excel, and PowerPoint. This dramatically reduces training time when deploying to teams.
Collabora’s interface is functional but visually distinct from both Microsoft Office and Google Docs. Users transitioning from either will need an adjustment period. The editing experience is solid, but it doesn’t have the polished feel of OnlyOffice.
Self-Hosting Setup Comparison
Both deploy as single Docker containers, but the configuration complexity differs significantly.
OnlyOffice Document Server:
services:
onlyoffice:
image: onlyoffice/documentserver:9.3.1.2
container_name: onlyoffice
restart: unless-stopped
ports:
- "8080:80"
environment:
- JWT_SECRET=your_secret_key_here
volumes:
- onlyoffice-data:/var/www/onlyoffice/Data
- onlyoffice-logs:/var/log/onlyoffice
volumes:
onlyoffice-data:
onlyoffice-logs:
Straightforward — set a JWT secret and it’s running. Connect to Nextcloud by installing the OnlyOffice connector app and entering the Document Server URL.
Collabora Online (CODE):
services:
collabora:
image: collabora/code:25.04.9.2.1
container_name: collabora
restart: unless-stopped
ports:
- "9980:9980"
environment:
- aliasgroup1=https://nextcloud.example.com:443
- username=admin
- password=changeme
- extra_params=--o:ssl.enable=false --o:ssl.termination=true
cap_add:
- MKNOD
volumes:
collabora-data:
Collabora requires configuring aliasgroup1 to whitelist your Nextcloud domain (common misconfiguration source), setting admin credentials, and handling SSL termination correctly. The MKNOD capability is needed for document conversion processes.
Key setup pain points by platform:
| Issue | Collabora | OnlyOffice |
|---|---|---|
| SSL/TLS configuration | Must match aliasgroup domain + handle termination | JWT only — SSL handled by reverse proxy |
| Reverse proxy config | Requires specific WebSocket paths (/cool/, /browser/) | Simpler WebSocket proxy (/) |
| Nextcloud integration | Built into Nextcloud Office (formerly Richdocuments) | Separate connector app install |
| Multi-domain hosting | One aliasgroup per domain | Single JWT covers all domains |
| Debug logging | COOL_LOG_LEVEL env var | Dashboard at /info endpoint |
| Common failure mode | Wrong aliasgroup → blank editor | Wrong JWT → connection refused |
Reverse Proxy Requirements
Both suites require WebSocket support in your reverse proxy. The specifics differ:
Nginx Proxy Manager / Nginx:
For OnlyOffice, enable WebSocket support in your proxy host settings — no special paths needed. For Collabora, you must proxy these specific paths:
/browser/ → Collabora static files
/hosting/discovery → WOPI discovery endpoint
/cool/ → WebSocket and editing endpoint
Caddy:
Caddy handles WebSocket proxying automatically for both. A simple reverse_proxy directive works for OnlyOffice. For Collabora, use:
office.example.com {
reverse_proxy collabora:9980
}
Traefik:
Both need WebSocket middleware enabled on the Traefik router. Collabora additionally requires passing the X-Forwarded-Proto header correctly — misconfigured Traefik headers are the #1 cause of Collabora setup failures behind Traefik.
For detailed reverse proxy setup: Reverse Proxy Setup Guide.
Scaling and Concurrent Users
| Metric | Collabora Online | OnlyOffice |
|---|---|---|
| Max concurrent editors (free tier) | 20 (CODE limit) | No hard limit |
| License for more users | Collabora Online subscription | Community Edition is free; Enterprise for management |
| Multi-server clustering | Requires Collabora Online subscription | Requires Enterprise Edition |
| RAM per 10 concurrent editors | ~2.5 GB | ~1.5 GB |
| Best for team size | 1-20 (CODE) or unlimited (paid) | 1-100+ (Community Edition) |
OnlyOffice Community Edition has no user limit, making it the clear winner for teams. Collabora CODE caps at 20 concurrent document editors — fine for families and small teams, but larger organizations need the paid Collabora Online subscription.
What’s New in 2025–2026
OnlyOffice 9.x
OnlyOffice 9.0 through 9.3 brought major updates since the 8.x series:
- Built-in diagram/draw editor — flowcharts, org charts, and freeform drawing without external tools
- Improved VBA macro compatibility — better import of complex Excel macros from corporate environments
- Pivot table improvements — slicers, calculated fields, and multi-level grouping in spreadsheets
- 20-30% faster document load times — noticeable with large files (50+ page documents)
- PDF form editing — fill and create fillable PDF forms natively
- AI assistant integration — optional GPT-based assistant for summarization and text generation (requires external API key, not enabled by default)
The Community Edition remains free with no user limits.
Collabora Online 25.04
Collabora CODE 25.04 is the latest Long-Term Support release, upgrading from the LibreOffice 24.04 core:
- Improved mobile editing — better touch targets, responsive toolbar that adapts to viewport width
- Dark mode support — full dark theme for the editing interface
- Faster document conversion — improved PDF export and format conversion performance
- Better .docx round-trip fidelity — fewer formatting artifacts when editing OOXML documents
- Asynchronous save — saving no longer blocks the editor, important for large documents
The 20-user limit remains for CODE; organizations needing more must license Collabora Online.
Nextcloud Integration Status (2026)
Nextcloud 30 (Hub 9) deepened its Collabora integration through the Nextcloud Office app, while the OnlyOffice connector received incremental improvements. Both work reliably with Nextcloud in 2026 — the choice is about the editing engine, not the integration quality.
Key difference in integration: Collabora is Nextcloud’s “official” office backend — Nextcloud GmbH and Collabora have a partnership, and the Nextcloud Office app ships with Nextcloud by default. OnlyOffice integration requires installing a separate connector app from the Nextcloud app store. Both approaches work fine, but Collabora gets first-party support from Nextcloud’s development team.
Cost Comparison
| Collabora CODE | OnlyOffice Community | |
|---|---|---|
| Self-hosted license cost | Free (up to 20 concurrent editors) | Free (unlimited users) |
| Paid tier | Collabora Online subscription (pricing on request) | OnlyOffice Enterprise ($1,200+/year) |
| Docker deployment | Free | Free |
| Cloud service pricing | Not available as SaaS | OnlyOffice Cloud starts at $4/user/month |
| When you need to pay | >20 concurrent editors OR commercial support | Enterprise management features OR commercial support |
| Server hardware cost | Higher (~4 GB RAM minimum) | Lower (~2 GB RAM minimum) |
| Estimated annual self-hosting cost | $0 software + $5-15/month hosting | $0 software + $3-10/month hosting |
For the vast majority of self-hosters, both are completely free. The paid tiers only matter for organizations with 20+ simultaneous document editors (Collabora) or those needing enterprise management consoles (OnlyOffice).
Microsoft Office Compatibility
This is the deciding factor for many teams — how well each suite handles Microsoft Office files from coworkers, clients, and legacy archives.
| Format | Collabora Online | OnlyOffice |
|---|---|---|
| .docx (Word) | Good — minor layout shifts possible | Excellent — native OOXML engine |
| .xlsx (Excel) | Good — complex formulas sometimes differ | Excellent — best Excel compatibility |
| .pptx (PowerPoint) | Acceptable — animations may differ | Very good — close to PowerPoint rendering |
| .doc (legacy Word) | Excellent — LibreOffice handles legacy formats | Acceptable — conversion artifacts possible |
| .xls (legacy Excel) | Excellent | Good |
| .odt (OpenDocument) | Native — no conversion needed | Converts to OOXML internally, converts back on save |
| .ods (OpenDocument) | Native | Converts internally |
| Complex macros (VBA) | Partial — LibreOffice BASIC compatible | Good — VBA macro execution improved in 9.x |
| Embedded objects | Excellent | Good |
| Conditional formatting | Excellent | Excellent |
| Pivot tables | Good | Excellent |
Bottom line: If your organization exchanges .docx and .xlsx with Microsoft Office users daily and formatting fidelity is non-negotiable, OnlyOffice is the safer choice. If you work with mixed formats (ODF, legacy .doc, complex embedded objects), Collabora’s LibreOffice engine handles the diversity better.
Real-world test: Opening a 30-page contract .docx with tracked changes, tables, headers/footers, and embedded images: OnlyOffice rendered it nearly identically to Word. Collabora rendered correctly but shifted a few page breaks. For basic .docx documents (most common case), both are fine.
Use Cases
Choose Collabora Online If…
- Document format fidelity across all formats (including .odt, .doc, legacy) is critical
- You work in government, legal, or publishing where exact rendering matters
- You’re already invested in the LibreOffice ecosystem
- You have 4+ GB RAM available on your server
Choose OnlyOffice If…
- You want users to feel at home coming from Microsoft Office
- Modern .docx/.xlsx/.pptx format fidelity is the priority
- RAM is constrained (2-4 GB servers)
- You want the simpler Docker setup
- You need built-in form creation or diagram editing
Final Verdict
For most self-hosted Nextcloud deployments, OnlyOffice is the better default. The lower RAM footprint, simpler setup, Microsoft Office-like UI, and excellent OOXML format support make it the practical choice. Collabora is the right choice when document format diversity or legacy format support is a hard requirement — and when your server has the RAM to spare.
Troubleshooting Common Setup Issues
Both suites have WebSocket requirements that trip up many self-hosters. Here’s what to watch for:
Collabora: “Document loading failed”
Almost always an aliasgroup misconfiguration. The aliasgroup1 environment variable must exactly match the URL Nextcloud uses to reach Collabora — including the scheme and port. If Nextcloud is at https://cloud.example.com, set aliasgroup1=https://cloud.example.com:443. Trailing slashes, mismatched ports, or HTTP vs HTTPS mismatches all cause silent failures.
OnlyOffice: “The document could not be saved”
Usually a JWT mismatch. The JWT_SECRET in your Docker Compose must match the secret entered in the Nextcloud OnlyOffice connector settings. Another common cause: reverse proxy stripping the Authorization header. Ensure your proxy passes all headers to the OnlyOffice container.
Both: Blank editor frame in Nextcloud
WebSocket connections aren’t reaching the office backend. Nginx users need proxy_set_header Upgrade $http_upgrade and proxy_set_header Connection "upgrade" in their reverse proxy config. Caddy handles this automatically. Traefik needs WebSocket middleware enabled.
Performance Under Load
How each suite handles multiple concurrent editors matters for teams:
| Scenario | Collabora CODE | OnlyOffice Community |
|---|---|---|
| 1 editor, simple doc | 1.5 GB RAM, <5% CPU | 600 MB RAM, <3% CPU |
| 5 concurrent editors, same doc | 2.0 GB RAM, 15% CPU | 800 MB RAM, 8% CPU |
| 10 concurrent editors, mixed docs | 2.8 GB RAM, 25% CPU | 1.2 GB RAM, 15% CPU |
| 20 concurrent editors | Hits CODE limit | 1.8 GB RAM, 25% CPU |
| Document open latency | 2-4 seconds | 1-2 seconds |
| Large spreadsheet (5MB xlsx) | 5-8 sec load | 3-5 sec load |
OnlyOffice scales better because rendering happens client-side — each browser does the work. Collabora’s server-side rendering means the server CPU scales linearly with users.
FAQ
Is Collabora Online the same as LibreOffice?
Collabora Online uses the LibreOffice engine (LibreOffice Online / COOL), but it’s packaged as a web service with collaborative editing, session management, and API endpoints that LibreOffice doesn’t have. Think of it as LibreOffice adapted for browser-based multi-user editing. Collabora (the company) is the largest commercial contributor to LibreOffice.
Which is more secure for self-hosting?
Both are reasonable choices. Collabora renders documents server-side, so malicious macros execute in the container — isolate it properly. OnlyOffice renders client-side, so the browser sandbox provides a layer of protection, but the JWT secret must be kept secure (if leaked, anyone can open documents). Neither has had major CVEs in recent years. For maximum security, run either in a dedicated container with no host network access.
Can I migrate from Collabora to OnlyOffice (or vice versa)?
Yes, switching is straightforward because both integrate with Nextcloud independently. In Nextcloud: disable the current office app (Nextcloud Office for Collabora, or the OnlyOffice connector), enable the other, enter the new server URL, and you’re done. Your documents stay in Nextcloud — only the editing engine changes. No data migration needed.
Does OnlyOffice support .odt (OpenDocument) files?
Yes, but with caveats. OnlyOffice can open and edit ODF files (.odt, .ods, .odp) but converts them internally to OOXML for editing, then converts back on save. This round-trip can cause minor formatting shifts in complex documents. If ODF fidelity is critical (government compliance, LibreOffice-native workflows), Collabora handles ODF natively without conversion.
Which office suite works better on mobile?
Both work through the browser, so mobile editing depends on how well the editor renders on small screens. OnlyOffice has dedicated mobile apps (iOS/Android) that provide a better touch experience. Collabora relies on responsive web design, which works but feels cramped on phones. For tablet use, both are fine. For phone editing, OnlyOffice has the edge.
Can I use either without Nextcloud?
Yes. OnlyOffice Document Server integrates with Seafile, ownCloud, Moodle, and other platforms. OnlyOffice also offers Workspace (document management + CRM + email). Collabora integrates with ownCloud, Moodle, and can run standalone with its own file manager. But both are most commonly deployed with Nextcloud.
What about LibreOffice Online vs Collabora Online?
LibreOffice Online (LOOL, now “COOL”) was the upstream project. Collabora Online Development Edition (CODE) is Collabora’s packaged distribution of COOL with Docker images, Nextcloud integration, and support. For self-hosting, always use collabora/code — it’s the maintained, Docker-ready build. Running raw COOL from source is unsupported and significantly harder to set up.
Which is better for Nextcloud: Collabora or OnlyOffice?
For most Nextcloud users, OnlyOffice is the easier setup with better Microsoft Office compatibility. However, Collabora is Nextcloud’s official partner — the Nextcloud Office app ships by default, and Collabora receives first-party support from Nextcloud’s development team. If you want the “officially supported” option with guaranteed compatibility on every Nextcloud upgrade, Collabora is the safer bet. If you prioritize UI polish and OOXML fidelity, OnlyOffice is better.
Collabora vs OnlyOffice: which handles Excel files better?
OnlyOffice handles Excel files better in most cases. Its engine was built specifically for OOXML formats, so complex spreadsheets with pivot tables, VBA macros, conditional formatting, and charts render more faithfully. Collabora (which uses LibreOffice Calc) handles basic spreadsheets fine, but complex Excel-specific features like Power Query, certain chart types, and advanced VBA macros may not translate perfectly. For teams that live in Excel, OnlyOffice is the clear winner.
Is Collabora Online free?
Collabora Online Development Edition (CODE) is free for up to 20 concurrent document editors. This is sufficient for home use, small teams, and most self-hosting scenarios. Beyond 20 simultaneous editors, you need a paid Collabora Online subscription. OnlyOffice Community Edition has no user limit — it’s fully free regardless of team size.
Which is better for a small team (under 10 people)?
OnlyOffice, unless your team primarily uses LibreOffice or ODF formats. For a small team: OnlyOffice uses less RAM (~500 MB vs ~1.3 GB), has a simpler Docker setup, and the Microsoft Office-like UI means zero training time. Collabora’s 20-user CODE limit isn’t a concern at this size, but the higher RAM baseline and more complex configuration (aliasgroup, SSL termination) add unnecessary friction for small deployments.
How often do Collabora and OnlyOffice release updates?
OnlyOffice releases major versions approximately every 4-6 months (e.g., 8.0 → 9.0 → 9.3). Collabora CODE follows LibreOffice releases, typically every 3-4 months for major versions. Both publish Docker image updates for minor/security fixes more frequently. Pin your Docker image tags and update deliberately — office suites occasionally introduce regressions in document rendering.
Can I run both Collabora and OnlyOffice on the same server?
Yes, but there’s no practical reason to. Each takes 500 MB–1.3 GB of RAM, and Nextcloud can only use one office backend at a time. Pick one. If you want to test both, set up Collabora first (built into Nextcloud Office app), then switch to OnlyOffice by installing its connector and disabling the Nextcloud Office app.
Collabora vs OnlyOffice vs CryptPad: which is best for privacy?
CryptPad is the most privacy-focused option — it uses end-to-end encryption, so even the server administrator cannot read document contents. Neither Collabora nor OnlyOffice encrypt documents in transit between the editor and server (they rely on HTTPS). If document secrecy from the server operator matters (whistleblowing, legal, journalism), CryptPad wins. If you trust your own server and need Microsoft Office compatibility, Collabora or OnlyOffice are better. See our Collabora vs CryptPad and OnlyOffice vs CryptPad comparisons.
Does Collabora or OnlyOffice work with ownCloud?
Both integrate with ownCloud Infinite Scale (oCIS). OnlyOffice has an official connector in the ownCloud marketplace. Collabora integrates through WOPI protocol support. The setup is similar to Nextcloud — deploy the office suite in Docker, configure the connector in ownCloud, and point it at the document server URL. Nextcloud has deeper first-party integration with Collabora, but both work with ownCloud.
Do I need Collabora or OnlyOffice for Nextcloud?
No. Nextcloud works fine without either — you can upload, download, share, and preview files. The office suites add in-browser document editing (like Google Docs). If you just need file storage and sync, skip both and save the RAM.
Which is better for spreadsheets?
OnlyOffice handles complex Excel spreadsheets more reliably, especially those with pivot tables, conditional formatting, and VBA macros. Collabora (Calc) is excellent for ODS files and simpler spreadsheets but can struggle with Excel-specific features. For heavy spreadsheet users migrating from Microsoft Office, OnlyOffice is the safer choice.
How much RAM do I need to run an office suite alongside Nextcloud?
Plan for at least 4 GB total. Nextcloud + PostgreSQL + Redis takes 512 MB–1 GB. OnlyOffice adds ~500 MB. Collabora adds ~1.3 GB. So the minimum comfortable setup is: Nextcloud + OnlyOffice = 2 GB, Nextcloud + Collabora = 2.5–3 GB, plus OS overhead. On a mini PC with 16 GB RAM, either runs comfortably alongside other containers.
Security Considerations
Both suites process user-uploaded documents, making container isolation important.
| Security Aspect | Collabora Online | OnlyOffice |
|---|---|---|
| Document rendering | Server-side (container) | Client-side (browser sandbox) |
| Macro execution | In container (isolate) | In browser (sandboxed) |
| Authentication | Admin panel password + Nextcloud WOPI | JWT token between services |
| Network exposure | Port 9980 (HTTPS/WSS) | Port 80/443 (HTTP/WSS) |
| Recent CVEs | None critical (2024-2026) | None critical (2024-2026) |
| Container privileges | Needs MKNOD capability | No special capabilities |
| Recommended isolation | Dedicated network, no host access | Dedicated network, rotate JWT |
Best practice for both: Run on a Docker bridge network shared only with Nextcloud. Do not expose ports to the public internet — access through your reverse proxy only. Rotate secrets (Collabora admin password, OnlyOffice JWT) every 90 days.
Backup and Data Persistence
Neither suite stores documents itself — Nextcloud holds the files. But both have persistent state worth backing up:
- Collabora: The
collabora-datavolume stores admin panel settings and session state. Loss means reconfiguring the admin panel, not losing documents. - OnlyOffice: The
onlyoffice-datavolume stores fonts, plugins, and document conversion cache. Theonlyoffice-logsvolume stores access and error logs. Loss means re-downloading fonts and clearing the cache — documents remain safe in Nextcloud.
Both integrate with your existing backup strategy. Back up the Nextcloud data volume (where documents live), and include the office suite config volumes for convenience.
Related
- How to Self-Host Collabora Online
- How to Self-Host OnlyOffice
- How to Self-Host CryptPad
- Collabora vs CryptPad
- OnlyOffice vs CryptPad
- Best Self-Hosted Office Suites
- How to Self-Host Nextcloud
- How to Self-Host Seafile
- Self-Hosted Alternatives to Google Docs
- Self-Hosted Alternatives to Microsoft 365
- Docker Compose Basics
- Reverse Proxy Setup
- Nextcloud vs Seafile
- Backup Strategy
Get self-hosting tips in your inbox
Get the Docker Compose configs, hardware picks, and setup shortcuts we don't put in articles. Weekly. No spam.
Comments