Skip to content
SaaS Development4 September 2026 · 8 min readUpdated 30 September 2026

Should You Open-Source Your SaaS Codebase in 2026?

Open-sourcing your SaaS is easy to start and impossible to undo. A decision test, license comparison (MIT, AGPL, BSL, FSL), the Redis and Valkey fork data, and how open source companies make money.

Should You Open-Source Your SaaS Codebase in 2026?

Picture a scheduling SaaS with a few dozen paying customers, a funded competitor and a founder who has heard that open source is a distribution strategy. This is a hypothetical, but the decision is real, and it has one property that most roadmap items lack. You can reprice, rebrand, rewrite the backend and change vendors. You cannot un-publish source code that has already been cloned, and a fork doesn't need your permission to keep existing after you change your mind.

That asymmetry is the whole decision about open source SaaS, and the enthusiastic advice rarely mentions it. Your first action, before reading further: write down who signs your invoice, and whether that person has ever self-hosted anything.

Should you open-source your SaaS codebase?

Isometric glass-walled server pavilion with every rack inside plainly visible, standing on a solid opaque amber foundation block, one glass panel smeared with a handprint and dust

Open-source it only when distribution is your real bottleneck and your moat lives somewhere the code can't reach. Otherwise stay closed. This is my recommendation, and the test takes about ten minutes to run honestly.

Ask what a competitor would need, beyond your source, to beat you. If the honest answer is nothing, the repository is the last missing piece and you would be volunteering to hand it over. Network effects survive being copied, because a clone starts with no users on any side of the market. A dataset you spent two years building survives too. Plain application logic doesn't, and many early SaaS products are mostly application logic behind a marketing site.

Then ask whether anybody is failing to find you. Open source is a top-of-funnel channel. It works when developers are the buyers, when they will run your product locally before booking a call, and when the category is crowded enough that reading the code differentiates you. It does little when your buyer has never opened a terminal.

BookBed, the property management system I built solo on Flutter, Firebase and Stripe, stays closed for that reason. Its buyers are property owners, not developers. Some of its value sits in details the case study documents, such as timezone-correct iCal sync tested against real Adriagate imports, and that knowledge lives in bug fixes and workarounds rather than in a headline feature a reader could copy at a glance. How many of your customers have asked to read your source? If the number is zero, publishing is a bet on a different customer than the one paying you now. That bet is sometimes right, and it is never free.

Which license should an open-source SaaS pick?

Isometric pipeline junction where one trunk splits into four outlets, each fitted with a different valve mechanism, a single brass wheel turned fully open and an amber drip staining a dried ring on the floor below

Pick the license before you write the README: MIT or Apache 2.0 if you accept competitors reselling your work, AGPL if you want copyleft, and BSL or FSL if you want to block production competition and accept being source-available.

A default chosen from a dropdown decides whether a cloud provider can resell your work to your own customers, so treat the license as a product decision. Four options cover most real cases:

LicenseWhat a competitor may doBlocks competing resaleOSI-approved open source
MIT / Apache 2.0Anything, including closing their fork and selling itNoYes
AGPL v3Compete, but must offer source to users of modified network servicesOnly through the copyleft obligationYes
BSL 1.1Everything except production use the licensor restricts, until the change dateYes, during the termNo
FSLEverything except competing use; converts automatically laterYes, for two yearsNo

The Functional Source License states its own terms plainly. Each released version converts to Apache 2.0 or MIT after two years, and until then, in its words, "you can do anything with FSL software except undermine its producer": run it, study it, modify it and distribute your changes. Its FAQ is explicit that FSL is not OSI-approved open source. Say the true thing on your landing page. Calling it source-available may cost you a few GitHub stars, while calling a non-compete license open source costs you credibility with the audience you published for. MariaDB's BSL FAQ describes the older BSL 1.1 the same way: a change date no more than four years out, after which it converts to a GPL-compatible license.

