7 open-source Microsoft 365 alternatives you can self-host

Compare open-source alternatives to Microsoft 365 for files, documents, mail and calendar, with licenses, GitHub activity and what each one does well.

This guide contains advertising for blitz.cloud. Links to it are marked as ads.

Microsoft 365 bundles file storage, document editing, mail and calendar into one subscription. If you want the same kind of office suite without the monthly seat price, or you just want your files and mail on a server you control, several open-source projects cover most of what Microsoft 365 does.

None of them replace the whole bundle on its own. Most people pair a file and groupware server with a separate document editor, the same way Microsoft 365 itself is really several products under one name.

Files, calendar, contacts and mail: Nextcloud

Nextcloud is the closest single match to the file and collaboration half of Microsoft 365: file sync and sharing, calendar, contacts, and a mail app, all in one web interface with apps for phone and desktop. It does not include a document editor by itself; most installs add Collabora Online or OnlyOffice for that, both covered below.

Nextcloud is AGPL-3.0 licensed and has about 37,500 GitHub stars (November 2026), with releases shipping roughly every few weeks.

You can run it yourself with Docker, or use a managed host such as blitz.cloud Ad, where it installs in one click. The free plan there has no card required, but an app sleeps after 30 minutes without a visitor, which is fine for personal file storage but not for a mail server that needs to stay reachable around the clock.

Document, spreadsheet and presentation editing: ONLYOFFICE

ONLYOFFICE is a full office suite: documents, spreadsheets and presentations, with formatting that matches Microsoft's own formats closely. The Community edition has no limit on users or simultaneous connections, unlike the paid Enterprise edition, which is billed by monthly active users and adds things like editor rebranding and mobile web editors.

It ships as a Docker image and plugs into Nextcloud, ownCloud or a standalone setup. ONLYOFFICE Docs Community is AGPL-3.0 licensed, with about 7,100 GitHub stars (November 2026).

Document editing built on LibreOffice: Collabora Online (CODE)

Collabora Online Development Edition (CODE) is the free version of Collabora's LibreOffice-based online office. It is the same editor engine used in the paid product, packaged with Docker compose files for Nextcloud, OpenCloud, ownCloud, Seafile and a few others.

Collabora itself describes CODE as meant for testing, home use or small teams, and not recommended for production. The paid Collabora Online adds tested, supported releases and security fixes on a predictable schedule. For a personal or small-team setup that is updated by hand now and then, CODE is a reasonable choice; for something a business depends on every day, the paid tier buys peace of mind.

CODE's source lives on Collabora's own Gerrit instance rather than GitHub, so there is no GitHub star count to compare it by.

Real-time encrypted documents: CryptPad

CryptPad takes a different angle: documents, spreadsheets, kanban boards and forms that are end-to-end encrypted and sync in real time, with the server unable to read your content. It is a good fit if privacy matters more than Microsoft-format compatibility.

CryptPad is AGPL-3.0 licensed and has about 8,100 GitHub stars (November 2026), with a release roughly every month.

Full groupware: EGroupware

EGroupware covers calendar, contacts, a CRM, project management, a wiki and mail in one suite, closer to the groupware half of Microsoft 365 than to the document editors above. The Community edition is GPL-2.0, free and unlimited for self-hosting; EGroupware also sells an Enterprise line with a license key, manufacturer support and tested updates, and a hosted cloud service billed by concurrent users.

It has about 300 GitHub stars (November 2026), smaller than the other projects here, but a release ships roughly every month.

Mail and calendar server: Zimbra Collaboration

Zimbra Collaboration is a mail and calendar server with webmail, closer to the Exchange and Outlook side of Microsoft 365. Zimbra describes its core server as open source, while features like high-availability clustering, encryption and large-scale sync require a commercial license. Treat it as open-core rather than fully open source, and check which features your setup actually needs before committing to it.

Zimbra's repositories are spread across its GitHub organization rather than one canonical project, so there is no single star count to report here.

Which one to start with

  • Want Microsoft 365's file sync and sharing first: start with Nextcloud, then add an editor.
  • Want the closest match to Word, Excel and PowerPoint formatting: ONLYOFFICE.
  • Already run Nextcloud or a similar file server and just need an editor bolted on: Collabora Online (CODE).
  • Privacy is the priority over format compatibility: CryptPad.
  • Need calendar, CRM and project tools more than documents: EGroupware.
  • Need a full mail and calendar server: Zimbra Collaboration.

FAQ

Is there a single open-source replacement for all of Microsoft 365?

Not as one project. Nextcloud covers files, calendar, contacts and mail in one interface, but you pair it with a separate document editor like OnlyOffice or Collabora Online for Word- and Excel-style editing.

Is ONLYOFFICE's free Community edition actually free to use at scale?

Yes. ONLYOFFICE Docs Community has no documented limit on users or simultaneous connections. The paid Enterprise edition is billed by monthly active users and adds features like editor rebranding, not higher usage limits.

Is Zimbra still open source?

Zimbra's core mail server is open source, but features such as high-availability clustering, encryption and large-scale sync need a commercial license. It is closer to an open-core product than a plainly open-source one.