License Generator

Pick an open source license and get its LICENSE file and source file header

Permissive

Anyone may reuse your code, even in closed software, as long as they keep your copyright notice.

Copyleft

Anyone may reuse your code, but must share the source of their changes, under the same license.

Public domain

Anyone may do anything with your code, without even crediting you.

A guide to pick one, not legal advice: only the license text is binding.

                    
Add a license header to each source file
File header