Copyleft · share source with recipients
GPL v3 license explained in plain English
TL;DR
You can run it and change it privately. If you give others copies of the program or a modified version, provide the corresponding source under the GPL. You can charge money. Running it on a server that users only interact with over a network, with no copy transferred to them, doesn’t trigger that requirement; GPL-covered browser code the app sends them does.
Source: SPDX · GPL v3 license text ↗What can I do with it?
- Self-host it for yourself
- Yes.
- Use it for your business
- Yes. Commercial use is allowed.
- Change the code
- Yes.
- Keep your changes private
- Yes, if you don’t convey copies of the covered program to others.
- Share or sell copies
- Yes. Meet GPL source-sharing and notice requirements.
What do I need to do?
- When distributing covered code, preserve notices, include the GPL and mark your changes.
- Give recipients access to the corresponding source as the GPL requires; modified covered works stay under the GPL.
- Object code conveyed in, with or for a User Product, as part of a transaction that transfers possession and use of the product, also needs Installation Information (section 6).
“Copyleft” keeps covered redistributed software under the same license. Check the project’s exact version and exceptions.
A real-world example
You run a modified GPL app on your server, and visitors only interact with it over the network. That alone doesn’t require a source release. Giving customers copies of that modified app, or sending visitors GPL-covered browser code, is conveying, and the GPL’s conditions apply to those copies.
What is the GPL, and what does copyleft mean?
The GNU General Public License (GPL) is a free-software license with copyleft: if you give someone a copy of GPL code, or of a version you changed, they get the same freedoms and the source code.
Section 5(c) of the license says you “must license the entire work, as a whole, under this License to anyone who comes into possession of a copy.” That is the whole idea in one sentence.
Can you sell GPL software?
Yes. Section 4 says “You may charge any price or no price for each copy that you convey.” What you can’t do is withhold the source from the people you sell it to, or put extra restrictions on what they do with it.
Do you have to publish your changes?
Not if you don’t convey it. Section 2 says “You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force.” The source duties start when you convey copies to other people, and then they apply to the people who receive those copies. The GPL doesn’t require you to publish your changes to the general public.
Does the GPL apply when you run it as a web service?
Only for the parts that reach your visitors. Section 0 defines to “convey” as “any kind of propagation that enables other parties to make or receive copies”, and adds: “Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.” Server-side code that only answers requests stays with you, so running a modified GPL v3 program that way does not, on its own, oblige you to share your changes.
Browser code is different. A visitor’s browser downloads the JavaScript a page runs, so GPL-covered JavaScript your app sends is a copy transferred to them, and that is conveying. Sections 4 and 5 then apply to those files: keep the notices and give recipients a copy of the license. If you send them minified or compiled code (the license calls it object code), section 6 also requires the Corresponding Source, for example under 6(d) by offering “equivalent access to the Corresponding Source in the same way through the same place at no further charge.”
This is the difference between GPL v3 and AGPL v3. The AGPL adds a duty to offer source to people who use your modified version over a network. If you plan to host something for other people, check which of the two the project uses. See the AGPL v3 guide.
GPL v3 compared with GPL v2
GPL v3 is a longer text that adds several things GPL v2 doesn’t have. Section 11 says “Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor’s essential patent claims”. Section 13 gives “permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work.”
Section 6 adds Installation Information: the methods, keys or other information needed to install and run modified versions of the code on a device. It applies when you convey object code “in, or with, or specifically for use in, a User Product” (a consumer product, or anything designed or sold for incorporation into a dwelling), and the conveying “occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term”. Handing over the software alone, with no such transfer of the product, doesn’t trigger it. It also “does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM).”
Section 8 sets out how your rights come back after a violation ends them. GPL v2 has no such route: its section 4 says any attempt to copy, modify, sublicense or distribute outside the license “will automatically terminate your rights”. Under GPL v3, once you stop all violation, your license from a particular copyright holder is reinstated provisionally, “unless and until the copyright holder explicitly and finally terminates your license”, and permanently “if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation.” It is also reinstated permanently if that holder notifies you, “this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice.”
Projects mark their version in the license identifier: GPL-3.0-only means version 3 only; GPL-3.0-or-later means you may also choose a later version. Read the repository’s own LICENSE file and headers.
Can you mix GPL code with MIT, ISC or other licenses?
Permissive code (MIT, ISC) can be included in a GPL v3 project, because those licenses allow it. The combined work is then distributed under the GPL, per section 5(c). The reverse doesn’t work: you can’t take GPL code into a project and keep distributing it under MIT. Whether two licenses fit together depends on both texts, so check the pair before you ship. See the MIT, Apache 2.0 and ISC guides for what each asks of you.
Read the MIT, Apache 2.0 and ISC guides.
What it means for a project you host on Cloudflare
A modified GPL v3 Worker that runs on your Cloudflare account and only answers requests is “mere interaction with a user through a computer network”, as long as no copy of covered code goes to the people using it. Giving your Worker’s code to a client, shipping it inside a product you sell, or serving GPL-covered JavaScript to visitors from a Pages app is conveying, and the GPL’s conditions apply to those copies. The license says nothing about your hosting bill: Cloudflare usage, domains and email are costed separately.
Catalog projects under GPL v3
These listings in the Cloudsteading catalog declare a GPL v3 license in their repository. Each page shows the project’s own license file and hosting notes.
Questions people ask about the GPL
What is the GPL license?
A copyleft free-software license. You can run, study, change and share the code, and anyone you give copies to gets the same rights and the source code.
Can I sell software under GPL v3?
Yes. Section 4 allows charging any price or no price for copies you convey, as long as recipients get the source and the same GPL rights.
Do I have to open-source my changes?
Only for copies you convey to other people, and then the source goes to the people who receive them. Section 2 lets you make and run covered works you don’t convey “without conditions so long as your license otherwise remains in force.”
Does GPL v3 apply over a network?
Section 0 says “Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.” Server-side code that only answers requests is not conveyed. GPL-covered code your site sends to visitors, such as browser JavaScript, is a copy transferred to them, so the GPL’s conditions apply to it. AGPL v3 is the license that adds a duty for modified versions used over a network.
What is the difference between GPL v2 and GPL v3?
GPL v3 adds an explicit patent license from each contributor (section 11), Installation Information for object code conveyed with a User Product when possession and use of the product passes to the recipient (section 6), ways to have terminated rights reinstated once you stop violating the license (section 8), and permission to combine with AGPL v3 code (section 13).
Is GPL v3 the same as AGPL?
No. They share copyleft, but the AGPL also requires offering source to users of a modified version over a network. GPL v3 does not.
Does the GPL cover my data?
Section 2 says “The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work.” Content you create or store with a GPL program is not covered just because the program handled it. Check the project’s own terms for anything bundled.
License facts checked against the license text on 2026-11-11. This is a general explanation, not legal advice.
The code license and the hosting bill are separate.
A license tells you what you can do with the code. It doesn’t make Cloudflare, domains, email delivery or other services free. Check the project’s hosting notes as well.
This is a general explanation. The repository’s exact license, version, exceptions and package-specific terms govern. Other packages, dependencies and images can have different licenses.
Read the complete license terms ↗Compare the other licenses
Want to see these licenses on real projects? Browse open source alternatives to the SaaS you pay for, or learn what self-hosting involves.