Public-domain software is software that has been placed in the public domain, in other words, software for which there is absolutely no ownership such as copyright, trademark, or patent. Software in the public domain can be modified, distributed, or sold even without any attribution by anyone; this is unlike the common case of software under exclusive copyright, where licenses grant limited usage rights. As result, public-domain software has all the four freedoms of free software but is not hampered by the complexities of attribution (restriction of permissive licensed software) or license compatibility (issue with copyleft licensed software).

Under the Berne Convention, which most countries have signed, an author automatically obtains the exclusive copyright to anything they have written, and local law may similarly grant copyright, patent, or trademark rights by default. The Convention also covers programs, and they are therefore automatically subject to copyright. Thus, to release a work into the public domain, the author must take explicit action to give up these exclusive rights; procedures and limitations on this process vary by jurisdiction.

History

Early academic public-domain software ecosystem From the software culture of the 1950s to 1990s, public-domain (or PD) software were popular as original academic phenomena. This kind of freely distributed and shared "free software" combined the present-day classes of freeware, shareware, and free and open-source software, and was created in academia, by hobbyists, and hackers. As software was often written in an interpreted language such as BASIC, the source code was needed and therefore distributed to run the software. PD software was also shared and distributed as printed source code (type-in programs) in computer magazines (like Creative Computing, SoftSide, Compute!, Byte, etc.) and books, like the bestseller BASIC Computer Games. Earlier on, closed-source software was uncommon until the mid-1970s to 1980s.Object code only: is IBM playing fair? IBM's OCO policy protects its own assets but may threaten customers investment on Computerworld - 8 Febr. 1988Firm sidestep IBM policy by banning software changes on Computerworld (18 March 1985)

Before 1974, when the US Commission on New Technological Uses of Copyrighted Works (CONTU) decided that "computer programs, to the extent that they embody an author's original creation, are proper subject matter of copyright",Apple Computer, Inc. v. Franklin Computer Corporation Puts the Byte Back into Copyright Protection for Computer Programs in Golden Gate University Law Review Volume 14, Issue 2, Article 3 by Jan L. Nussbaum (January 1984)Lemley, Menell, Merges and Samuelson. Software and Internet Law, p. 34. software was not copyrightable and therefore always in the public domain. This legislation, plus court decisions such as Apple v. Franklin in 1983 for object code, clarified that the Copyright Act gave computer programs the copyright status of literary works.

In the 1980s, a common way to share public-domain software was by receiving them through a local user group or a company like PC-SIG of Sunnyvale, California, which maintained a mail-order catalog of more than 300 disks with an average price of US$6. Public-domain software with source code was also shared on BBS networks. Public-domain software was commercialized sometimes by a donationware model, asking the users for a financial donation to be sent by mail.April 1987: Ballerburg - Zwei Spieler, zwei Burgen und ein Berg dazwischen... on eckhardkruse.net: "Ich habe das Programm als Public Domain veröffentlicht (die Unterscheidung in Freeware, Shareware usw. gab es damals nicht), mit der Bitte um eine 20 DM Spende. Dafür gab es dann die erweitere Version und den Quellcode." (in German).

The public-domain "free sharing" and donationware commercialization models evolved in the following years to the (non-voluntary) shareware model,Article about Jim "Button" Knopf, from Dr. Dobb's Journal. and software free of charge, called freeware.the-history-of-shareware-psl on asp-software.org. Additionally, due to other changes in the computer industry, the sharing of source code became less common.

With the Berne Convention Implementation Act of 1988 (and the earlier Copyright Act of 1976), the legal basis for public-domain software changed drastically. Before the act, releasing software without a copyright notice was enough to dedicate it to the public domain. With the new act, software was by default copyright-protected and needed an explicit waiver statement or license from the author.

Reference implementations of algorithms, often cryptographic meant or applied for standardization are still often released into the public domain; examples include CERN httpdThe birth of the web Licensing the web on cern.ch (2014). in 1993 and Serpent cipher in 1999. The Openwall Project maintains a list of several algorithms and their source code in the public domain.Source code snippets and frameworks placed in the public domain on openwall.info.

Free and open-source software as successor As a response of the academic software ecosystem to the change in the copyright system in the late 1980s, permissive license texts were developed, like the BSD license and its derivatives. Permissive-licensed software, which is a kind of free and open-source software, shares most characteristics of earlier public-domain software but stands on the legal basis of copyright law.

