whatlicense.org

Your Perfect Match

Apache-2.0

You want a permissive license like MIT but with stronger legal protections. Apache 2.0 includes an explicit patent grant that protects your users from patent lawsuits by contributors. It's the go-to choice for enterprise-grade open source.

License Overview

1. License Overview

A quick summary of what you are legally allowing, requiring, and limiting.

Permissions

  • Commercial use
  • Modification
  • Distribution
  • Patent use
  • Private use

Commercial use:Companies can freely integrate your code into commercial products.

Modification:Developers can modify your source code for any purpose.

Distribution:Your code can be redistributed in source or binary form.

Patent use:Contributors automatically grant patent rights to users of the code.

Private use:Organizations can use your code internally without disclosure.

Conditions

  • License & copyright notice
  • State changes

License & copyright notice:A copy of the license and copyright must be included with distributions.

State changes:Modified files must carry a notice saying they were changed.

Limitations

  • Liability
  • Warranty
  • Trademark use

Liability:You are not liable for any damages caused by the software.

Warranty:The software is provided without any warranty of any kind.

Trademark use:The license does not grant permission to use the project's trademarks.

File Header Generator

2. File Header Customizer

Personalize your license headers before copying them to your files.

Project Details
Processed locally. Never saved.
/**
 * 
 * Licensed under the Apache License, Version 2.0.
 * You may not use this file except in compliance with the License.
 * See: https://www.apache.org/licenses/LICENSE-2.0
 */

Full License Text

3. Full License Text

Save this as a LICENSE file in your repository root.

Apache License Version 2.0, January 2004 http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

  1. Definitions.

"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity.

"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.

"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.

"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form.

"Work" shall mean the work of authorship made available under the License.

"Derivative Works" shall mean any work that is based on the Work.

"Contribution" shall mean any work of authorship submitted to the Licensor for inclusion in the Work.

"Contributor" shall mean Licensor and any Legal Entity on behalf of whom a Contribution has been received by the Licensor.

  1. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
  2. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work.
  3. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:

(a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works, all copyright, patent, trademark, and attribution notices; and (d) If the Work includes a "NOTICE" text file, You must include a readable copy of the attribution notices contained within such NOTICE file.

  1. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions.
  2. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor.
  3. Disclaimer of Warranty. The Work is provided on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND.
  4. Limitation of Liability. In no event shall any Contributor be liable to You for damages.
  5. Accepting Warranty or Additional Liability. You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations consistent with this License.

END OF TERMS AND CONDITIONS