← Back to posts
comparison guide self-hosted · · 13 min read

Collabora Online vs OnlyOffice vs CryptPad: Best Open-Source Google Docs Alternatives 2026

Complete guide to self-hosted office suites — Collabora Online, OnlyOffice, and CryptPad compared. Docker deployment guides, feature comparisons, and integration tips for replacing Google Docs and Microsoft 365.

OS
Editorial Team

If your team still relies on Google Docs or Microsoft 365 for everyday document editing, you’re handing your most sensitive files — contracts, financial reports, internal wikis, HR documents — to companies whose business model depends on data collection. Even with privacy settings tightened, these platforms can scan, index, and retain your content in ways you can’t audit or control.

The good news: open-source, self-hosted office suites have matured dramatically. In 2026, you no longer need to choose between collaboration and sovereignty. You can have real-time co-editing, rich document formatting, spreadsheet formulas, and presentation tools — all running on your own infrastructure.

This guide compares the three strongest contenders — Collabora Online, OnlyOffice, and CryptPad — and walks you through deploying each one with docker Compose.

Why Self-Host Your Office Suite

The case for moving away from Google Docs and Microsoft 365 has only gotten stronger:

Data sovereignty and compliance. Regulations like GDPR, HIPAA, and sector-specific data residency requirements make cloud-based document editing legally risky. When you self-host, you control exactly where your data lives, who can access it, and how long it’s retained. No vendor can change their terms of service and suddenly claim broader rights to your content.

Cost at scale. Google Workspace starts at $6/user/month and Microsoft 365 Business at $6/user/month. For a 50-person organization, that’s $3,600/year before any add-ons. A self-hosted office suite on a $20/month VPS serves unlimited users. The only scaling cost is storage and compute, which grows linearly and predictably.

No vendor lock-in. Google Docs and Office 365 use proprietary formats under the hood. Even when they support .docx export, complex formatting, macros, and embedded objects often break. Self-hosted suites like Collabora Online and OnlyOffice use ODF (Open Document Format) natively and provide faithful round-trip compatibility with Microsoft Office formats.

Offline resilience. A self-hosted instance on your local network works regardless of internet outages. For organizations in areas with unreliable connectivity, or teams that simply can’t afford downtime during critical work, this is a genuine operational advantage.

Deep integration. Self-hosted office suites integrate directly with your existing infrastructure — your LDAP directory, your SSO provider, your file storage system, your backup pipeline. You’re not limited to whatever integrations Google or Microsoft decide to support.

The Contenders at a Glance

Collabora Online

Collabora Online is the leading open-source implementation of LibreOffice technology, designed specifically for cloud-based collaborative editing. It’s built by Collabora Productivity, a company with deep roots in the LibreOffice and OpenOffice communities.

Under the hood, Collabora Online uses the same rendering engine as LibreOffice — meaning document fidelity is exceptional. It supports ODF natively and provides strong compatibility with Microsoft Office formats (.docx, .xlsx, .pptx). It’s designed to integrate with cloud storage platforms like nextcloud, ownCloud, Seafile, and SharePoint.

OnlyOffice

OnlyOffice (now part of Ascensio System SIA) is a comprehensive office suite that combines document editing with project management, CRM, and mail capabilities. The document editor component is available as a standalone self-hosted service called ONLYOFFICE Docs.

OnlyOffice uses OOXML (Office Open XML — the same format Microsoft Office uses) as its native format, which gives it an edge in Microsoft Office compatibility. The interface closely mirrors Microsoft Office’s ribbon UI, making it intuitive for users transitioning from that ecosystem.

CryptPad

CryptPad takes a fundamentally different approach. It’s a zero-knowledge, end-to-end encrypted collaborative office suite. Unlike Collabora Online and OnlyOffice — where the server can see your documents — CryptPad encrypts everything client-side before it reaches the server. The server has no idea what your documents contain.