AGPL is genuine open source, and Cal.com explains that it is AGPL licensed and that you won't capture revenue from people who self-host on their own. The catch sits on the buyer side. Google's AGPL policy says AGPL code "MUST NOT be used at Google", and it is reasonable to infer that other companies with similar policies will filter AGPL products out of procurement. Check your target buyers' policies before you assume the license only scares competitors.

If you haven't settled how the product gets built, do that first, because the no-code versus pro-code trade-off decides whether there is a portable codebase worth publishing.

Can you change the license later?

Isometric pipeline fork where the original branch runs dark and empty while the forked branch flows bright amber, joined by a spur whose rusted reversing valve is seized shut and bleeding rust down the pipe

You can, but it doesn't return you to where you started. Redis is the best public case: in March 2024 it moved to SSPL, and by its own account AWS and Google now maintain their own fork.

In May 2025 Redis announced AGPLv3 as an additional license option starting with Redis 8, and its CEO wrote that the SSPL change had "hurt our relationship with the Redis community". The fork stayed a fork. Percona's Martin Visser quantified the aftermath in December 2025: 9 of 24 Redis contributors (37.5%) stopped contributing, Valkey grew from 18 to 49 contributors over eighteen months, and in 2025 Valkey created 865 pull requests to Redis's 537.

Read that as a price list rather than a morality tale, and note that these numbers are correlational: they don't prove the license change alone caused every departure. My conclusion is a recommendation. If you expect to end up at BSL or FSL by year three, start there in year one, because the migration is the expensive part and you only get to run it once.

How do open source SaaS companies make money?

Mostly by selling what the code can't give you: hosting, uptime, compliance paperwork and someone to call. The source works as marketing, and the operations are the product.

Managed hosting is the cleanest model. Plausible offers a free, self-hosted, AGPL-licensed Community Edition and a paid cloud service with hosting, updates and support. Cal.com describes hoping that open source traction puts you on the radar of larger companies that sign bigger deals. Open core is the second model: a free core with a commercial layer for things like SSO, audit logs and granular permissions. If you are weighing open core vs open source, the deciding question is which specific features a paying customer needs that a self-hoster doesn't.

Open source is a distribution channel for one buyer, the developer who evaluates by cloning. If that person isn't in your funnel, the channel stays closed whatever you publish.

When does open source clearly not fit?

Callidus OS is the counter-case I've shipped: a multi-tenant clinic SaaS on React, Firebase and Stripe Connect, built solo in roughly ten weeks from 14 February 2026, sold to independent UK aesthetic clinics. Deposits flow to each clinic's own Stripe account, and every tenant's isolation rules are part of the product. Publishing that source would, in my judgment, produce few if any self-hosters and hand outsiders a readable map of the tenant isolation rules to probe.

There is also a failure mode no license prevents, because it is legal. Steve Sewell of Builder.io wrote about Cursor: "They took VS Code (MIT licensed), added some AI features, and now charge $20/month for it." Nobody violated a license, and the value still landed with someone other than the people who built the base.

Has AI weakened copyleft licenses?

It has made enforcement harder to rely on, according to Sentry's argument. In March 2026 Sentry wrote that LLMs are trained on public source code without much effort to respect license terms, and pointed to AI agents rewriting existing libraries under different licenses, including Cloudflare's vinext reimplementing Next.js in a week. It also cites the US Copyright Office position that copyright protects only material with human creative input. Sentry sells a Fair Source license, so weigh its conclusion accordingly: a contract-based license such as FSL doesn't depend on that copyright question in the same way. None of that makes AGPL a mistake. It makes AGPL a bet on an enforcement mechanism that is still moving.

What should you actually do?

