Open Source License Picker
Compare popular open source licenses and choose the right one for your project. Filter by what you allow — commercial use, modifications, distribution, and more.
Filter by requirements
Frequently Asked Questions
What is the difference between MIT and Apache 2.0?▼
Both are permissive licenses that let anyone use, modify, and redistribute your code. The key difference: Apache 2.0 explicitly grants patent rights and requires documenting changes to the code. MIT is simpler and shorter. For most projects, MIT is fine. If you want patent protection for users, use Apache 2.0.
When should I use GPL vs MIT?▼
GPL is 'copyleft' — any project that uses GPL code must also be GPL (this is called the 'viral' effect). Use GPL when you want to ensure derivatives remain open source. MIT is permissive — anyone can incorporate it into commercial or closed-source products. Most companies avoid GPL dependencies for this reason.
What is the difference between GPL v2 and GPL v3?▼
GPL v3 adds protections against 'tivoization' (using GPL software in locked hardware that can't run modified versions), patent retaliation clauses, and compatibility with more licenses. Linux kernel uses GPLv2. If you're unsure, GPLv3 is generally considered more protective of user freedoms.
Can I use MIT-licensed code in a commercial product?▼
Yes. MIT allows use in commercial products, closed-source software, SaaS, and any distribution — as long as you include the MIT license text and copyright notice. This is why MIT is the most popular license on GitHub; it maximizes adoption including by companies.
What is the Unlicense / CC0 and when should I use them?▼
Unlicense and CC0 effectively place work in the public domain — no attribution required, no restrictions. Use them for simple utilities, code snippets, or reference implementations where you want zero friction for users. Note: some jurisdictions don't fully recognize public domain dedication; Unlicense includes a fallback permissive license.
What does 'must disclose source' mean in copyleft licenses?▼
If your project uses a GPL or AGPL library and you distribute the software (or run it as a service for AGPL), you must make the complete corresponding source code available to users. This doesn't apply to private internal use. Purely permissive licenses (MIT, Apache, BSD) never require this.
Related Products
on GumroadDeveloper Productivity Bundle
Stop rebuilding the same setup every project. 51 VSCode snippets, 40 Git aliases, 5 Docker Compose stacks, 5 GitHub Actions workflows, 5 README templates, and a dotfiles kit. Set up a professional dev environment in under an hour.
Buy on Gumroad →Developer Cheat Sheet Bundle
10 print-ready cheat sheets for the tools developers use every day: Git, Docker, Linux CLI, SQL, Regex, HTTP Status codes, VS Code shortcuts, Bash scripting, jq/JSON, and Markdown.
Buy on Gumroad →AI Prompt Engineering Toolkit
58 structured prompt templates for Claude, ChatGPT, and Gemini — organized by use case. Code Review, Debugging, Documentation, Architecture, and 10 model-specific tips. Stop writing prompts from scratch.
Buy on Gumroad →You Might Also Need
Git Stash Manager
Visual reference for git stash commands. Copy-ready stash push, pop, apply, drop, list, and branch commands with stash index control. Free git stash cheat sheet.
Open free tool →
Git Cheatsheet Interactive
Searchable, interactive Git cheatsheet with 50+ commands. Filter by category, copy commands instantly. Covers setup, staging, branching, remotes, history, undo, and tags. Free.
Open free tool →
Git Command Builder
Build complex Git commands visually step by step. Select from commit, push, pull, branch, merge, rebase, stash, and more. Generate accurate Git CLI commands with all common options. Free online tool.
Open free tool →
More Free Tools
Related Articles
Best AI Code Review Tools 2026: CodeRabbit, Sourcery, DeepCode & Bito Compared
Compare top AI code review tools for 2026: CodeRabbit, Sourcery, DeepCode, and Bito. Features, pricing, GitHub/GitLab integration, and choosing the right tool for your team.
Advanced Git Workflows in 2026: Worktrees, Bisect, Interactive Rebase, and More
Master advanced Git workflows that most developers never use. Git worktrees for parallel branches, git bisect for hunting bugs, interactive rebase for clean history, sparse checkout for monorepos, and power-user config tips.
Aider AI: The Ultimate Terminal-Based AI Coding Assistant for 2026
Complete guide to Aider AI coding assistant. Setup, best practices, model options, and how this terminal-based tool compares to GUI editors for serious developer workflows.
Conventional Commits and Commitlint: Complete Guide 2026
Master Conventional Commits and commitlint to automate changelogs, semantic versioning, and release workflows. Covers setup, configuration, CI/CD integration, and the full commitlint toolchain with real .commitlintrc examples.
PocketBase vs Appwrite vs Directus vs Payload: Open Source Backend 2026
A deep comparison of PocketBase, Appwrite, Directus, and Payload CMS as open-source backends in 2026 — authentication, database, file storage, APIs, self-hosting, scaling, and which backend to choose for your next project.
Enjoying this tool? Get more like it.
Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.
Unlock AI-Powered Dev Tools
- ⚡ AI Code Review, Doc Generator & SQL Builder
- ⚡ All premium templates & early access
- ⚡ Member discounts on Gumroad products
$9/mo after trial · Cancel anytime
Want the full toolkit?
Get DevPlaybook Pro
Every template, guide, boilerplate, and automation script in one bundle. 13 premium products — grab them all at once and save big.
MIT licensed · Instant download · No subscription
See what's included → Browse all deals →