{{short description|Permissive free software license}} {{Use American English|date=March 2021}} {{Use dmy dates|date=March 2021}} {{lowercase}} {{Infobox software license | image = 100px | name = zlib license | author = Jean-loup Gailly<!--Person prefers lowercase l (ell), see his article--> and Mark Adler | copyright = Jean-loup Gailly and Mark Adler | version = 1.2.11<ref>{{Cite web|url=http://zlib.net/zlib_license.html|title=Zlib License}}</ref> | date = 15 April 1995 | OSI approved = Yes | Debian approved = Yes | Free Software = Yes<ref name="fsf">{{cite web |url=https://www.gnu.org/licenses/license-list.html#ZLib |title=Various Licenses and Comments about Them |access-date=2007-06-17 |quote= License of ZLib [...] is a free software license, and compatible with the GPL.}}</ref> | GPL compatible = Yes<ref name="fsf"/> | copyleft = No | linking = Yes }}The '''zlib license''' is a permissive software license which defines the terms under which the zlib software library can be distributed. It is also used by many other open-source packages. The libpng library uses a similar license, '''libpng license''', sometimes referred interchangeably as ''zlib/libpng license''.

The zlib license has been approved by the Free Software Foundation (FSF) as a free software license, and by the Open Source Initiative (OSI) as an open source license. It is compatible with the GNU General Public License.

==Terms== The license only has the following points to be accounted for: * Software is used on 'as-is' basis. Authors are not liable for any damages arising from its use. * The distribution of a modified version of the software is subject to the following restrictions: *# The authorship of the original software must not be misrepresented, *# Altered source versions must not be misrepresented as being the original software, and *# The license notice must not be removed from source distributions.

The license does not require source code to be made available if distributing binary code.

==Text== The license terms are as follows:

{{pre| Copyright (c) <''year''> <''copyright holders''>

This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. }}

==See also== {{Portal|Free and open-source software}} * Comparison of free and open-source software licenses * Software using the zlib license (category)

==References== {{Reflist}}

==External links== {{commonscat|Zlib/libpng}} * [http://zlib.net/zlib_license.html License text on the zlib homepage]

{{FOSS}}

Category:Free and open-source software licenses Category:Permissive software licenses