CryptPad offers rich text documents, spreadsheets, presentations, kanban boards, whiteboards, code editors, and polls — all encrypted. It sacrifices some advanced formatting features for the guarantee that even the server administrator cannot read your content.

Feature Comparison

FeatureCollabora OnlineOnlyOffice DocsCryptPad
LicenseMPL 2.0AGPL v3 (Community Edition)AGPL v3
Native formatODF (OpenDocument)OOXML (.docx, .xlsx, .pptx)Encrypted JSON
Microsoft Office compatibilityVery GoodExcellentLimited (import/export)
Real-time co-editingYesYesYes
Chat/commentsYesYesNo
Version historyYesYesYes (revision tree)
Spreadsheet formulasFull LibreOffice CalcExtensive (MS Excel compatible)Basic
Presentation featuresFull LibreOffice ImpressStrong (near MS PowerPoint)Basic
End-to-end encryptionNoNoYes (zero-knowledge)
Mobile editingYes (via web)Yes (via web)Yes (responsive web)
Plugin/extensionsYes (limited ecosystem)Yes (plugin marketplace)No
Max concurrent editors~50+ per document~20+ per document~10+ per document
SSO / LDAPYesYesLimited (built-in user mgmt)
Nextcloud integrationExcellentExcellentAvailable via external app

Collabora Online: Strengths and Weaknesses

Strengths:

  • Best-in-class document rendering fidelity — powered by the same engine as LibreOffice, which has 25+ years of development
  • Excellent ODF support, making it ideal for organizations that value open standards
  • Mature enterprise support options from Collabora Productivity
  • Scales well for large organizations with hundreds of concurrent users
  • Supports complex documents with macros, embedded objects, and advanced formatting

Weaknesses:

  • The UI is less polished than OnlyOffice — it looks more like LibreOffice Online than a modern SaaS product
  • Requires a host platform (Nextcloud, ownCloud, etc.) for file management — it’s not a standalone office suite
  • Plugin ecosystem is small compared to OnlyOffice
  • Microsoft Office compatibility is good but not perfect for complex .xlsx files with advanced macros

OnlyOffice: Strengths and Weaknesses

Strengths:

  • Best Microsoft Office compatibility — uses OOXML natively, so .docx, .xlsx, and .pptx files render with minimal differences
  • Familiar ribbon UI reduces the learning curve for Office refugees
  • Comprehensive standalone suite — includes document management, mail, CRM, and project management in the full Workspace edition
  • Active plugin marketplace with community extensions
  • Clean, modern interface that rivals Google Docs in visual polish

Weaknesses:

  • AGPL licensing means any modifications must be open-sourced, which can complicate commercial use
  • ODF support exists but isn’t as mature as Collabora Online’s
  • Some advanced features (macros, complex chart types) are not fully compatible with LibreOffice
  • Resource-heavy — the full Workspace edition requires significant server resources

CryptPad: Strengths and Weaknesses

Strengths:

  • The only truly private option — zero-knowledge encryption means even the server admin can’t read your documents
  • No account required for basic use — share a link and anyone can collaborate
  • Lightweight and fast — no heavy server-side document rendering
  • Includes tools beyond documents: kanban boards, whiteboards, polls, and code editors
  • Ideal for whistleblowers, journalists, activists, and privacy-conscious teams

Weaknesses:

  • No way to recover lost encryption keys — if you lose your credentials, your data is gone forever
  • Limited advanced formatting — no complex tables, mail merge, or macro support
  • Spreadsheet capabilities are basic compared to both Collabora Online and OnlyOffice
  • No direct Microsoft Office compatibility — you get import/export but not seamless editing of .docx files
  • Smaller community and slower development pace

Deploying Collabora Online with Docker Compose

Collabora Online is typically deployed as a CODE (Collabora Online Development Edition) server behind a reverse proxy, integrated with a file management platform like Nextcloud.

