Générateur de Licence Open Source
Générez le texte officiel MIT, Apache-2.0, BSD-3-Clause, GPL-3.0 ou Unlicense avec votre nom et votre année.
Réponse rapide: Générateur de Licence Open Source : générez le texte officiel des licences MIT, Apache-2.0, BSD-3-Clause, GPL-3.0 ou Unlicense avec votre nom et l’année. Fonctionne entièrement dans votre navigateur, gratuitement et sans inscription.
Dernière mise à jour
Bon à savoir
Choosing a license is a legal decision, not a formality. The permissive family (MIT, BSD-3-Clause, Apache-2.0) lets anyone reuse your code in closed-source products, which maximizes adoption. Apache-2.0 adds an explicit patent grant and a NOTICE mechanism, making it the safer choice for anything with patent exposure or corporate contributors. GPL-3.0 is copyleft: derivative works must also be GPL, which protects the freedom of the code but deters some commercial use. The Unlicense effectively places the work in the public domain.
The generated text is the canonical OSI/SPDX wording with only the copyright line filled in — that verbatim wording is what tools like GitHub's license detector and SPDX scanners match against, so resist the temptation to reword it. If you edit the body, automated detection may report your project as "Other" and downstream compliance tools may flag it.
Put the result in a file named exactly LICENSE (or LICENSE.md) at the repository root so GitHub shows the license badge and populates the sidebar automatically. Some licenses expect a second step: Apache-2.0 wants a per-file header referencing the license, and GPL projects conventionally add a short notice to each source file. The year should be the year of first publication, optionally extended to a range as you keep releasing.
Once your license is set, round out the repo with a README and a .gitignore so contributors know how to build and what to leave uncommitted.
Questions fréquentes
- Le générateur de licence est-il gratuit ?
- Oui — gratuit, sans inscription.
- Ces textes de licence sont-ils officiels ?
- Oui — les textes MIT, Apache 2.0, BSD-3, GPL-3 et Unlicense sont tirés des sources officielles OSI / SPDX.
- Quelle licence devrais-je choisir ?
- MIT et Apache 2.0 sont les plus permissives et les plus largement utilisées. GPL-3 est copyleft. Unlicense est essentiellement un domaine public. Choisissez en fonction de la manière dont vous souhaitez que les utilisateurs puissent redistribuer votre travail.
- Mes détails sont-ils téléchargés ?
- Non — la génération se fait entièrement dans votre navigateur.
- Où devrais-je mettre le fichier LICENSE ?
- À la racine de votre dépôt. GitHub le détecte automatiquement et affiche le badge de licence sur la page de votre dépôt.