You make money from open source by selling what the licence does not give away: ready-to-run builds, a hosted version, your time for support or custom work, and extras that sit next to the free core. Donations and sponsorships help, but for most solo developers they top up an income rather than replace one. The code stays free. What people pay for is convenience, time and certainty.
This guide is for one developer, or a small team, who wants their open-source work to pay at least its own costs. It covers the models that work at that size, what each payment platform takes, and how to price your work fairly. It is part of our series on social business. For company staff time, foundations and public grants, read how open source projects are funded.
Can you make money from open source software?
Yes, but not by charging for the code. An open-source licence lets anyone copy, change and share your work, so a price on the source code would be undercut by the first person who reposts it. Our guide to choosing an open source license explains what each licence allows.
What a licence cannot copy is your time, your build server, your reputation as the original author or the hosted copy you keep running. Every model below sells one of those.
Six ways to earn from open-source work
1. Sell ready-to-run builds
Most people will never compile software. They will pay a small amount for a build that installs and updates without trouble.
Ardour, the open-source digital audio workstation, is the best-known example. The source code is free under the GPL, and anyone may build it, change it and share it. The project asks people who download its ready-to-run builds to pay any amount from US$1, and says that anyone who gets Ardour from a friend, a Linux distribution or their own build has no reason to pay at all (KVR forum). Subscriptions of $1, $4, $10 or $50 a month include upgrades (Ardour forum). The download page itself offers both: a ready-to-run version or the source code (Ardour).
This model fits desktop apps best, because building them is hard for users and signing them costs money. Our guide to distributing open source software covers that signing cost.
2. Run it as a hosted service
If your tool is a server, many users would rather pay you to run it than run it themselves.
Plausible Analytics, a privacy-friendly web analytics tool, works this way. The self-hosted Community Edition is free and AGPL-licensed, and Plausible says its only source of funding is the managed cloud service (Plausible). In 2022 it passed $1 million in annual recurring revenue as a bootstrapped team of four (Plausible).
Hosting costs you servers and on-call time, so price it per use where you can. Then a small user pays a small bill.
3. Sell paid extras next to a free core
Keep the main tool open and sell add-ons: a theme pack, a professional template set, a plugin for a niche use. This is the open-core pattern, and it works when the free part is genuinely useful by itself. If the free version feels crippled, people notice and stop trusting the project.
4. Sell your time
Paid support, setup, training and custom features all sell the one thing nobody can fork. Companies that depend on your tool often have a budget for a support contract or an invoice for a feature, even when they have no budget for donations. Put a "commercial support" line in your README with an email address. Many maintainers never get asked because they never said it was possible.
5. Dual licensing
You offer the same code under a strong copyleft licence such as the GPL or AGPL, and sell a separate commercial licence to companies that cannot meet its terms. It only works if you hold the copyright to all of the code, which usually means asking contributors to sign an agreement. It also closes some doors. SignPath Foundation, for example, will not give free code signing to software with proprietary components (SignPath terms).
6. Sponsorships, tips and grants
These pay for work people already value, rather than for a product. They suit libraries and command-line tools, where there is nothing to package or host. Our microcredit guide covers sponsorships, microgrants, bounties and dependency funding in detail. The short version is that GitHub Sponsors takes nothing from personal sponsors, and up to 6% from organisations (GitHub Docs).
What each payment platform takes
Fees decide how much of a small sale reaches you, so compare them before you choose. These are the rates each platform publishes.
| Platform | Best for | Platform fee | Payment processing |
|---|---|---|---|
| GitHub Sponsors | Monthly sponsorship | 0% from personal accounts, up to 6% from organisations | Covered for personal sponsors, part of the 6% for organisations |
| Gumroad | Selling downloads | 10% + 50 cents per direct sale, 30% through its Discover marketplace | 2.9% + 30 cents on direct sales, included on Discover |
| Polar | Downloads, licence keys and subscriptions for developers | 5% + 50 cents on the free Starter plan | Not listed separately, 1.5% extra for cards outside the US |
| Ko-fi | Tips and a small shop | 0% on one-off tips, 5% on shop sales and memberships | Charged by the processor on top |
| Open Source Collective | Projects that want public accounts and a legal host | 10% of funds raised | Charged by the processor on top |
| Liberapay | Recurring donations | No cut | Charged by the processor |
Gumroad's processing figure comes from its help centre, which also says direct sales drop to 5% + 50 cents once your paid sales pass $20,000 in a calendar month (Gumroad). Polar adds that payout providers may charge their own fees, with no markup from Polar. Ko-fi offers a Gold plan at $12 a month that removes its 5% fee (Ko-fi).
A worked example: a $10 download
Here is what you keep from one $10 sale paid by a US card.
- Gumroad, direct link: 10% is $1.00, plus the 50-cent fee, plus card processing of 29 cents and 30 cents. That is $2.09 in fees, so you keep $7.91.
- Gumroad, found through Discover: 30% is $3.00, so you keep $7.00.
- Polar, Starter plan: 5% is 50 cents, plus the 50-cent fee, so the fee is $1.00. Polar's pricing page lists only the extra for non-US cards (15 cents here) and payout fees on top, so you keep about $9.00 before payout.
The flat 50 cents matters most on cheap items. On a $3 sale it is a sixth of the price before the percentage starts. If you sell small things, bundle them.
Why a merchant of record saves you work
Selling software across borders means sales tax in US states and VAT in the EU and UK, each with its own rules. A merchant of record is a company that makes the sale in its own name, so it collects and pays that tax for you. Gumroad has been the merchant of record for its sellers since 1 January 2025 (Gumroad). Polar works the same way, and says it handles international tax compliance, fraud and disputes (Polar).
Plain payment processors such as Stripe or PayPal leave the tax to you. For one person with buyers in many countries, a merchant of record is usually worth the higher fee.
How to price open-source work fairly
People who choose open source often feel uneasy charging at all. A few rules make it easier.
- Keep the source free for everyone. Charge for the build, the hosting or the time, never for the right to read the code.
- Charge the people who get the most out of it. A company running your tool in production can pay more than a student. A separate student price or a free tier for personal use says that plainly.
- Use a low minimum, not a wall. Ardour's $1 minimum turns a download into a habit of paying without shutting anyone out.
- Bill by use for hosted services. A user who runs one job should not pay the same as one who runs a thousand.
- Publish what the money pays for. Signing fees, servers and your hours are easy to explain, and buyers who see them rarely argue.
Running it as a social business
Muhammad Yunus described a social business as "a non-loss, non-dividend company dedicated entirely to achieve a social goal" (Forbes). Investors can take back what they put in, but nothing more, and any surplus goes back into the work. Our pillar guide covers the full idea.
For a solo developer, the same rules turn into a short plan:
- Add up what the project costs you each year: signing, hosting, hardware, and a fair hourly rate for your own time.
- Set prices to cover that, not to grow profit without limit.
- Put any surplus back into the project, through better builds, more platforms or paying contributors.
- Keep the free version as useful as you can, because reaching people is the point.
Most open-source businesses are not social businesses in the strict sense, and they do not need to be. But "cover the cost, keep it open, reinvest the rest" is a fair test for any pricing decision you make.
How Mr Pirate pays for his own tools
Mr Pirate's tools use several of these models at once, and his open-source code is all on GitHub.
- Paid extras on a free core. GlassVGL, a frosted-glass theme for LVGL, sells its packs on Gumroad from $3.99 to $19.99. LightEDA has a Student price next to its Standard one.
- Billing by use. TigerOCR, a PDF-to-Markdown service, is billed by the GPU second, so each user pays only for the jobs they run.
- Free and open. mr-usage and LLM Dogfight are MIT-licensed and free. The support page lists ways to help, including referral links for services he uses.
See Mr Pirate's tools for what each one does and how it is licensed.
Mistakes that cost maintainers money
- Waiting to be asked. Without a "Sponsor" button, a price or a support email, most users assume you do not want money.
- Leaving money on a platform. Bountysource stopped paying out in 2023, and some maintainers lost bounties they had earned. The microcredit guide tells that story. Withdraw your balance often.
- Changing the licence in a hurry. A switch away from open source can split your community, as our licence guide shows. Pick a licence with your money plan in mind from the start.
- Ignoring tax. Selling digital goods to other countries creates tax duties. Use a merchant of record until you can afford an accountant.
Frequently asked questions
Can you sell open source software?
Yes. Open-source licences allow selling copies, builds and services. What you cannot do is stop buyers from sharing the code, so sell convenience and time rather than the code.
What is the best platform to sell open-source software?
For desktop downloads, Gumroad and Polar both act as merchant of record and deliver files. Polar's free plan takes 5% plus 50 cents, and Gumroad takes 10% plus 50 cents plus card processing on direct sales. GitHub Sponsors costs nothing for personal sponsorships, but it is for support, not sales.
Do I need a company to make money from open source?
No. GitHub Sponsors has a setup for personal accounts, and Gumroad and Ko-fi are built for individual creators. You still owe income tax where you live, and a merchant of record only handles sales tax and VAT.
How do open-source developers make a living?
Most combine sources: a job that pays for some open-source time, sponsorship, and paid builds, hosting or support. Few live on donations alone.
Is it ethical to charge for open-source software?
Charging for builds, hosting and time is how many long-running projects survive, and it does not take any freedom away from users. Keep the source available and the free version useful, and the price only buys convenience.
Sources
- Ardour pricing explained, KVR Audio forum
- Ardour forum, Subscriptions to Ardour
- Ardour, Download
- Plausible, Self-hosted web analytics
- Plausible, How we built a $1M ARR open source SaaS
- SignPath Foundation, Conditions for open-source projects
- GitHub Docs, About GitHub Sponsors
- GitHub Docs, GitHub Sponsors billing
- Gumroad, Pricing
- Gumroad Help Center, Gumroad's fees
- Polar, Pricing
- Ko-fi, Does Ko-fi take a fee?
- Ko-fi, What is Ko-fi Gold?
- Open Source Collective, Apply
- Wikipedia, Liberapay
- Muhammad Yunus, Forbes, 2010