Prerequisites

  • A domain name (e.g., office.example.com) with DNS pointing to your server
  • A Nextcloud instance (or any compatible host platform)
  • Docker and Docker Compose installed
  • Valid TLS certificates (Let’s Encrypt via Caddy or certbot)

Docker Compose Configuration

Create a docker-compose.yml for Collabora Online:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
services:
  collabora:
    image: collabora/code:latest
    container_name: collabora
    restart: unless-stopped
    ports:
      - "127.0.0.1:9980:9980"
    environment:
      - domain=nextcloud\\.example\\.com
      - username=admin
      - password=SecureAdminPassword123
      - extra_params=--o:ssl.enable=true --o:ssl.termination=true
    cap_add:
      - MKNOD
    networks:
      - collabora-net
    volumes:
      - collabora-config:/etc/coolwsd

networks:
  collabora-net:
    driver: bridge

volumes:
  collabora-config:

Reverse Proxy Setup (Caddy)

Caddy handles TLS automatically. Add this to your Caddyfile:

1
2
3
4
5
6
7
8
office.example.com {
    reverse_proxy localhost:9980

    # Required headers for Collabora
    header {
        X-Frame-Options "SAMEORIGIN"
    }
}

Integrating with Nextcloud

  1. In Nextcloud, go to AppsOffice & Text
  2. Install and enable the Collabora Online app
  3. Go to SettingsAdministrationCollabora Online
  4. Set the server URL to https://office.example.com
  5. Apply settings and open any document to verify

Advanced Configuration

For production deployments with multiple hosts, use the aliasgroup1 environment variable:

1
2
3
4
environment:
  - domain=nextcloud\\.example\\.com|seahub\\.example\\.com
  - dictionaries=en_US,de_DE,fr_FR,es_ES
  - extra_params=--o:ssl.enable=true --o:ssl.termination=true --o:net.frame_ancestors=nextcloud.example.com

You can also configure WOPI (Web Application Open Platform Interface) settings directly in the coolwsd.xml configuration:

1
2
3
4
5
6
<storage desc="Backend storage">
    <filesystem allow="true" />
    <wopi desc="Allow/deny WOPI storage">
        <host desc="Nextcloud server" allow="true">nextcloud\.example\.com</host>
    </wopi>
</storage>

Deploying OnlyOffice Docs with Docker Compose

OnlyOffice Docs can run standalone or as part of the full OnlyOffice Workspace (which includes mail, CRM, and project management). For most users, the standalone Docs server integrated with Nextcloud is the right choice.

Prerequisites

  • A domain name (e.g., docs.example.com)
  • Nextcloud or another compatible host platform
  • Docker and Docker Compose
  • At least 4 GB RAM (OnlyOffice is more resource-intensive than Collabora)

Docker Compose Configuration

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
services:
  onlyoffice:
    image: onlyoffice/documentserver:latest
    container_name: onlyoffice
    restart: unless-stopped
    ports:
      - "127.0.0.1:8080:80"
    environment:
      - JWT_ENABLED=true
      - JWT_SECRET=YourSecretJWTKey2026!
      - JWT_HEADER=AuthorizationJwt
    volumes:
      - onlyoffice-data:/var/www/onlyoffice/Data
      - onlyoffice-logs:/var/log/onlyoffice
      - onlyoffice-lib:/var/lib/onlyoffice
      - onlyoffice-rabbitmq:/var/lib/rabbitmq
      - onlyoffice-redis:/var/lib/redis
      - onlyoffice-postgres:/var/lib/postgresql
    networks:
      - onlyoffice-net

networks:
  onlyoffice-net:
    driver: bridge

volumes:
  onlyoffice-data:
  onlyoffice-logs:
  onlyoffice-lib:
  onlyoffice-rabbitmq:
  onlyoffice-redis:
  onlyoffice-postgres:

Reverse Proxy Setup (Nginx)