Run these in order and stop at the first no:

  1. Name who signs the invoice. If it's a clinic manager, practice owner or hotel operator, stay closed. Nothing downstream rescues the channel.
  2. State the moat that survives publication in one sentence. If it needs a conjunction to sound convincing, you don't have one yet.
  3. Choose the license before the first public commit. If you'd object to a funded competitor running your code as a paid service, you want FSL or BSL, described honestly as source-available.
  4. Budget support hours per week in advance. An unfunded issue tracker becomes a public record of you ignoring people.
  5. Publish the edges before the core. SDKs, CLI tools and integrations carry little of your defensibility and most of the developer goodwill. The stack I recommend for a SaaS MVP is boring on purpose for the same reason: keep reversible decisions cheap.

If you're undecided, step five is the whole experiment. Put your SDK and integrations on GitHub under MIT this month, leave the core closed, and watch for one inbound conversation that opens with "I found your GitHub." And if you have already decided to publish everything, answer this before you push: which specific person do you expect to clone the repository, and what do you want them to do in the ten minutes after it finishes cloning?

Free resource

Free SaaS MVP Scope Template

A Notion document with the full feature checklist, MVP vs. nice-to-have table, pre-build questions, and cost signals — so you walk into any developer call knowing exactly what to ask for.

Get the template →
DL

Dusko Licanin

Full-Stack Developer · Banja Luka, Bosnia

Full-stack developer shipping SaaS MVPs, web apps, and mobile apps using AI-augmented workflows — without agency coordination overhead. Live portfolio: BookBed, Callidus, Pizzeria Bestek.

Frequently Asked Questions

How do open source SaaS companies make money?

Managed hosting, open core and paid support are the three common models, and managed hosting is the cleanest of them. You give away a fully working product and charge for the instance you operate, so the pitch is about upgrades, backups, and an on-call rota rather than about features. Open core keeps the base free and puts single sign-on, audit logs, and granular permissions behind a commercial licence, which is often called the SSO tax. Support contracts work only once the deployment is large enough that downtime costs the customer more than your invoice. If none of those describe a buyer you already have, publishing the code will not create one.

Is the BSL a good licence for a SaaS product?

It is a good fit when your real fear is a funded competitor or a cloud provider reselling your work, and a poor fit when you need genuine community contribution. The Business Source License lets people run, read, and modify the code while blocking production competition until a change date, after which it converts to an open source licence. That protection is real. The cost is that the BSL is not OSI-approved, so describing it as open source will eventually be challenged in public. Pick it deliberately, say source-available on your own site, and choose the change date before launch rather than after the first fork appears.

Open core or fully closed source: which is better for a small SaaS?

Fully closed is the better default for a small SaaS, because open core only pays off once you have enough inbound developer traffic to convert. Open core costs you an ongoing split between the free tier and the commercial tier, plus the support burden of self-hosters who will never pay you. That trade is worth it when developers are your buyers and the free tier is your top-of-funnel. It is a pure loss when your buyer is a clinic manager, a hotel operator, or anyone else who evaluates software by watching a demo. A cheaper middle path is to open-source your SDKs and integrations while keeping the core closed.

What are good open source SaaS examples?

Cal.com, Plausible and Sentry are three instructive examples, and they do not all use the same licence. Cal.com is AGPL licensed and says on its own blog that you will not capture revenue from people who self-host, hoping open source traction leads to bigger deals instead. Sentry promotes its Functional Source License as fair source rather than open source. Plausible offers an AGPL community edition and sells a paid cloud service. The pattern across all of them is that the code is the acquisition channel and the operations are the product, which only works when the people who read code are also the people who sign the invoice.

Can I open-source part of my SaaS without giving away the product?

Yes, and it is usually the smarter first move: publish the SDKs, CLI, and integrations under a permissive licence while the core stays closed. Those pieces carry almost none of your defensibility and most of the goodwill, because they are what a developer touches first when they evaluate you. Publishing them costs you a weekend and gives a competitor nothing they could not have written themselves. It also runs the experiment cheaply. If nobody stars the SDK repository and no inbound conversation ever starts with a mention of your GitHub, you have learned that the channel is closed for your buyer before betting the whole codebase on it.