In the 1980s Richard Stallman, who for long worked in an academic environment of "public-domain"-like software sharing, noticed the emergence of proprietary software and the decline of the public-domain software ecosystem. In an effort to preserve this ecosystem he created a software license, the GPL, which encodes the public-domain rights and enforces them irrevocably on software. Paradoxically, his copyleft approach relies on the enforceability of the copyright to be effective. Copyleft free software, therefore, shares many properties with public-domain software, but does not allow relicensing or sublicensing. Unlike real public-domain software or permissive-licensed software, Stallman's copyleft license tries to enforce the free shareability of software also for the future by not allowing license changes.

To refer to free software (which is under a free software license) or to software distributed and usable free of charge (freeware) as "public-domain" is therefore incorrect. While public domain gives up the author's exclusive rights (e.g. copyright), in free software the author's copyright is still retained and used, for instance, to enforce copyleft or to hand out permissive-licensed software. Licensed software is in general not in the public domain. Another distinct difference is that an executable program may be in the public domain even if its source code is not made available (making the program not feasibly modifiable), while free software always has the source code available.

Post-copyright public domain With the 2000s and the emergence of peer-to-peer sharing networks and sharing in web development, a new copyright-critical generation of developers made the "license-free" public-domain software model visible again, also criticizing the FOSS license ecosystem ("Post Open Source") as stabilizing part of the copyright system.The Surprising History of Copyright and The Promise of a Post-Copyright World by Karl Fogel (2006).Younger developers reject licensing, risk chance for reform on opensource.com by Luis Villa (on 12 Feb 2013).Pushing back against licensing and the permission culture Luis Villa (January 28, 2013).Post open source software, licensing and GitHub on opensource.com by Richard Fontana (on 13 Aug 2013). New non-FOSS licenses and waiver texts were developed, notably the Creative Commons "CC0" (2009) and the "Unlicense" (2010), and there was a noticeable rise in the popularity of permissive software licenses. Also, the growing problem of orphaned software and digital obsolescence of software raised awareness of the relevance of again passing software into the public domain for better preservation of the digital heritage, unrestricted by copyright and digital rights management.

Around 2004, there was debate on whether public-domain software could be considered part of the FOSS ecosystem, as argued by lawyer Lawrence Rosen in the essay "Why the public domain isn't a license", a position that faced opposition by Daniel J. Bernstein and others.Placing documents into the public domain by Daniel J. Bernstein on cr.yp.to: "Most rights can be voluntarily abandoned ('waived') by the owner of the rights. Legislators can go to extra effort to create rights that can't be abandoned, but usually they don't do this. In particular, you can voluntarily abandon your United States copyrights: 'It is well settled that rights gained under the Copyright Act may be abandoned. But abandonment of a right must be manifested by some overt act indicating an intention to abandon that right. See Hampton v. Paramount Pictures Corp., 279 F.2d 100, 104 (9th Cir. 1960).' " (2004). In 2012, the status was finally resolved when Rosen changed his mind and accepted the CC0 as an open-source license, while admitting that, contrary to previous claims, copyright could be waived, as backed by a Ninth Circuit decision.

Passing of software into the public domain Software can fall into the public domain by multiple mechanisms.

Release without copyright notice Before the Berne Convention Implementation Act of 1988 (and the earlier Copyright Act of 1976, which went into effect in 1978) works could be easily given into the public domain by releasing them without an explicit copyright notice and no copyright registration. After 1988, all works were by default copyright-protected and needed to be actively given into the public domain by a waiver statement.publicdomain on cornell.eduCopyright Notice, U.S. Copyright Office Circular 3, 2008.

Ineligibility for copyright In some jurisdictions, certain software is ineligible for copyright protection and is thus automatically in the public domain. For example, under United States copyright law, works authored by employees of the federal government are in the public domain. Open Source: Technology and Policy by Fadi P. Deek, James A. M. McHugh "Public domain", page 227 (2008).

Expiration of copyright Copyrighted works, including software, are meant to pass into the public domain after their copyright term ends, losing their copyright privilege. As the Berne Convention grants decades-long copyright protection, in countries that signed it, copyright has not yet expired on any software. The question of how quickly works should pass into the public domain has been a matter of scientific and public debates, as well as for software like video games.

Explicit waiver of copyright In some jurisdictions, an author or other copyright holder can dedicate a work to the public domain by explicitly disclaiming copyright and other rights over the work in some way, e.g. by a waiver statement. Waiver of copyright is recognized in the United States.

In some jurisdictions, some rights (in particular moral rights) cannot be disclaimed: for instance, civil tradition-based German law's "Urheberrecht" differs from Anglo-Saxon common law tradition's "copyright" concept.

Public-domain-like licenses

While real public domain makes software licenses unnecessary, as no owner/author is required to grant permission ("Permission culture"), there are licenses that grant public-domain-like rights. There is no universally agreed-upon license, but there are multiple licenses that aim to release source code into the public domain.