01What is License Generator?
Every public repository needs a LICENSE file, and copying one from a random blog post is how you end up with a trimmed or edited text that scanners fail to recognise. This tool gives you the full wording of eight common licenses: MIT, Apache 2.0, GNU GPL v3, BSD 2-Clause, BSD 3-Clause, ISC, the Unlicense and Mozilla Public License 2.0. The texts are stored verbatim from choosealicense.com, the project GitHub uses for its own license picker. Those texts match the SPDX License List, so GitHub's license detection and SPDX-based scanners should identify the file correctly. Pick a license and you get a one-line summary plus three columns: Permissions, Limitations and Conditions. They follow the same labels choosealicense.com uses. MIT shows commercial use, modification, distribution and private use, with liability and warranty as limits and a license notice as the only condition. GPL v3 adds patent use and lists disclose source, same license and state changes as conditions. MPL 2.0 narrows "same license" to the file level. Only four texts carry a copyright line: MIT, BSD 2-Clause, BSD 3-Clause and ISC. For those, the Copyright Holder and Year fields are swapped into the template. Type Jane Doe and 2026 with MIT selected, and the second line reads "Copyright (c) 2026 Jane Doe". BSD writes it with a comma after the year, exactly as the original does. Apache 2.0, GPL v3 and MPL 2.0 are shipped word for word with no copyright line, because that is how their authors intend them to be used. Your notice goes at the top of each source file instead, using the boilerplate printed at the end of each text: Apache's appendix, the GPL's How to Apply These Terms section and MPL's Exhibit A. The tool hides the name and year fields for these and tells you so. The Unlicense dedicates the work to the public domain, so it has no holder at all. For GPL v3 the output panel is labelled COPYING (or LICENSE), following the GNU convention. The text is assembled in the page from strings bundled with the tool. Your name and year never leave the tab. A few honest limits: the year field accepts any text, so check it before copying. The holder defaults to "Your Name", which will end up in the file if you forget to change it. And none of this is legal advice. If the license choice affects a business or a contract, talk to someone qualified.
Open source maintainers and package authors who need an exact, detector-friendly LICENSE file with their own name and year filled in. The tool runs entirely in your browser, so your data never leaves your device.
02How to use License Generator
- Click a license under License to select it.
- Read the summary and the Permissions, Limitations and Conditions columns.
- For MIT, BSD or ISC, fill in Copyright Holder and Year. The other licenses are used unchanged, so no fields appear.
- Click Copy License to copy the full text from the output panel and save it as LICENSE (or COPYING for GPL) in your repository root.
- For Apache, GPL or MPL, also copy the per-file notice from the end of the text into your source file headers.
03Worked examples
- Input:
License: MIT License; Copyright Holder: Jane Doe; Year: 2026 - Result:
MIT License Copyright (c) 2026 Jane Doe … OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - MIT is one of the four texts (with BSD 2-Clause, BSD 3-Clause and ISC) that carry a copyright line, so the holder and year fields fill it in.
- Input:
License: ISC License; Copyright Holder: Acme Labs; Year: 2025 - Result:
ISC License Copyright (c) 2025 Acme Labs … OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - The ISC text is the verbatim choosealicense.com version with only the year and holder substituted.
- Input:
License: BSD 3-Clause; Copyright Holder: Jane Doe; Year: 2026 - Result:
BSD 3-Clause License Copyright (c) 2026, Jane Doe … 3. Neither the name of the copyright holder nor the names of its … OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - BSD 3-Clause differs from 2-Clause by clause 3, which forbids using the holder's name to endorse derived products.
- Input:
License: Apache License 2.0 (holder Jane Doe, year 2026) - Result:
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ … See the License for the specific language governing permissions and limitations under the License. - Apache 2.0 has no copyright line to fill, so the name and year fields are hidden and the text is output unchanged; put your notice in files using its appendix boilerplate.
- Input:
License: BSD 2-Clause; Copyright Holder: Jane Doe; Year: 2026 - Result:
BSD 2-Clause License Copyright (c) 2026, Jane Doe … OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - Trimmed to the first and last lines. BSD puts a comma after the year, matching the original text.
- Input:
License: The Unlicense - Result:
This is free and unencumbered software released into the public domain. … For more information, please refer to <https://unlicense.org> - Trimmed. The Unlicense has no copyright line, so no holder or year is inserted.
04Common use cases
- Adding a LICENSE file to a new GitHub repository for an npm package or Python library
- Comparing the conditions of MIT, Apache 2.0 and GPL v3 side by side before open-sourcing a side project
- Copying the Apache 2.0 appendix boilerplate to put a notice at the top of each source file
- Replacing a hand-edited LICENSE file that GitHub's license detection does not recognise with the verbatim text
- Choosing between BSD 2-Clause and BSD 3-Clause when you want to stop forks from using your name to promote their builds
- Explaining copyleft versus permissive licensing to a team deciding how to publish internal code
05Tips
- The holder field starts as "Your Name". Change it before copying, or that placeholder ends up in your repository.
- Set the license field in package.json or pyproject.toml to the SPDX identifier, such as MIT or Apache-2.0, so registries show it.
- Apache 2.0 includes an explicit patent grant. That clause is a common reason teams pick it over MIT.
- The GNU project names the GPL file COPYING. LICENSE works too, and GitHub detects either name.
- A year range like 2023-2026 is fine in the Year field because it is plain text.
06Related concepts
Open source licensing, Copyleft, Permissive licenses, SPDX identifiers, Copyright notice.
Frequently Asked Questions
What is License Generator?
License Generator is a free, browser-based developer tool on AIDToolStack. Generate open source license files It requires no installation or sign-up and works entirely in your browser.
Is License Generator free to use?
Yes. No sign-up, no fees and no usage cap.
Does License Generator store my data?
No. It runs in your browser; nothing is uploaded.