OnlyOffice requires specific headers for WebSocket support:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
server {
    listen 443 ssl http2;
    server_name docs.example.com;

    ssl_certificate /etc/letsencrypt/live/docs.example.com/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/docs.example.com/privkey.pem;

    # Security headers
    add_header X-Frame-Options SAMEORIGIN;
    add_header X-Content-Type-Options nosniff;
    add_header X-XSS-Protection "1; mode=block";

    location / {
        proxy_pass http://127.0.0.1:8080;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
    }
}

Integrating with Nextcloud

  1. Install the ONLYOFFICE connector app from the Nextcloud app store
  2. Go to SettingsAdministrationONLYOFFICE
  3. Enter the document server address: https://docs.example.com
  4. Enter the JWT secret (the one you set as JWT_SECRET in docker-compose)
  5. Save and test by opening a .docx file

Enabling Plugins

OnlyOffice supports community plugins. To enable them:

1
2
3
environment:
  - ONLYOFFICE_PLUGINS_ENABLED=true
  - ONLYOFFICE_PLUGINS_URL=https://onlyoffice.github.io/sdkjs-plugins/

Deploying CryptPad with Docker Compose

CryptPad is unique — it’s a complete, standalone office suite with built-in file management. No external platform required.

Prerequisites

  • A domain name (e.g., pad.example.com)
  • Docker and Docker Compose
  • At least 2 GB RAM

Docker Compose Configuration

CryptPad provides an official Docker image. Here’s a production-ready configuration:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
services:
  cryptpad:
    image: cryptpad/cryptpad:latest
    container_name: cryptpad
    restart: unless-stopped
    ports:
      - "127.0.0.1:3000:3000"
    volumes:
      - cryptpad-data:/cryptpad/data
      - cryptpad-config:/cryptpad/config
      - cryptpad-customize:/cryptpad/customize
    environment:
      - CRYPTPAD_ADMIN_EMAILS=admin@example.com
      - CRYPTPAD_HTTP_SAFE_HOSTS=pad.example.com
      - CRYPTPAD_BLOCK_UNRESTRICTED_LOGINS=false
    networks:
      - cryptpad-net

  cryptpad-blockstore:
    image: cryptpad/block-store:latest
    container_name: cryptpad-blockstore
    restart: unless-stopped
    volumes:
      - cryptpad-data:/cryptpad/data
    networks:
      - cryptpad-net

networks:
  cryptpad-net:
    driver: bridge

volumes:
  cryptpad-data:
  cryptpad-config:
  cryptpad-customize:

CryptPad Configuration

Create a config.js in your config volume:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
module.exports = {
    pad: {
        path: '/cryptpad/data',
    },
    httpSafeOrigin: "https://pad.example.com",
    adminEmail: "admin@example.com",
    // Optional: require registration to create pads
    // requireAccount: true,
    // Optional: set maximum storage per user
    // maxWorkers: 4,
    // Optional: enable email notifications
    // email: {
    //     type: 'nodemailer',
    //     host: 'smtp.example.com',
    //     port: 587,
    //     secure: false,
    //     auth: { user: 'cryptpad@example.com', pass: 'password' }
    // },
};

Reverse Proxy (Caddy)

1
2
3
pad.example.com {
    reverse_proxy localhost:3000
}

CryptPad’s architecture is simpler than Collabora or OnlyOffice because it doesn’t do server-side document rendering. Everything happens in the browser, which makes it lighter on server resources but limits the complexity of documents it can handle.

Making the Right Choice

The decision comes down to your priorities:

Choose Collabora Online if:

  • You need the highest fidelity rendering for complex documents
  • Your workflow is centered around ODF or you have many existing LibreOffice documents
  • You’re already running Nextcloud and want seamless integration
  • You have a large team and need to support many concurrent editors

Choose OnlyOffice if:

  • Microsoft Office compatibility is your top priority
  • Your team is transitioning from Office 365 and needs a familiar interface
  • You want a standalone office suite with built-in file management
  • You value a modern, polished UI and active plugin ecosystem

