Skip to main content

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.

✓ 10 licenses compared ✓ Filter by permissions ✓ Copy license text

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.

Share this tool: X / Twitter LinkedIn
✓ 60,000+ developers use DevPlaybook ★★★★★ 4.8 / 5 on Gumroad ✓ MIT licensed · Instant download ✓ No login required

Related Products

on Gumroad

You Might Also Need

More Free Tools

Related Articles

Apr 2, 2026 · 8 min read

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.

Mar 28, 2026 · 13 min read

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.

Mar 28, 2026 · 15 min read

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.

Mar 28, 2026 · 10 min read

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.

Mar 27, 2026 · 17 min read

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.

DevPlaybook Pro 7 days free

Unlock AI-Powered Dev Tools

  • ⚡ AI Code Review, Doc Generator & SQL Builder
  • ⚡ All premium templates & early access
  • ⚡ Member discounts on Gumroad products
Start Free Trial →

$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.

$79
$241 separately Save $162 (67% off)
Get DevPlaybook Pro — $79 →

MIT licensed · Instant download · No subscription

See what's included → Browse all deals →