selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

CryptPad logo

Self-host CryptPad

2026.10.0

Encrypted office suite for real-time collaboration

ReleaseOpen SourceAGPL-3.0
Docker ComposeCompose file & guide
docker compose up -d
Updated2 weeks ago
LanguageJavaScript
Setup difficultyAdvanced
ThemeDark mode
Stars
8 054
CPU
2 CPUs
RAM
2GB RAM
Storage
20GB storage (depending on planned usage)
Port
3000 (Built-in Node.js application server port (mapped 3000:3000 in the compose file))
Docker
cryptpad/cryptpad
The CryptDrive file manager with folders and encrypted documentsFirst-run setup step for creating the administrator accountSetup step for choosing which applications are enabledSetup step offering mandatory two-factor authentication and closing registration

What is CryptPad?

CryptPad is an open-source office suite that keeps user data private: every pad and uploaded file is encrypted client-side, so the server only ever stores ciphertext and even the administrator cannot read what people are writing. It is built around a real-time collaborative drive, with pads for text documents, spreadsheets, presentations, forms, kanban boards, Markdown and code notes, whiteboards and diagrams, plus shared links so people without an account can take part. Operators can brand the instance, close registration, force two-factor authentication, set per-user storage limits and monitor activity from a built-in administration panel. Self-hosting is documented as a Node.js install served through Nginx (git clone, npm ci, a config.js holding a main and a sandbox domain) or with official Docker images and a compose file; the OnlyOffice-based editors and an optional faster server-side crypto plugin are installed separately. A team at XWiki SAS maintains it under an AGPL licence, on roughly a three-month release cadence, funded by subscriptions on the flagship instance, paid support contracts and donations.

CryptPad alternatives

Should you self-host CryptPad?

CryptPad scores 71/100 on selfhost.directory (how scoring works) and ranks #2 of 6 in Office Suites. It has 8 054 GitHub stars, +65 in the last 30 days.

It shipped 7 stable releases in the past year. The latest, 2026.10.0, came out on 21 October 2026. New versions land roughly every 4 weeks.

Setup is advanced: plan for several services and some ongoing maintenance. An official Docker image is available. It is AGPL-3.0-licensed and written mostly in JavaScript.

Its closest alternative on selfhost.directory is ONLYOFFICE (72/100, 7 099 stars). It scores higher overall, so compare the two before you pick. See CryptPad vs ONLYOFFICE side by side.

Features

  • Administration Panel
  • Encrypted cloud drive
  • End-to-end encryption
  • Form Builder
  • Guest access via shared links
  • Instance diagnostics page
  • Invitation links / closed registration
  • Kanban Boards
  • Multi-language interface
  • Office document, spreadsheet and presentation editingOnlyOffice components are optional and installed separately
  • Per-user storage quotas
  • Real-time collaborative editing
  • Rich text and code/Markdown pads
  • Two-factor authentication
  • Whiteboard and diagramming

CryptPad README

CryptPad

CryptPad is a collaboration suite that is end-to-end encrypted and open-source. It is designed to facilitate collaboration by synchronizing changes to documents in real time. Since all the user data is encrypted, in the event of a breach, attackers have no way of accessing the stored content. Furthermore, if the administrators do not modify the code, they and the service also cannot access any information about the users' content.

Drive screenshot

How to install CryptPad

Install CryptPad with Docker Compose

Docker engine
Environment variables
CPAD_MAIN_DOMAIN, CPAD_SANDBOX_DOMAIN, CPAD_INSTALL_ONLYOFFICE

While we still prefer the recommended installation method, Docker is now officially supported. Pre-built images are published on Docker Hub, or:

docker build -t cryptpad/cryptpad:local-latest .

Modify docker-compose.yml with your own values: CPAD_MAIN_DOMAIN, CPAD_SANDBOX_DOMAIN, CPAD_INSTALL_ONLYOFFICE

mkdir -p data/{blob,block,data,files} customize onlyoffice-dist onlyoffice-conf
sudo chown -R 4001:4001 data customize onlyoffice-dist onlyoffice-conf
docker compose up -d
docker compose logs

Images are published as AMD64 and ARM64; config.js can be mounted as a volume to add administrators.

How to configure CryptPad

  • CPAD_MAIN_DOMAINMain domain on which users access the instance (Docker only)

    values: https URL

  • CPAD_SANDBOX_DOMAINSandbox domain served with restrictive Content-Security-Policy headers (Docker only)

    values: https URL

  • httpUnsafeOriginhttp://localhost:3000Main domain of the instance, set in config/config.js

    values: URL

  • httpSafeOriginSandbox domain of the instance, set in config/config.js

    values: URL

  • otpSessionExpiration7*24Session expiration for 2FA, in hours

    values: hours

CryptPad releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…