The most complete open-source Notion alternative you can host yourself is AFFiNE. It gives you docs, wiki pages and databases, plus a whiteboard, and self-hosting costs nothing for up to 10 seats. Notion Business runs about $20 a seat a month on yearly billing, so a 5-person team saves roughly $1,200 a year.

Our video: Someone open-sourced Notion and Miro (76k stars) (Nov 22, 2026)

What is AFFiNE?

AFFiNE is built by Toeverything, a company in Singapore. The repo has been public since 2022, and the team has pushed more than 11,000 commits. Its README calls it a privacy-focused, local-first, open-source alternative to Notion and Miro.

It covers what most teams use Notion for: pages, a wiki and databases. Each page also has a second mode, where the same doc sits on an infinite whiteboard. The local app doesn't need an account. Your data lives on your own disk and syncs when you want it to.

The README says the self-hosted Community Edition is free under the MIT licence. But the LICENSE file puts the server code under AFFiNE's Enterprise Edition licence, so read both files before you commit. On price, self-hosting is free up to 10 seats, while Notion charges per seat every month.

What Notion costs

Business: About $20 per seat a month, billed yearly, as shown on Notion's pricing page in our November 2026 video. Notion's Plus plan is cheaper but only includes a limited Notion AI trial. Business is the tier that includes AI credits for every seat, and Enterprise is custom-priced.

Source: Notion pricing page, checked November 2026 (our video). Prices change, so check before you buy.

What AFFiNE does

  • Page mode is a normal doc with headings and code blocks, so it works for notes, specs and a team wiki.
  • Edgeless mode puts that same doc on an infinite whiteboard with sticky notes, shapes, embedded web pages and slides.
  • Databases come with table, kanban and calendar views, and any row opens as its own doc.
  • Since v0.27, importers bring in your Notion, Obsidian, OneNote or Bear workspace directly, so you don't have to fight a Markdown export.
  • Local-first: every page is a Yjs CRDT document, so two people can edit offline and merge later without conflicts.
  • Desktop apps for every OS, plus iOS and Android, with real-time sync and collaboration.
  • An AI assistant turns outlines into slides or rough pages into mind maps, and you can bring your own API key.

How to get started with AFFiNE

For one person, the desktop app is enough and needs no account. To host it for a team you need a server with Docker. The Compose setup runs Postgres and Redis next to the AFFiNE server.

  1. Download the Docker Compose file from AFFiNE's latest GitHub release, following the self-host guide.

  2. Bring the stack up with Docker Compose. It starts Postgres, Redis and the AFFiNE server.

  3. Open port 3010 in your browser and create the admin account.

  4. Change settings in the config file. AFFiNE no longer reads them from environment variables.

  5. Use the Notion importer to move your workspace in.

Full instructions: AFFiNE docs, toeverything/AFFiNE on GitHub

Self-host it on Hostinger VPS Affiliate link: we may earn a commission if you buy, at no extra cost to you.

The catch

  • The licensing is messy. The README says the Community Edition is MIT, but the LICENSE file puts the server code under AFFiNE's Enterprise Edition licence.
  • Self-hosted workspaces stop at 10 seats. Past that, it's $10 a seat on their Team plan.
  • AI is an add-on at about $9 a month unless you bring your own API key. The BYOK option arrived as an experiment.
  • It's still pre-1.0. The latest stable release is v0.27.4 from August 2026, and stable releases come slowly while canary builds ship almost daily. You run and back up the server yourself.

Should you switch from Notion?

Switch if: Switch if you're a solo founder or a team of 10 or fewer who wants docs and databases without a per-seat bill. It fits especially well if you also pay for a whiteboard tool and keep copying notes between the two. Try moving one sprint's planning into AFFiNE and see if anyone asks for Notion back.

Stay if: Stay on Notion if you have more than 10 people, don't want to run a server, or depend on Notion's mature AI and Enterprise features. Stay too if your legal team needs a clean, single licence.

FAQ

Is there a free open-source alternative to Notion?

Yes. AFFiNE is open source and free to self-host for workspaces of up to 10 seats. It covers docs, a wiki and databases with table, kanban and calendar views, and adds a whiteboard mode on top. You can also use the desktop app locally without an account. Just read the licence first: the README says MIT, but the LICENSE file puts the server code under an Enterprise Edition licence.

Can I import my Notion workspace into AFFiNE?

Yes. Version 0.27, released in July 2026, added importers for Notion, Obsidian, OneNote and Bear. That means you can bring your workspace over directly instead of exporting to Markdown and cleaning it up by hand. It's still worth testing with one workspace first, since AFFiNE is pre-1.0 and stable releases come slowly.

How much does AFFiNE cost compared to Notion?

Self-hosted AFFiNE is free up to 10 seats per workspace, then $10 a seat on the Team plan. AFFiNE's own cloud has a free tier with 10 GB and 3 members per workspace, and Pro costs $6.75 a month. Notion Business is about $20 a seat a month on yearly billing, so 5 people pay roughly $1,200 a year.

Does AFFiNE have AI like Notion AI?

Yes. AFFiNE has an AI assistant that can write reports, turn an outline into slides and summarise an article into a mind map. It's a paid add-on at about $9 a month. Since v0.27 you can bring your own API key instead, though that started as an experiment. Version 0.27.4 added newer models like GPT-5.6 and Gemini 3.7.

Does AFFiNE work offline and on mobile?

Yes. AFFiNE is local-first, so your data sits on your own disk. Every page is a Yjs CRDT document, which lets two people edit offline and merge later without conflicts. There are desktop apps for every OS, plus iOS and Android apps, and it supports real-time sync and collaboration when you're online.

In the newsletter

Related open-source alternatives

Sources

Written Dec 2, 2026 from our video, the AFFiNE repo and Notion's pricing page. All open-source alternatives