Choose CryptPad if:

  • Privacy is non-negotiable — you need zero-knowledge encryption
  • Your use case involves simple documents, basic spreadsheets, and collaborative notes
  • You want a lightweight, easy-to-deploy solution with no external dependencies
  • You’re a journalist, activist, or working in a high-surveillance environment

Performance and Resource Requirements

MetricCollabora OnlineOnlyOffice DocsCryptPad
Minimum RAM2 GB4 GB1 GB
Recommended RAM4 GB8 GB2 GB
CPU2 cores2 cores1 core
Storage5 GB + documents10 GB + documents2 GB + documents
Docker containers11 (or 5 for Workspace)2
Startup time~30 seconds~60 seconds~10 seconds

For a typical small team (5–20 users), any of these three will run comfortably on a $10–20/month VPS. Collabora Online and CryptPad are the most resource-efficient. OnlyOffice needs more RAM due to its comprehensive feature set and the bundled services (PostgreSQL, Redis, RabbitMQ).

Security Best Practices

Regardless of which office suite you choose, follow these security practices:

  1. Always use HTTPS. Never expose your office suite over plain HTTP. Use Caddy for automatic TLS or Let’s Encrypt with Nginx/Apache.

  2. Enable JWT authentication. Both Collabora Online and OnlyOffice support JWT tokens to prevent unauthorized access to the document server. Always enable this in production.

  3. Restrict allowed hosts. Configure the domain or host whitelist so only your Nextcloud (or other host platform) can connect to the office server.

  4. Keep images updated. Subscribe to security advisories for your chosen office suite and update Docker images promptly:

    1
    
    docker compose pull && docker compose up -d
    
  5. Backup your data. For Collabora Online and OnlyOffice, this means backing up your Nextcloud data directory and database. For CryptPad, backup the /cryptpad/data volume.

    1
    2
    3
    
    # CryptPad backup example
    docker exec cryptpad tar czf /tmp/cryptpad-backup.tar.gz /cryptpad/data
    docker cp cryptpad:/tmp/cryptpad-backup.tar.gz ./backup/
    
  6. Rate-limit connections. Use your reverse proxy to limit requests per IP and prevent abuse:

    1
    2
    
    limit_req_zone $binary_remote_addr zone=office:10m rate=10r/s;
    limit_req zone=office burst=20 nodelay;
    

The Bottom Line

In 2026, there’s no reason to keep your documents on someone else’s servers if you don’t want to. Collabora Online delivers enterprise-grade document editing with the best LibreOffice compatibility. OnlyOffice offers the smoothest transition from Microsoft Office with a polished, familiar interface. CryptPad provides unmatched privacy with zero-knowledge encryption.

All three can be deployed in under 30 minutes with Docker Compose. All three support real-time collaboration. All three give you full control over your data.

The best choice depends on your existing infrastructure, your team’s workflow, and your threat model. But whatever you choose, you’ll be taking a meaningful step toward data sovereignty — and that’s worth the effort.

Frequently Asked Questions (FAQ)

Which one should I choose in 2026?

The best choice depends on your specific requirements:

  • For beginners: Start with the simplest option that covers your core use case
  • For production: Choose the solution with the most active community and documentation
  • For teams: Look for collaboration features and user management
  • For privacy: Prefer fully open-source, self-hosted options with no telemetry

Refer to the comparison table above for detailed feature breakdowns.

Can I migrate between these tools?

Most tools support data import/export. Always:

  1. Backup your current data
  2. Test the migration on a staging environment
  3. Check official migration guides in the documentation

Are there free versions available?

All tools in this guide offer free, open-source editions. Some also provide paid plans with additional features, priority support, or managed hosting.

How do I get started?

  1. Review the comparison table to identify your requirements
  2. Visit the official documentation (links provided above)
  3. Start with a Docker Compose setup for easy testing
  4. Join the community forums for troubleshooting
Advertise here